Cytoscape 3.1.1 API

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 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.


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.

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>

Method Summary
 UndoableEditSupport getUndoableEditSupport()
          Returns the UndoableEditSupport associated with this UndoSupport instance.
 UndoManager getUndoManager()
          Returns the UndoManager associated with this UndoSupport instance.
 
Methods inherited from interface org.cytoscape.work.undo.UndoSupport
postEdit, reset
 

Method Detail

getUndoManager

UndoManager getUndoManager()
Returns the UndoManager associated with this UndoSupport instance.

Returns:
the UndoManager associated with this UndoSupport instance.

getUndoableEditSupport

UndoableEditSupport getUndoableEditSupport()
Returns the UndoableEditSupport associated with this UndoSupport instance.

Returns:
the UndoableEditSupport associated with this UndoSupport instance.

Cytoscape 3.1.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.