- All Known Subinterfaces:
public interface UndoSupportA simple interface that posts edits to the Cytoscape undo stack.
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>work-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.
void postEdit(AbstractCyEdit edit)Posts the specified edit to the Cytoscape undo stack.
edit- The edit to be added to the Cytoscape undo stack.
void reset()Clears the undo stack.