public class RedoChangeRequest extends ChangeRequest
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, waitForCompletion
public RedoChangeRequest(java.lang.Object originator, NamedObj context)
originator
- The originator of the change request.context
- The context in which to execute the MoML.UndoStackAttribute
public NamedObj getContext()
protected void _execute() throws java.lang.Exception
_execute
in class ChangeRequest
java.lang.Exception
- If an exception is thrown
while evaluating the request.