org.eclipse.emf.mapping.action
Class CreateOneSidedMappingAction
java.lang.Object
org.eclipse.emf.edit.ui.action.CommandAction
org.eclipse.emf.mapping.action.CreateOneSidedMappingAction
- All Implemented Interfaces:
- CommandStackListener, IActionDelegate, IActionDelegate2, IEditorActionDelegate, IViewActionDelegate
public class CreateOneSidedMappingAction
- extends CommandAction
- implements CommandStackListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateOneSidedMappingAction
public CreateOneSidedMappingAction()
setActiveWorkbenchPart
public void setActiveWorkbenchPart(IWorkbenchPart workbenchPart)
- Description copied from class:
CommandAction
- This records the specified workbench part, and if it is an editing domain provider, its editing domain.
- Overrides:
setActiveWorkbenchPart
in class CommandAction
commandStackChanged
public void commandStackChanged(java.util.EventObject event)
- Description copied from interface:
CommandStackListener
- Called when the
CommandStack
's state has changed.
- Specified by:
commandStackChanged
in interface CommandStackListener
- Parameters:
event
- the event.
getDefaultImage
protected java.lang.Object getDefaultImage()
- This returns the image that is used if the command does not provide an override.
objectToImageDescriptor
protected ImageDescriptor objectToImageDescriptor(java.lang.Object object)
- Overrides:
objectToImageDescriptor
in class CommandAction
createActionCommand
protected Command createActionCommand(EditingDomain editingDomain,
java.util.Collection<?> collection)
- Create the command for this action
- Overrides:
createActionCommand
in class CommandAction