EGF Engine
Release 0.1.0

org.eclipse.egf.core.ui.workbench.action.explorer.create
Class CreateModelElementAction

java.lang.Object
  extended by Action
      extended by org.eclipse.egf.core.ui.workbench.action.navigator.AbstractNavigatorAction
          extended by org.eclipse.egf.core.ui.workbench.action.navigator.AbstractModelElementAction
              extended by org.eclipse.egf.core.ui.workbench.action.explorer.create.CreateModelElementAction
Direct Known Subclasses:
AbstractCreatePatternLibraryAction, CreateContextAction, CreateContextElementAction, CreateContractElementAction, CreateDomainAction, CreateFactoryComponentInvocationAction, CreateMappingAction, CreatePatternAction, CreateTaskFactoryHolderAction

public abstract class CreateModelElementAction
extends AbstractModelElementAction

Base class to implement an action to open a wizard that creates a NamedModelElementWithId object.


Constructor Summary
protected CreateModelElementAction(Shell shell_p, ISelectionProvider selectionProvider_p, boolean readOnlyMode_p)
          Constructor.
 
Method Summary
 void run()
           
 
Methods inherited from class org.eclipse.egf.core.ui.workbench.action.navigator.AbstractModelElementAction
computeImageDescriptorForModelElement, executeCommand, getEditingDomain, getModelElement, getWizardFor, isReadOnly, openWizardDialog, setSelectedElement
 
Methods inherited from class org.eclipse.egf.core.ui.workbench.action.navigator.AbstractNavigatorAction
getModelElementClass, getSelection, getSelectionProvider, getSharedImages, getShell, isSelectionCompatible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateModelElementAction

protected CreateModelElementAction(Shell shell_p,
                                   ISelectionProvider selectionProvider_p,
                                   boolean readOnlyMode_p)
Constructor.

Parameters:
shell_p -
selectionProvider_p -
readOnlyMode_p -
Method Detail

run

public void run()
See Also:
org.eclipse.jface.action.Action#run()

EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.