|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cytoscape.work.undo.AbstractCyEdit
public abstract class AbstractCyEdit
A small class used to create new undoable edits. All
you have to do is implement the undo() and redo() methods.
Cytoscape's undo scheme is much simpler than Swing's and
we may in the future add additional functionality to this
class to support more advanced features. If we do, we
will make sure that the features are fully backwards compatible.
Constructor Summary | |
---|---|
AbstractCyEdit(String presentationName)
Constructor. |
Method Summary | |
---|---|
String |
getPresentationName()
Returns a human-readable description of this edit that will be used in logs and other descriptions of the edit. |
String |
getRedoPresentationName()
Returns a human-readable description of this edit that will be used in redo menu items. |
String |
getUndoPresentationName()
Returns a human-readable description of this edit that will be used in undo menu items. |
abstract void |
redo()
The method that performs the redo. |
abstract void |
undo()
The method that performs the undo. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractCyEdit(String presentationName)
presentationName
- A short, human-readable description of this edit that will be used
in logs and in menu item titles.Method Detail |
---|
public final String getPresentationName()
public final String getRedoPresentationName()
public final String getUndoPresentationName()
public abstract void undo()
public abstract void redo()
|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |