Package org.cytoscape.work.swing.undo
Interface SwingUndoSupport
- All Superinterfaces:
UndoSupport
In general, developers should NOT use this interface or the classes
it provides access to to post edits and should use
UndoSupport 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
Modifier and TypeMethodDescriptionReturns theUndoableEditSupportassociated with thisUndoSupportinstance.Returns theUndoManagerassociated with thisUndoSupportinstance.Methods inherited from interface org.cytoscape.work.undo.UndoSupport
postEdit, reset
-
Method Details
-
getUndoManager
UndoManager getUndoManager()Returns theUndoManagerassociated with thisUndoSupportinstance.- Returns:
- the
UndoManagerassociated with thisUndoSupportinstance.
-
getUndoableEditSupport
UndoableEditSupport getUndoableEditSupport()Returns theUndoableEditSupportassociated with thisUndoSupportinstance.- Returns:
- the
UndoableEditSupportassociated with thisUndoSupportinstance.
-