public class ImportHandler extends Object
EObject.| Constructor and Description |
|---|
ImportHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(org.eclipse.swt.widgets.Shell shell,
org.eclipse.emf.ecore.EObject eObject,
ECPProject ecpProject)
Imports an
EObject which will be selected via a dialog into the current project. |
@Execute
public void execute(org.eclipse.swt.widgets.Shell shell,
@Named(value="org.eclipse.ui.selection") @Optional
org.eclipse.emf.ecore.EObject eObject,
@Named(value="org.eclipse.ui.selection") @Optional
ECPProject ecpProject)
EObject which will be selected via a dialog into the current project.shell - Shell which should be used for the dialogseObject - The selected EObject which should be connected with the imported EObject or null
if an ECPProject was selectedecpProject - The selected ECPProject which should be connected with the imported EObject or
null
if an EObject was selectedCopyright © 2018. All rights reserved.