Class AcquireSnapshotExtension

java.lang.Object
uk.ac.gda.client.live.stream.view.customui.AcquireSnapshotExtension
All Implemented Interfaces:
LiveStreamViewCameraControlsExtension

public class AcquireSnapshotExtension extends Object implements LiveStreamViewCameraControlsExtension
An extension to trigger the acquisition of a single frame. This class is constructed with its own CameraControl instance because it is common for the parent controls to be using an instance which internally forces image mode on capture.
  • Constructor Details

    • AcquireSnapshotExtension

      public AcquireSnapshotExtension(CameraControl snapshotCameraControl)
  • Method Details

    • createUi

      public void createUi(org.eclipse.swt.widgets.Composite composite, CameraControl cameraControl)
      Description copied from interface: LiveStreamViewCameraControlsExtension
      Create the UI associated with this extension

      The parent composite will allocate one column to the UI. This class may, of course, subdivide this into multiple columns.

      Specified by:
      createUi in interface LiveStreamViewCameraControlsExtension
      Parameters:
      composite - The parent composite on which to create thus UI
      cameraControl - Object to control the camera