Package adams.gui.scripting
Class AbstractDataContainerPanelScriptlet
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.gui.scripting.AbstractScriptlet
-
- adams.gui.scripting.AbstractUndoScriptlet
-
- adams.gui.scripting.AbstractDataContainerPanelScriptlet
-
- All Implemented Interfaces:
LoggingSupporter
,SizeOfHandler
,Stoppable
,StoppableWithFeedback
,UndoHandler
,Serializable
,Comparable
- Direct Known Subclasses:
AbstractDataContainerUpdatingScriptlet
,AbstractFileReaderScriptlet
,AbstractVisibilityScriplet
,AddData
,ClearData
,RemoveData
public abstract class AbstractDataContainerPanelScriptlet extends AbstractUndoScriptlet
Ancestor for scriptlets that require a DataContainerPanel.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.gui.scripting.AbstractScriptlet
m_DataProvider, m_Owner, m_Parameters, m_Stopped
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description AbstractDataContainerPanelScriptlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataContainerPanel
getDataContainerPanel()
Returns the spectrum panel, if available.Class[]
getRequirements()
Returns the class(es) of an object that must be present for this action to be executed.-
Methods inherited from class adams.gui.scripting.AbstractUndoScriptlet
addUndoPoint, getUndo, isUndoSupported, setUndo
-
Methods inherited from class adams.gui.scripting.AbstractScriptlet
compareTo, doProcess, equals, forName, getAction, getBasePanel, getDataProvider, getDescription, getOptionsDescription, getOwner, getParameter, getParameterDescription, getScriptlets, hashCode, hasOwner, hasParameter, initialize, isStopped, process, requiresDataProvider, setDataProvider, setOwner, setParameter, showStatus, stopExecution, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
getRequirements
public Class[] getRequirements()
Returns the class(es) of an object that must be present for this action to be executed.- Overrides:
getRequirements
in classAbstractUndoScriptlet
- Returns:
- the class(es) of which an instance must be present for execution, null if none necessary
-
getDataContainerPanel
public DataContainerPanel getDataContainerPanel()
Returns the spectrum panel, if available.- Returns:
- the panel
-
-