info.bioinfweb.treegraph.gui.actions.edit
Class UndoRedoToAction
java.lang.Object
javax.swing.AbstractAction
info.bioinfweb.treegraph.gui.actions.TreeGraphAction
info.bioinfweb.treegraph.gui.actions.DocumentAction
info.bioinfweb.treegraph.gui.actions.edit.UndoRedoToAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Direct Known Subclasses:
- RedoToAction, UndoToAction
public abstract class UndoRedoToAction
- extends DocumentAction
Subclass of UndoToAction
and RedoToAction
which implements common behavior.
- Since:
- 2.0.23
- Author:
- Ben Stöver
- See Also:
- Serialized Form
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
edit
protected UndoableEdit edit
UndoRedoToAction
public UndoRedoToAction(MainFrame mainFrame,
UndoableEdit edit)
setEnabled
public void setEnabled(Document document,
TreeSelection selection,
NodeBranchDataAdapter tableAdapter)
- Specified by:
setEnabled
in class DocumentAction