Package org.cytoscape.work.swing.undo
Interface SwingUndoSupport
-
- All Superinterfaces:
UndoSupport
public interface SwingUndoSupport extends UndoSupport
In general, developers should NOT use this interface or the classes it provides access to to post edits and should useUndoSupport
instead. This interface is really only meant for those handling undo/redo requests in a swing environment and this interface provides access to the necessary Swing Undo services to do so.Module:
work-swing-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>work-swing-api</artifactId> </dependency>
Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UndoableEditSupport
getUndoableEditSupport()
Returns theUndoableEditSupport
associated with thisUndoSupport
instance.UndoManager
getUndoManager()
Returns theUndoManager
associated with thisUndoSupport
instance.-
Methods inherited from interface org.cytoscape.work.undo.UndoSupport
postEdit, reset
-
-
-
-
Method Detail
-
getUndoManager
UndoManager getUndoManager()
Returns theUndoManager
associated with thisUndoSupport
instance.- Returns:
- the
UndoManager
associated with thisUndoSupport
instance.
-
getUndoableEditSupport
UndoableEditSupport getUndoableEditSupport()
Returns theUndoableEditSupport
associated with thisUndoSupport
instance.- Returns:
- the
UndoableEditSupport
associated with thisUndoSupport
instance.
-
-