public class CompositeCommandWithStatus extends org.eclipse.gmf.runtime.common.core.command.CompositeCommand implements ICommandWithStatus
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
DEFAULT_ERROR_STATUS_MESSAGE |
Constructor and Description |
---|
CompositeCommandWithStatus(java.lang.String label)
Constructor
|
CompositeCommandWithStatus(java.lang.String label,
java.util.List commands)
Constructor
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.runtime.IStatus |
getStatus()
Returns the IStatus for this command
|
add, aggregateStatuses, assertNotExecuted, canExecute, canRedo, canUndo, compose, compose, dispose, doExecuteWithResult, doRedoWithResult, doUndoWithResult, getAffectedFiles, getChildren, getCommandResult, getReturnValues, isEmpty, isExecuted, iterator, listIterator, listIterator, reduce, remove, size
execute, internalSetResult, redo, setResult, undo
addContext, getContexts, getLabel, hasContext, removeContext, setLabel, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
protected static final java.lang.String DEFAULT_ERROR_STATUS_MESSAGE
public CompositeCommandWithStatus(java.lang.String label)
label
- String with the command's label.public CompositeCommandWithStatus(java.lang.String label, java.util.List commands)
label
- String with the command's label.commands
- List of commandspublic org.eclipse.core.runtime.IStatus getStatus()
ICommandWithStatus
getStatus
in interface ICommandWithStatus