public static class RemoveMappingAction.CommandDelegate extends CommandWrapper implements CommandActionDelegate
AbstractCommand.NonDirtying
Modifier and Type | Field and Description |
---|---|
protected java.util.Collection<?> |
collection |
protected MappingDomain |
mappingDomain |
command
description, isExecutable, isPrepared, label
Constructor and Description |
---|
RemoveMappingAction.CommandDelegate(EditingDomain editingDomain,
CommandParameter commandParameter) |
Modifier and Type | Method and Description |
---|---|
Command |
createCommand()
Create the command being proxied.
|
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.
|
canUndo, dispose, execute, getAffectedObjects, getCommand, getDescription, getLabel, getResult, prepare, redo, toString, undo
canExecute, chain, setDescription, setLabel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canExecute, getDescription
protected MappingDomain mappingDomain
protected java.util.Collection<?> collection
public RemoveMappingAction.CommandDelegate(EditingDomain editingDomain, CommandParameter commandParameter)
public java.lang.Object getImage()
getImage
in interface CommandActionDelegate
public java.lang.String getText()
CommandActionDelegate
getText
in interface CommandActionDelegate
public java.lang.String getToolTipText()
getToolTipText
in interface CommandActionDelegate
public Command createCommand()
CommandWrapper
null
.
It is called by CommandWrapper.prepare()
.createCommand
in class CommandWrapper