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.

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