public class RedoChangeRequest extends ChangeRequest
| Green (hyzheng) |
| Green (eal) |
| Constructor and Description |
|---|
RedoChangeRequest(java.lang.Object originator,
NamedObj context)
Construct a change request to be executed in the specified context.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
_execute()
Execute the change by invoking redo on the undo stack of
the context specified in the constructor.
|
NamedObj |
getContext()
Return the context specified in the constructor, or null if none
was specified.
|
addChangeListener, execute, getDescription, getLocality, getSource, isErrorReported, isPersistent, isStructuralChange, removeChangeListener, setDescription, setErrorReported, setListeners, setPersistent, waitForCompletionpublic RedoChangeRequest(java.lang.Object originator,
NamedObj context)
originator - The originator of the change request.context - The context in which to execute the MoML.UndoStackAttributepublic NamedObj getContext()
protected void _execute()
throws java.lang.Exception
_execute in class ChangeRequestjava.lang.Exception - If an exception is thrown
while evaluating the request.