Package ptolemy.vergil.gt
Class GTFrameTools.ModelChangeRequest
- java.lang.Object
-
- ptolemy.kernel.util.ChangeRequest
-
- ptolemy.vergil.gt.GTFrameTools.ModelChangeRequest
-
- Enclosing class:
- GTFrameTools
public static class GTFrameTools.ModelChangeRequest extends ChangeRequest
-
-
Constructor Summary
Constructors Constructor Description ModelChangeRequest(java.lang.Object originator, BasicGraphFrame frame, CompositeEntity model)
ModelChangeRequest(java.lang.Object originator, BasicGraphFrame frame, CompositeEntity model, UndoAction undoAction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
_execute()
Execute the change.void
setUndoable(boolean undoable)
-
Methods inherited from class ptolemy.kernel.util.ChangeRequest
addChangeListener, execute, getDescription, getLocality, getSource, isErrorReported, isPersistent, isStructuralChange, removeChangeListener, setDescription, setErrorReported, setListeners, setPersistent, waitForCompletion
-
-
-
-
Constructor Detail
-
ModelChangeRequest
public ModelChangeRequest(java.lang.Object originator, BasicGraphFrame frame, CompositeEntity model)
-
ModelChangeRequest
public ModelChangeRequest(java.lang.Object originator, BasicGraphFrame frame, CompositeEntity model, UndoAction undoAction)
-
-
Method Detail
-
setUndoable
public void setUndoable(boolean undoable)
-
_execute
protected void _execute() throws java.lang.Exception
Description copied from class:ChangeRequest
Execute the change. Derived classes must implement this method. Any exception may be thrown if the change fails.- Specified by:
_execute
in classChangeRequest
- Throws:
java.lang.Exception
- If the change fails.
-
-