Class XanesScanParametersUIEditor

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.EditorPart
All Implemented Interfaces:
EventListener, org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.richbeans.api.event.ValueListener, org.eclipse.richbeans.api.widget.IFieldProvider, org.eclipse.ui.IEditorPart, org.eclipse.ui.IReusableEditor, org.eclipse.ui.ISaveablePart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.IWorkbenchPart3, org.eclipse.ui.part.IWorkbenchPartOrientation

public class XanesScanParametersUIEditor extends ElementEdgeEditor
An editor part designed to be a page in a multipage editor. This part can be entirely auto-generated and extends RichBeanEditorPart which provides the link between the editor and the bean. SWTBot test: uk.ac.gda.exafs.ui.XanesScanParametersUIEditorTest
  • Constructor Details

    • XanesScanParametersUIEditor

      public XanesScanParametersUIEditor(String path, RichBeanMultiPageEditorPart containingEditor, Object xanesScanParameters)
      Parameters:
      path -
      containingEditor -
      xanesScanParameters -
  • Method Details

    • createPartControl

      public void createPartControl(org.eclipse.swt.widgets.Composite parent)
      Create contents of the editor part
      Specified by:
      createPartControl in interface org.eclipse.ui.IWorkbenchPart
      Specified by:
      createPartControl in class org.eclipse.ui.part.WorkbenchPart
      Parameters:
      parent -
    • linkUI

      public void linkUI(boolean isPageChange)
      Description copied from class: RichBeanEditorPart
      Extending classes should normally override this method with bounds and choice information and then call this method with super.linkUI();
      Overrides:
      linkUI in class ElementEdgeEditor
    • getFinalEnergyFromElement

      protected double getFinalEnergyFromElement() throws Exception
      Throws:
      Exception
    • updateElement

      protected void updateElement(ElementEdgeEditor.ELEMENT_EVENT_TYPE type)
      Overrides:
      updateElement in class ElementEdgeEditor
    • getRichEditorTabText

      protected String getRichEditorTabText()
      Description copied from class: RichBeanEditorPart
      Return the name that the editor should be referred as in error messages and in the multi-editor view.
      Specified by:
      getRichEditorTabText in class RichBeanEditorPart
      Returns:
      string
    • getFinalEnergy

      public org.eclipse.richbeans.widgets.scalebox.ScaleBox getFinalEnergy()
    • setDirty

      public void setDirty(boolean dirty)