Class HardwareUI

java.lang.Object
uk.ac.gda.components.HardwareUI

public class HardwareUI extends Object
Where rich bean widget is linked to specific hardware this utility provides method to set widget attributes from the hardware.
  • 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