java.lang.Object
uk.ac.gda.beamline.i19.client.mx.imagemodes.stills.StillsTabMode
All Implemented Interfaces:
IImageMode

public class StillsTabMode extends Object implements IImageMode
Stills data collection mode for I19.
  • Constructor Details

    • StillsTabMode

      public StillsTabMode()
  • Method Details

    • getName

      public String getName()
    • getTabControl

      public org.eclipse.swt.widgets.Control getTabControl(org.eclipse.swt.widgets.Composite parent)
    • getTabImage

      public org.eclipse.swt.graphics.Image getTabImage()
    • getSelection

      public org.eclipse.jface.viewers.ISelection getSelection()
      Description copied from interface: IImageMode
      Returns the selection to be set when this mode is selected
      Specified by:
      getSelection in interface IImageMode
      Returns:
      ISelection object, or null if there is no active selection
    • supportsCustomSidePlot

      public boolean supportsCustomSidePlot()
      Description copied from interface: IImageMode
      Returns true if this mode provides a custom side plot e.g. ui overlay functionality such as a grid or line
      Specified by:
      supportsCustomSidePlot in interface IImageMode
      Returns:
      true if a custom side plot is available, else false
    • getSidePlot

      public SidePlot getSidePlot(ImageView imageView)
      Description copied from interface: IImageMode
      If supportsCustomSidePlot is true, then this method returns the custom side plot/overlay.
      Specified by:
      getSidePlot in interface IImageMode
      Parameters:
      imageView - ImageView
      Returns:
      SidePlot must not be null
    • dispose

      public void dispose()
    • supportsMoveOnClick

      public boolean supportsMoveOnClick()
      Description copied from interface: IImageMode
      Supports move on click functionality in the sample view

      Modes should return false if they wish to override mouse click behaviour with custom functionality

      Specified by:
      supportsMoveOnClick in interface IImageMode
      Returns:
      true if this mode supports move on click, else false
    • isMoveable

      public boolean isMoveable()
      Specified by:
      isMoveable in interface IImageMode
      Returns:
      boolean - returns true if the beamline is idle and so the Control page should be be allowed to perform operations
    • getSampleMoveableScannable

      public SampleMoveable getSampleMoveableScannable()
      Description copied from interface: IImageMode
      Returns the SampleMoveable which defines if the beamline is busy and so the Control page should not be operated.
      Specified by:
      getSampleMoveableScannable in interface IImageMode
      Returns:
      SampleMoveable
    • getStillsJythonCommand

      public String getStillsJythonCommand()
    • setStillsJythonCommand

      public void setStillsJythonCommand(String stillsJythonCommand)