Cytoscape 3.0.1 API

org.cytoscape.work.undo
Interface UndoSupport

All Known Subinterfaces:
SwingUndoSupport

public interface UndoSupport

A simple interface that posts edits to the Cytoscape undo stack.


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
 void postEdit(AbstractCyEdit edit)
          Posts the specified edit to the Cytoscape undo stack.
 void reset()
          Clears the undo stack.
 

Method Detail

postEdit

void postEdit(AbstractCyEdit edit)
Posts the specified edit to the Cytoscape undo stack.

Parameters:
edit - The edit to be added to the Cytoscape undo stack.

reset

void reset()
Clears the undo stack.


Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.