org.eclipse.emf.mapping.action
Class RemoveMappingAction.CommandDelegate
java.lang.Object
org.eclipse.emf.common.command.AbstractCommand
org.eclipse.emf.common.command.CommandWrapper
org.eclipse.emf.mapping.action.RemoveMappingAction.CommandDelegate
- All Implemented Interfaces:
- Command, CommandActionDelegate
- Enclosing class:
- RemoveMappingAction
- public static class RemoveMappingAction.CommandDelegate
- extends CommandWrapper
- implements CommandActionDelegate
Methods inherited from class org.eclipse.emf.common.command.CommandWrapper |
canUndo, dispose, execute, getAffectedObjects, getCommand, getDescription, getLabel, getResult, prepare, redo, toString, undo |
mappingDomain
protected MappingDomain mappingDomain
collection
protected Collection collection
RemoveMappingAction.CommandDelegate
public RemoveMappingAction.CommandDelegate(EditingDomain editingDomain,
CommandParameter commandParameter)
getImage
public Object getImage()
- This returns the icon, if any, of the action.
- Specified by:
getImage
in interface CommandActionDelegate
getText
public String getText()
- Description copied from interface:
CommandActionDelegate
- This returns the menu text, if any, of the action.
- Specified by:
getText
in interface CommandActionDelegate
getToolTipText
public String getToolTipText()
- This returns the tool tip text, if any, of the action.
- Specified by:
getToolTipText
in interface CommandActionDelegate
createCommand
public Command createCommand()
- Description copied from class:
CommandWrapper
- Create the command being proxied.
This implementation just return
null
.
It is called by CommandWrapper.prepare()
.
- Overrides:
createCommand
in class CommandWrapper
- Returns:
- the command being proxied.