Class NetworkElementsAddedUndoableEdit
- java.lang.Object
-
- javax.swing.undo.AbstractUndoableEdit
-
- oracle.spatial.network.nfe.model.edit.undo.NFEAtomicUndoableEdit
-
- oracle.spatial.network.nfe.model.edit.undo.NetworkElementsAddedUndoableEdit
-
- All Implemented Interfaces:
java.io.Serializable,javax.swing.undo.UndoableEdit
public class NetworkElementsAddedUndoableEdit extends NFEAtomicUndoableEdit
Atomic undoable edit implementation that performs the undo/redo actions when one or more network elements are added to 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 NetworkElementsAddedUndoableEdit(NFEModel model, java.util.Collection<NFENetworkElement> netElems)NetworkElementsAddedUndoableEdit(NFEModel model, NFENetworkElement netElem)
-
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
-
NetworkElementsAddedUndoableEdit
public NetworkElementsAddedUndoableEdit(NFEModel model, java.util.Collection<NFENetworkElement> netElems)
-
NetworkElementsAddedUndoableEdit
public NetworkElementsAddedUndoableEdit(NFEModel model, NFENetworkElement netElem)
-
-
Method Detail
-
undo
public void undo() throws javax.swing.undo.CannotUndoException- Specified by:
undoin interfacejavax.swing.undo.UndoableEdit- Overrides:
undoin classjavax.swing.undo.AbstractUndoableEdit- Throws:
javax.swing.undo.CannotUndoException
-
redo
public void redo() throws javax.swing.undo.CannotRedoException- Specified by:
redoin interfacejavax.swing.undo.UndoableEdit- Overrides:
redoin classjavax.swing.undo.AbstractUndoableEdit- Throws:
javax.swing.undo.CannotRedoException
-
-