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, sizeexecute, internalSetResult, redo, setResult, undoaddContext, getContexts, getLabel, hasContext, removeContext, setLabel, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected 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()
ICommandWithStatusgetStatus in interface ICommandWithStatus