info.bioinfweb.treegraph.document.undo
Class NodeBranchDataEdit
java.lang.Object
  
info.bioinfweb.treegraph.document.undo.DocumentEdit
      
info.bioinfweb.treegraph.document.undo.NodeBranchDataEdit
- All Implemented Interfaces: 
 - UndoableEdit
 
- Direct Known Subclasses: 
 - CalculateColumnEdit, CopyColumnEdit, DeleteColumnEdit, DeleteOutsideIntervalEdit, SetColumnTypeEdit
 
public abstract class NodeBranchDataEdit
- extends DocumentEdit
 
Can be used as a superclass for edits which change a node/branch data column. Implements 
 restoring the previous values of that column.
- Since:
 
  - 2.0.24
 
- Author:
 
  - Ben Stöver
 
 
 
 
| 
Method Summary | 
 void | 
undo()
 
            | 
 
| Methods inherited from class info.bioinfweb.treegraph.document.undo.DocumentEdit | 
addEdit, canRedo, canUndo, die, getIsSubedit, getRedoPresentationName, getUndoPresentationName, isSignificant, redo, replaceEdit, setIsSubedit | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
adapter
protected NodeBranchDataAdapter adapter
backup
protected NodeBranchDataBackup backup
NodeBranchDataEdit
public NodeBranchDataEdit(Document document,
                          NodeBranchDataAdapter adapter)
undo
public void undo()
          throws CannotUndoException
- Specified by:
 undo in interface UndoableEdit- Overrides:
 undo in class DocumentEdit
 
- Throws:
 CannotUndoException