Class 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
    • Field Summary

      • Fields inherited from class adams.gui.plugin.AbstractToolPlugin

        m_CanceledByUser, m_CurrentPanel, m_LastSetup
      • Fields inherited from class adams.core.logging.LoggingObject

        m_Logger, m_LoggingIsEnabled, m_LoggingLevel
    • Constructor Detail

      • AbstractHeatmapViewerPluginWithGOE

        public AbstractHeatmapViewerPluginWithGOE()
    • 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 class adams.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.