org.dawb.tango.extensions.editors
Class MultiScanComponent

java.lang.Object
  extended by 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
           
 
Constructor Summary
MultiScanComponent(AbstractPlottingSystem system)
           
 
Method Summary
 void addDatasetListener(IDatasetListener l)
          Call to be notified of data set collections being made.
 void checkStateChanged(org.eclipse.jface.viewers.CheckStateChangedEvent event)
           
 void clear()
           
 void createPartControl(org.eclipse.swt.widgets.Composite parent)
          Create contents of the view part.
 void dispose()
           
 void refresh(java.lang.String scanName)
           
 void removeSelectionListener(IDatasetListener l)
           
 void setData(SpecData data)
           
 void setFocus()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final java.lang.String ID
See Also:
Constant Field Values
Constructor Detail

MultiScanComponent

public MultiScanComponent(AbstractPlottingSystem system)
Method Detail

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()