public static class TypeMatchMappingAction.DelegateCommand extends CompoundCommand implements CommandActionDelegate
AbstractCommand.NonDirtying| Modifier and Type | Field and Description |
|---|---|
protected java.util.Collection<?> |
collection |
protected Command |
createMappingCommand |
protected MappingDomain |
mappingDomain |
commandList, LAST_COMMAND_ALL, MERGE_COMMAND_ALL, resultIndexdescription, isExecutable, isPrepared, label| Constructor and Description |
|---|
TypeMatchMappingAction.DelegateCommand(EditingDomain editingDomain,
CommandParameter commandParameter) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Calls
Command.dispose() for each command in the list. |
void |
execute()
Calls
Command.execute() for each command in the list. |
java.lang.Object |
getImage()
This returns the icon, if any, of the action.
|
java.lang.String |
getText()
This returns the menu text, if any, of the action.
|
java.lang.String |
getToolTipText()
This returns the tool tip text, if any, of the action.
|
protected boolean |
prepare()
Returns whether all the commands can execute so that
AbstractCommand.isExecutable can be cached. |
append, appendAndExecute, appendIfCanExecute, canUndo, getAffectedObjects, getCommandList, getDescription, getLabel, getMergedAffectedObjectsCollection, getMergedResultCollection, getResult, getResultIndex, isEmpty, redo, toString, undo, unwrapcanExecute, chain, setDescription, setLabelclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanExecute, getDescriptionprotected MappingDomain mappingDomain
protected java.util.Collection<?> collection
protected Command createMappingCommand
public TypeMatchMappingAction.DelegateCommand(EditingDomain editingDomain, CommandParameter commandParameter)
protected boolean prepare()
CompoundCommandAbstractCommand.isExecutable can be cached.
An empty command list causes false to be returned.prepare in class CompoundCommandpublic void execute()
CompoundCommandCommand.execute() for each command in the list.execute in interface Commandexecute in class CompoundCommandpublic java.lang.Object getImage()
getImage in interface CommandActionDelegatepublic java.lang.String getText()
CommandActionDelegategetText in interface CommandActionDelegatepublic java.lang.String getToolTipText()
getToolTipText in interface CommandActionDelegatepublic void dispose()
CompoundCommandCommand.dispose() for each command in the list.dispose in interface Commanddispose in class CompoundCommand