Class AbstractImageViewerPlugin
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.gui.plugin.AbstractToolPlugin<ImagePanel>
-
- adams.gui.visualization.image.plugins.AbstractImageViewerPlugin
-
- All Implemented Interfaces:
LoggingSupporter
,SizeOfHandler
,Serializable
- Direct Known Subclasses:
AbstractCurrentImageFilter
,AbstractImageViewerPluginWithGOE
,AbstractImageViewerPluginWithRestore
,AbstractSelectedImagesViewerPlugin
,DisplayObjectLocationsFromReport
,Histogram
,MarkLocation
,TesseractOCR
public abstract class AbstractImageViewerPlugin extends AbstractToolPlugin<ImagePanel>
Ancestor for plugins for the ImageViewer.
If the plugin modifies any panel, then an undo point should be added before updating the panel. Here is an example:m_CurrentPanel.addUndoPoint("Saving undo data...", "Filtering image: " + getCaption());
- 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 Summary
Constructors Constructor Description AbstractImageViewerPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doLog(String msg)
Performs the actual logging.-
Methods inherited from class adams.gui.plugin.AbstractToolPlugin
canExecute, createLogEntry, doExecute, execute, getCanceledByUser, getCaption, getIcon, getIconName, getLastSetup, getMenu, hasLastSetup, log, setLastSetup
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
doLog
protected void doLog(String msg)
Performs the actual logging.- Specified by:
doLog
in classAbstractToolPlugin<ImagePanel>
- Parameters:
msg
- the message to log
-
-