Package org.esa.snap.rcp.nodes
Class UndoableProductNodeDeletion<T extends ProductNode>
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
org.esa.snap.rcp.nodes.UndoableProductNodeDeletion<T>
- Type Parameters:
T
- The product node type.
- All Implemented Interfaces:
Serializable
,UndoableEdit
An undoable insertion of a
ProductNode
.- See Also:
-
Field Summary
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
-
Constructor Summary
ConstructorsConstructorDescriptionUndoableProductNodeDeletion
(ProductNodeGroup<T> productNodeGroup, T productNode, int index) -
Method Summary
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, canRedo, canUndo, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
-
Constructor Details
-
UndoableProductNodeDeletion
-
-
Method Details
-
getProductNode
-
getPresentationName
- Specified by:
getPresentationName
in interfaceUndoableEdit
- Overrides:
getPresentationName
in classAbstractUndoableEdit
-
undo
- Specified by:
undo
in interfaceUndoableEdit
- Overrides:
undo
in classAbstractUndoableEdit
- Throws:
CannotUndoException
-
redo
- Specified by:
redo
in interfaceUndoableEdit
- Overrides:
redo
in classAbstractUndoableEdit
- Throws:
CannotRedoException
-
die
public void die()- Specified by:
die
in interfaceUndoableEdit
- Overrides:
die
in classAbstractUndoableEdit
-