org.eclipse.emf.ecp.ui.e4.handlers
Class ImportHandler
java.lang.Object
org.eclipse.emf.ecp.ui.e4.handlers.ImportHandler
public class ImportHandler
- extends Object
Handler to import an EObject
.
- Author:
- David
Method Summary |
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. |
ImportHandler
public ImportHandler()
execute
@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)
- Imports an
EObject
which will be selected via a dialog into the current project.
- Parameters:
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 selected
Copyright © 2015. All Rights Reserved.