org.dawb.tango.extensions.editors
Class MultiScanComponent
java.lang.Object
org.dawb.tango.extensions.editors.MultiScanComponent
- All Implemented Interfaces:
- org.eclipse.jface.viewers.ICheckStateListener
public class MultiScanComponent
- extends java.lang.Object
- implements org.eclipse.jface.viewers.ICheckStateListener
This view can view and plot any file. It is most efficient if the Loader that LoaderFactory
uses for this file type is an IMetaLoader.
Field Summary |
static java.lang.String |
ID
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
MultiScanComponent
public MultiScanComponent(AbstractPlottingSystem system)
createPartControl
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
- Create contents of the view part.
- Parameters:
parent
-
setData
public void setData(SpecData data)
setFocus
public void setFocus()
checkStateChanged
public void checkStateChanged(org.eclipse.jface.viewers.CheckStateChangedEvent event)
- Specified by:
checkStateChanged
in interface org.eclipse.jface.viewers.ICheckStateListener
addDatasetListener
public void addDatasetListener(IDatasetListener l)
- Call to be notified of data set collections being made.
The selections returned are a StructuredSelection with a list
of objects some are Strings for the data set name and
others are ExpressionObject if the user created expressions.
NOTE: The listener is NOT called on the GUI thread.
- Parameters:
l
-
removeSelectionListener
public void removeSelectionListener(IDatasetListener l)
dispose
public void dispose()
refresh
public void refresh(java.lang.String scanName)
clear
public void clear()