Package adams.gui.core
Interface UndoHandler
-
- All Known Subinterfaces:
DataContainer
,MonitoringDataContainer
,UndoHandlerWithQuickAccess
- All Known Implementing Classes:
AbstractCommandProcessor
,AbstractDataContainer
,AbstractDataContainerPanelScriptlet
,AbstractDataContainerUpdatingScriptlet
,AbstractFileReaderScriptlet
,AbstractFilterScriptlet
,AbstractFlowScriptlet
,AbstractUndoScriptlet
,AbstractVisibilityScriplet
,AddData
,AddDataFile
,AddDataFiles
,ClearData
,CommandProcessor
,DatabaseContainer
,DataGeneratorContainer
,DisableUndo
,EnableUndo
,FileContainer
,Filter
,FilterOverlay
,FlowPanel
,GenericObjectEditor
,GenericObjectEditorDialog
,HistogramFactory.SetupDialog
,HistogramFactory.SetupDialog
,HistogramFactory.SetupDialog
,ImagePanel
,Invisible
,LayerManager
,MemoryContainer
,ObjectAnnotationPanel
,RemoveData
,RunFlow
,RunFlowOverlay
,SetData
,SpreadSheetContainer
,TextDirectoryLoaderContainer
,TimeseriesCommandProcessor
,TimeseriesExplorer
,ToolBarUndoPanel
,UndoPanel
,Visible
public interface UndoHandler
Interface for classes that support an optional undo-mechanism.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Undo
getUndo()
Returns the current undo manager, can be null.boolean
isUndoSupported()
Returns whether an Undo manager is currently available.void
setUndo(Undo value)
Sets the undo manager to use, can be null if no undo-support wanted.
-
-
-
Method Detail
-
setUndo
void setUndo(Undo value)
Sets the undo manager to use, can be null if no undo-support wanted.- Parameters:
value
- the undo manager to use
-
getUndo
Undo getUndo()
Returns the current undo manager, can be null.- Returns:
- the undo manager, if any
-
isUndoSupported
boolean isUndoSupported()
Returns whether an Undo manager is currently available.- Returns:
- true if an undo manager is set
-
-