info.bioinfweb.treegraph.document.undo.edit
Class CopyColumnEdit
java.lang.Object
info.bioinfweb.treegraph.document.undo.DocumentEdit
info.bioinfweb.treegraph.document.undo.NodeBranchDataEdit
info.bioinfweb.treegraph.document.undo.edit.CopyColumnEdit
- All Implemented Interfaces:
- UndoableEdit
public class CopyColumnEdit
- extends NodeBranchDataEdit
Copies a node/branch data column. The inherited field adapter
is used as the source
adapter here.
- Since:
- 2.0.24
- Author:
- Ben Stöver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
source
private NodeBranchDataAdapter source
includeLeafs
private boolean includeLeafs
CopyColumnEdit
public CopyColumnEdit(Document document,
NodeBranchDataAdapter source,
NodeBranchDataAdapter dest,
boolean includeLeafs)
copySubtree
private void copySubtree(Node root)
redo
public void redo()
throws CannotRedoException
- Specified by:
redo
in interface UndoableEdit
- Overrides:
redo
in class DocumentEdit
- Throws:
CannotRedoException
getPresentationName
public String getPresentationName()