Class NFEAtomicUndoableEdit
- java.lang.Object
-
- javax.swing.undo.AbstractUndoableEdit
-
- oracle.spatial.network.nfe.model.edit.undo.NFEAtomicUndoableEdit
-
- All Implemented Interfaces:
java.io.Serializable,javax.swing.undo.UndoableEdit
- Direct Known Subclasses:
FeatureElementPropertyChangedUndoableEdit,FeatureElementsAddedUndoableEdit,FeatureElementsRemovedUndoableEdit,FeaturePropertyChangedUndoableEdit,FeaturesAddedUndoableEdit,FeaturesRemovedUndoableEdit,NetworkElementPropertyChangedUndoableEdit,NetworkElementsAddedUndoableEdit,NetworkElementsRemovedUndoableEdit,RuleInstanceAddedUndoableEdit,RuleInstanceRelationAddedUndoableEdit,RuleInstanceRelationRemovedUndoableEdit,RuleInstanceRemovedUndoableEdit
public abstract class NFEAtomicUndoableEdit extends javax.swing.undo.AbstractUndoableEditA base abstract class that should be extended by any undoable edit implementation that wants to perform a undo/redo action for a specific NFE model event.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NFEAtomicUndoableEdit(NFEModel model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetTimeStamp()Gets the time when this object was created.voidsetTimeStamp(long timeStamp)Sets the time when this object was created.
-
-
-
Field Detail
-
model
protected NFEModel model
-
-
Constructor Detail
-
NFEAtomicUndoableEdit
public NFEAtomicUndoableEdit(NFEModel model)
-
-
Method Detail
-
getTimeStamp
public long getTimeStamp()
Gets the time when this object was created. It should be approximate to the time where the event was fired.- Returns:
- the time in milliseconds
-
setTimeStamp
public void setTimeStamp(long timeStamp)
Sets the time when this object was created. It should be approximate to the time where the event was fired.- Parameters:
timeStamp- the time in milliseconds
-
-