de.cau.cs.kieler.kiml.grana.handlers
Class AbstractAnalysisHandler

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.core.commands.AbstractHandler
          extended by de.cau.cs.kieler.kiml.grana.handlers.AbstractAnalysisHandler
All Implemented Interfaces:
IHandler, IHandler2
Direct Known Subclasses:
AnalysisHandler, ConfigureAnalysesHandler

public abstract class AbstractAnalysisHandler
extends AbstractHandler

The base class for handlers that perform an analysis of any kind.

Rating red

Field Summary
static String LAST_ANALYSES_PREFERENCE
          the name for the last analyses preference.
 
Constructor Summary
AbstractAnalysisHandler()
           
 
Method Summary
protected  List<AbstractInfoAnalysis> getLastAnalysesSelection()
          Returns the last selected analyses from the preference store.
protected  void setLastAnalysesSelection(List<AbstractInfoAnalysis> analyses)
          Sets the last selected analyses in the preference store.
 
Methods inherited from class org.eclipse.core.commands.AbstractHandler
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
 
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.core.commands.IHandler
execute
 

Field Detail

LAST_ANALYSES_PREFERENCE

public static final String LAST_ANALYSES_PREFERENCE
the name for the last analyses preference.

See Also:
Constant Field Values
Constructor Detail

AbstractAnalysisHandler

public AbstractAnalysisHandler()
Method Detail

getLastAnalysesSelection

protected List<AbstractInfoAnalysis> getLastAnalysesSelection()
Returns the last selected analyses from the preference store.

Returns:
the last selected analyses

setLastAnalysesSelection

protected void setLastAnalysesSelection(List<AbstractInfoAnalysis> analyses)
Sets the last selected analyses in the preference store.

Parameters:
analyses - the analyses