Interface LiveStreamViewCustomUi
- All Known Implementing Classes:
AbstractLiveStreamViewCustomUi,CustomCameraLiveControls,EdeDetectorCustomUI,EpicsNDArrayStreamView,ExampleCustomUi,LiveStreamViewAxisCameraControls,LiveStreamViewCameraControls,LiveStreamViewCameraControlsScanListener,LiveStreamViewLightHistogramControl,LiveStreamViewRoiControls,LiveStreamViewStartStopStream,LiveStreamWithHistogramBottomUI,LiveStreamWithHistogramTopUI,SisaLiveStreamCustomUi
public interface LiveStreamViewCustomUi
This interface allows you to define a custom UI class for use with an LiveStreamView.
Instead of implementing this directly it is recommended to extend AbstractLiveStreamViewCustomUi
- Since:
- GDA 9.11
-
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.voidsetActionBars(org.eclipse.ui.IActionBars actionBars) Called byLiveStreamViewwhen creating the custom UI to inject theIActionBarsvoidsetImageTrace(IImageTrace iTrace) Called byLiveStreamViewwhen creating the custom UI to inject theIImageTracevoidsetLiveStreamConnection(LiveStreamConnection liveStreamConnection) Called byLiveStreamViewwhen creating the custom UI to injectLiveStreamConnectionvoidsetPlottingSystem(IPlottingSystem<org.eclipse.swt.widgets.Composite> plottingSystem) Called byLiveStreamViewwhen creating the custom UI to inject theIPlottingSystem
-
Method Details
-
createUi
void createUi(org.eclipse.swt.widgets.Composite composite) Called 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
void dispose()Called when the composite is being disposed to allow listeners to be removed, resources disposed etc. -
setPlottingSystem
Called byLiveStreamViewwhen creating the custom UI to inject theIPlottingSystem- Parameters:
plottingSystem- the plotting system displaying the live stream.
-
setLiveStreamConnection
Called byLiveStreamViewwhen creating the custom UI to injectLiveStreamConnection- Parameters:
liveStreamConnection- the connection to the live stream displayed.
-
setImageTrace
Called byLiveStreamViewwhen creating the custom UI to inject theIImageTrace- Parameters:
iTrace- trace of the live stream displayed.
-
setActionBars
void setActionBars(org.eclipse.ui.IActionBars actionBars) Called byLiveStreamViewwhen creating the custom UI to inject theIActionBars- Parameters:
actionBars- toolbar of theLiveStreamView
-