public abstract class AbstractCyEdit extends Object
Module: work-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>work-api</artifactId> </dependency>
Constructor and Description |
---|
AbstractCyEdit(String presentationName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public AbstractCyEdit(String presentationName)
presentationName
- A short, human-readable description of this edit that will be used
in logs and in menu item titles.public final String getPresentationName()
public final String getRedoPresentationName()
public final String getUndoPresentationName()
public abstract void undo()
public abstract void redo()
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.