Class CustomCameraLiveControls
java.lang.Object
uk.ac.gda.client.live.stream.view.customui.AbstractLiveStreamViewCustomUi
uk.ac.gda.client.live.stream.controls.custom.widgets.CustomCameraLiveControls
- All Implemented Interfaces:
LiveStreamViewCustomUi
A
LiveStreamViewCustomUi that uses a list of LiveControl
objects, if given, to populate the 'Camera Control' Section. It also
takes an optional ICameraState instance to synchronise camera control
action start, stop, and frezee with the actual state of camera hardware. It
can be further extended with a list of other LiveStreamViewCustomUi
objects.- Since:
- 9.15
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateUi(org.eclipse.swt.widgets.Composite composite) Called when theLiveStreamViewis drawing this custom UI.voiddispose()Called when the composite is being disposed to allow listeners to be removed, resources disposed etc.voidsetCameraState(ICameraState cameraState) voidsetCustomUIs(List<LiveStreamViewCustomUi> customUIs) voidsetLiveControls(List<LiveControl> liveControls) Methods inherited from class uk.ac.gda.client.live.stream.view.customui.AbstractLiveStreamViewCustomUi
getActionBars, getImageTrace, getLiveStreamConnection, getPlottingSystem, setActionBars, setImageTrace, setLiveStreamConnection, setPlottingSystem
-
Constructor Details
-
CustomCameraLiveControls
public CustomCameraLiveControls()
-
-
Method Details
-
createUi
public void createUi(org.eclipse.swt.widgets.Composite composite) Description copied from interface:LiveStreamViewCustomUiCalled when theLiveStreamViewis drawing this custom UI. At this point theIPlottingSystemandLiveStreamConnectionwill be setup so then can be used in this method.- Parameters:
composite- The composite to draw custom UI onto.
-
dispose
public void dispose()Description copied from interface:LiveStreamViewCustomUiCalled when the composite is being disposed to allow listeners to be removed, resources disposed etc.- Specified by:
disposein interfaceLiveStreamViewCustomUi- Overrides:
disposein classAbstractLiveStreamViewCustomUi
-
setLiveControls
-
setCameraState
-
setCustomUIs
-