Package uk.ac.gda.components
Class HardwareUI
java.lang.Object
uk.ac.gda.components.HardwareUI
Where rich bean widget is linked to specific hardware this utility provides
method to set widget attributes from the hardware.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsetHardwareLimits(org.eclipse.richbeans.widgets.scalebox.NumberBox box, Object motor) Sets up the limits from the hardware objectstatic voidsetHardwareLimits(org.eclipse.richbeans.widgets.scalebox.NumberBox box, String motorName) Sets up the limits using the Finder
-
Constructor Details
-
HardwareUI
public HardwareUI()
-
-
Method Details
-
setHardwareLimits
public static void setHardwareLimits(org.eclipse.richbeans.widgets.scalebox.NumberBox box, String motorName) throws Exception Sets up the limits using the Finder- Parameters:
box-motorName-- Throws:
Exception
-
setHardwareLimits
public static void setHardwareLimits(org.eclipse.richbeans.widgets.scalebox.NumberBox box, Object motor) throws Exception Sets up the limits from the hardware object- Parameters:
box-motor-- Throws:
Exception
-