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:
getPresentationNamein interfaceUndoableEdit- Overrides:
getPresentationNamein classAbstractUndoableEdit
-
undo
- Specified by:
undoin interfaceUndoableEdit- Overrides:
undoin classAbstractUndoableEdit- Throws:
CannotUndoException
-
redo
- Specified by:
redoin interfaceUndoableEdit- Overrides:
redoin classAbstractUndoableEdit- Throws:
CannotRedoException
-
die
public void die()- Specified by:
diein interfaceUndoableEdit- Overrides:
diein classAbstractUndoableEdit
-