public class NetworkElementsRemovedUndoableEdit extends NFEAtomicUndoableEdit
Constructor and Description |
---|
NetworkElementsRemovedUndoableEdit(NFEModel model, java.util.Collection<NFENetworkElement> netElems) |
NetworkElementsRemovedUndoableEdit(NFEModel model, NFENetworkElement netElem) |
Modifier and Type | Method and Description |
---|---|
void |
redo() |
void |
undo() |
getTimeStamp, setTimeStamp
public NetworkElementsRemovedUndoableEdit(NFEModel model, java.util.Collection<NFENetworkElement> netElems)
public NetworkElementsRemovedUndoableEdit(NFEModel model, NFENetworkElement netElem)
public void undo() throws javax.swing.undo.CannotRedoException
undo
in interface javax.swing.undo.UndoableEdit
undo
in class javax.swing.undo.AbstractUndoableEdit
javax.swing.undo.CannotRedoException
public void redo() throws javax.swing.undo.CannotUndoException
redo
in interface javax.swing.undo.UndoableEdit
redo
in class javax.swing.undo.AbstractUndoableEdit
javax.swing.undo.CannotUndoException