Class AbstractHeatmapViewerPluginWithGOE
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.gui.plugin.AbstractToolPlugin<HeatmapPanel>
-
- adams.gui.visualization.heatmap.plugins.AbstractHeatmapViewerPlugin
-
- adams.gui.visualization.heatmap.plugins.AbstractHeatmapViewerPluginWithGOE
-
- All Implemented Interfaces:
adams.core.logging.LoggingSupporter
,adams.core.SizeOfHandler
,Serializable
public abstract class AbstractHeatmapViewerPluginWithGOE extends AbstractHeatmapViewerPlugin
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 AbstractHeatmapViewerPluginWithGOE()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected String
doExecute()
Executes the plugin.protected boolean
getCanChangeClassInDialog()
Returns whether the class can be changed in the GOE.protected abstract Object
getDefaultValue()
Returns the default object to use in the GOE if no last setup is yet available.protected abstract Class
getEditorType()
Returns the class to use as type (= superclass) in the GOE.protected abstract String
process()
Processes the heatmap.-
Methods inherited from class adams.gui.visualization.heatmap.plugins.AbstractHeatmapViewerPlugin
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 heatmap.
-
doExecute
protected String doExecute()
Executes the plugin.- Specified by:
doExecute
in classadams.gui.plugin.AbstractToolPlugin<HeatmapPanel>
- Returns:
- null if OK, otherwise error message. Using an empty string will suppress the error message display and the creation of a log entry.
-
-