Class FeatureElementsRemovedUndoableEdit
- java.lang.Object
-
- javax.swing.undo.AbstractUndoableEdit
-
- oracle.spatial.network.nfe.model.edit.undo.NFEAtomicUndoableEdit
-
- oracle.spatial.network.nfe.model.edit.undo.FeatureElementsRemovedUndoableEdit
-
- All Implemented Interfaces:
java.io.Serializable,javax.swing.undo.UndoableEdit
public class FeatureElementsRemovedUndoableEdit extends NFEAtomicUndoableEdit
Atomic undoable edit implementation that performs the undo/redo actions when a one or more feature elements are removed from the model.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class oracle.spatial.network.nfe.model.edit.undo.NFEAtomicUndoableEdit
model
-
-
Constructor Summary
Constructors Constructor Description FeatureElementsRemovedUndoableEdit(NFEModel model, java.util.Collection<NFEFeatureElement> featureElementsList)FeatureElementsRemovedUndoableEdit(NFEModel model, NFEFeatureElement featureElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidredo()voidundo()-
Methods inherited from class oracle.spatial.network.nfe.model.edit.undo.NFEAtomicUndoableEdit
getTimeStamp, setTimeStamp
-
-
-
-
Constructor Detail
-
FeatureElementsRemovedUndoableEdit
public FeatureElementsRemovedUndoableEdit(NFEModel model, java.util.Collection<NFEFeatureElement> featureElementsList)
-
FeatureElementsRemovedUndoableEdit
public FeatureElementsRemovedUndoableEdit(NFEModel model, NFEFeatureElement featureElement)
-
-
Method Detail
-
undo
public void undo() throws javax.swing.undo.CannotRedoException- Specified by:
undoin interfacejavax.swing.undo.UndoableEdit- Overrides:
undoin classjavax.swing.undo.AbstractUndoableEdit- Throws:
javax.swing.undo.CannotRedoException
-
redo
public void redo() throws javax.swing.undo.CannotUndoException- Specified by:
redoin interfacejavax.swing.undo.UndoableEdit- Overrides:
redoin classjavax.swing.undo.AbstractUndoableEdit- Throws:
javax.swing.undo.CannotUndoException
-
-