Class AbstractTrailViewerPluginWithGOE
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.gui.plugin.AbstractToolPlugin<TrailPanel>
-
- adams.gui.visualization.trail.plugins.AbstractTrailViewerPlugin
-
- adams.gui.visualization.trail.plugins.AbstractTrailViewerPluginWithGOE
-
- All Implemented Interfaces:
adams.core.logging.LoggingSupporter,adams.core.SizeOfHandler,Serializable
public abstract class AbstractTrailViewerPluginWithGOE extends AbstractTrailViewerPlugin
Ancestor for plugins that require a GOE.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractTrailViewerPluginWithGOE()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected StringdoExecute()Executes the plugin.protected booleangetCanChangeClassInDialog()Returns whether the class can be changed in the GOE.protected abstract ObjectgetDefaultValue()Returns the default object to use in the GOE if no last setup is yet available.protected abstract ClassgetEditorType()Returns the class to use as type (= superclass) in the GOE.protected abstract Stringprocess()Processes the trail.-
Methods inherited from class adams.gui.visualization.trail.plugins.AbstractTrailViewerPlugin
doLog
-
Methods inherited from class adams.gui.plugin.AbstractToolPlugin
canExecute, createLogEntry, execute, getCanceledByUser, getCaption, getIcon, getIconName, getLastSetup, getMenu, hasLastSetup, log, setLastSetup
-
-
-
-
Method Detail
-
getEditorType
protected abstract Class getEditorType()
Returns the class to use as type (= superclass) in the GOE.- Returns:
- the class
-
getDefaultValue
protected abstract Object getDefaultValue()
Returns the default object to use in the GOE if no last setup is yet available.- Returns:
- the object
-
getCanChangeClassInDialog
protected boolean getCanChangeClassInDialog()
Returns whether the class can be changed in the GOE.- Returns:
- true if class can be changed by the user
-
process
protected abstract String process()
Processes the trail.
-
doExecute
protected String doExecute()
Executes the plugin.- Specified by:
doExecutein classadams.gui.plugin.AbstractToolPlugin<TrailPanel>- Returns:
- null if OK, otherwise error message. Using an empty string will suppress the error message display and the creation of a log entry.
-
-