org.cytoscape.view.layout
Class LayoutEdit
java.lang.Object
org.cytoscape.work.undo.AbstractCyEdit
org.cytoscape.view.layout.LayoutEdit
public final class LayoutEdit
- extends AbstractCyEdit
An undoable edit that will undo and redo of a layout algorithm applied to a network view.
Method Summary |
void |
redo()
The method that performs the redo. |
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 |
LayoutEdit
public LayoutEdit(String name,
CyNetworkView view)
- Constructor.
- Parameters:
name
- The name that will appear in the undo menu.view
- The view whose current position will be tracked.
redo
public void redo()
- Description copied from class:
AbstractCyEdit
- The method that performs the redo.
- Specified by:
redo
in class AbstractCyEdit
undo
public void undo()
- Description copied from class:
AbstractCyEdit
- The method that performs the undo.
- Specified by:
undo
in class AbstractCyEdit
Copyright 2011 Cytoscape Consortium. All rights reserved.