Class RuleInstanceRelationAddedUndoableEdit
- java.lang.Object
-
- javax.swing.undo.AbstractUndoableEdit
-
- oracle.spatial.network.nfe.model.edit.undo.NFEAtomicUndoableEdit
-
- oracle.spatial.network.nfe.model.edit.undo.RuleInstanceRelationAddedUndoableEdit
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.undo.UndoableEdit
public class RuleInstanceRelationAddedUndoableEdit extends NFEAtomicUndoableEdit
Atomic undoable edit implementation that performs the undo/redo actions when a relation is added to a rule instance- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class oracle.spatial.network.nfe.model.edit.undo.NFEAtomicUndoableEdit
model
-
-
Constructor Summary
Constructors Constructor Description RuleInstanceRelationAddedUndoableEdit(NFEModel model, NFERuleInstanceRelation ruleInstanceRel)
-
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
-
RuleInstanceRelationAddedUndoableEdit
public RuleInstanceRelationAddedUndoableEdit(NFEModel model, NFERuleInstanceRelation ruleInstanceRel)
-
-
Method Detail
-
undo
public void undo() throws javax.swing.undo.CannotUndoException
- Specified by:
undo
in interfacejavax.swing.undo.UndoableEdit
- Overrides:
undo
in classjavax.swing.undo.AbstractUndoableEdit
- Throws:
javax.swing.undo.CannotUndoException
-
redo
public void redo() throws javax.swing.undo.CannotRedoException
- Specified by:
redo
in interfacejavax.swing.undo.UndoableEdit
- Overrides:
redo
in classjavax.swing.undo.AbstractUndoableEdit
- Throws:
javax.swing.undo.CannotRedoException
-
-