Class ECPImportHandlerHelper
- java.lang.Object
-
- org.eclipse.emf.ecp.internal.ui.util.ECPImportHandlerHelper
-
public final class ECPImportHandlerHelper extends java.lang.Object
A utility class which provides support for importingEObject
s.- Author:
- David
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]
FILTER_EXTS
These filter extensions are used to filter which files are displayed.static java.lang.String[]
FILTER_NAMES
These filter names are used to filter which files are displayed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
importElement(org.eclipse.swt.widgets.Shell shell, org.eclipse.emf.ecore.EObject eObject)
Connects anEObject
with another importedEObject
which will be selected via a dialog.static void
importElement(org.eclipse.swt.widgets.Shell shell, ECPProject ecpProject)
Connects anEObject
with another importedEObject
which will be selected via a dialog.
-
-
-
Method Detail
-
importElement
public static void importElement(org.eclipse.swt.widgets.Shell shell, org.eclipse.emf.ecore.EObject eObject)
Connects anEObject
with another importedEObject
which will be selected via a dialog.- Parameters:
shell
- TheShell
which should be used for the dialogeObject
- TheEObject
which should be connected with the importedEObject
-
importElement
public static void importElement(org.eclipse.swt.widgets.Shell shell, ECPProject ecpProject)
Connects anEObject
with another importedEObject
which will be selected via a dialog.- Parameters:
shell
- TheShell
which should be used for the dialogecpProject
- TheECPProject
where theEObject
should be imported into
-
-