Class EnergyFocusEditor

java.lang.Object
uk.ac.diamond.daq.mapping.ui.experiment.focus.EnergyFocusEditor

public class EnergyFocusEditor extends Object
Allows the user to edit a a LinearFunction coupling beamline energy and focus position. It was written for I08 but may be applicable to other beamlines.

The function to be edited and the file in which it is to be serialised are passed in an EnergyFocusBean

  • Constructor Details

    • EnergyFocusEditor

      public EnergyFocusEditor(org.eclipse.swt.widgets.Composite parent, EnergyFocusBean energyFocusBean)
  • Method Details

    • refresh

      public void refresh()
      Update displayed values from the energy focus function

      This handles the case where the wizard page is redisplayed when function values have been updated externally (e.g. on the command line)