Class ImportHandler
- java.lang.Object
-
- org.eclipse.emf.ecp.ui.e4.handlers.ImportHandler
-
public class ImportHandler extends java.lang.Object
Handler to import anEObject
.- Author:
- David
-
-
Constructor Summary
Constructors Constructor Description ImportHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(org.eclipse.swt.widgets.Shell shell, org.eclipse.emf.ecore.EObject eObject, ECPProject ecpProject)
Imports anEObject
which will be selected via a dialog into the current project.
-
-
-
Method Detail
-
execute
@Execute public void execute(org.eclipse.swt.widgets.Shell shell, @Named("org.eclipse.ui.selection") @Optional org.eclipse.emf.ecore.EObject eObject, @Named("org.eclipse.ui.selection") @Optional ECPProject ecpProject)
Imports anEObject
which will be selected via a dialog into the current project.- Parameters:
shell
-Shell
which should be used for the dialogseObject
- The selectedEObject
which should be connected with the importedEObject
or null if anECPProject
was selectedecpProject
- The selectedECPProject
which should be connected with the importedEObject
or null if anEObject
was selected
-
-