Class LiveStreamViewWithHistogram
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
uk.ac.gda.client.live.stream.view.LiveStreamView
uk.ac.gda.client.live.stream.view.LiveStreamViewWithHistogram
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable,org.eclipse.core.runtime.IExecutableExtension,org.eclipse.ui.IPersistable,org.eclipse.ui.IViewPart,org.eclipse.ui.IWorkbenchPart,org.eclipse.ui.IWorkbenchPart2,org.eclipse.ui.IWorkbenchPart3,org.eclipse.ui.part.IWorkbenchPartOrientation
Extension of LiveStreamView, with a histogram.
Can be further extended by implementing
addCustomWidgets(Composite)-
Field Summary
FieldsFields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddCustomWidgets(org.eclipse.swt.widgets.Composite parent) Use this method to add custom UI to the stream view with histogram Parent has a grid layoutprotected voidcreateLivePlot(org.eclipse.swt.widgets.Composite parent, String secondaryId) This is the method that actually creates a live stream and sets up the plotting composite.voiddispose()protected voidopenViewWithSecondaryId(String secondaryId, boolean closeExistingView) Open a live stream view with the secondary ID specifiedvoidsetCustomWidget(ICustomWidget customWidget) Methods inherited from class uk.ac.gda.client.live.stream.view.LiveStreamView
createPartControl, getActiveCameraConfiguration, getActiveStreamType, getAdapter, getID, getITrace, getPlottingComposite, getPlottingSystem, getSnapshot, reopenView, setFocus, setPlottingCompositeMethods inherited from class org.eclipse.ui.part.ViewPart
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartNameMethods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusyMethods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
-
Field Details
-
ID
- See Also:
-
-
Constructor Details
-
LiveStreamViewWithHistogram
public LiveStreamViewWithHistogram()
-
-
Method Details
-
addCustomWidgets
protected void addCustomWidgets(org.eclipse.swt.widgets.Composite parent) Use this method to add custom UI to the stream view with histogram Parent has a grid layout- Parameters:
parent-
-
createLivePlot
Description copied from class:LiveStreamViewThis is the method that actually creates a live stream and sets up the plotting composite.To get here the secondary id of the view need to be set (hopefully to a valid camera id)
When extending this class it is necessary to call this method with the composite the plot should be drawn on.
- Overrides:
createLivePlotin classLiveStreamView- Parameters:
parent- Composite to draw onsecondaryId- The name of the camera to use and type of stream to display
-
openViewWithSecondaryId
Description copied from class:LiveStreamViewOpen a live stream view with the secondary ID specified- Overrides:
openViewWithSecondaryIdin classLiveStreamView- Parameters:
secondaryId-closeExistingView- close the existing view first
-
dispose
public void dispose()- Specified by:
disposein interfaceorg.eclipse.ui.IWorkbenchPart- Overrides:
disposein classLiveStreamView
-
setCustomWidget
-