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 void
redo()
void
undo()
-
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:
undo
in interfacejavax.swing.undo.UndoableEdit
- Overrides:
undo
in classjavax.swing.undo.AbstractUndoableEdit
- Throws:
javax.swing.undo.CannotRedoException
-
redo
public void redo() throws javax.swing.undo.CannotUndoException
- Specified by:
redo
in interfacejavax.swing.undo.UndoableEdit
- Overrides:
redo
in classjavax.swing.undo.AbstractUndoableEdit
- Throws:
javax.swing.undo.CannotUndoException
-
-