Class SelectModelElementWizardFactory
- java.lang.Object
-
- org.eclipse.emf.ecp.spi.common.ui.SelectModelElementWizardFactory
-
public abstract class SelectModelElementWizardFactory extends java.lang.Object
- Since:
- 1.5
- Author:
- Jonas
-
-
Constructor Summary
Constructors Constructor Description SelectModelElementWizardFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.eclipse.emf.ecore.EObject
openCreateNewModelElementDialog(SelectionComposite<org.eclipse.jface.viewers.TreeViewer> selectionComposite)
static <T extends org.eclipse.emf.ecore.EObject>
java.util.Set<T>openModelElementSelectionDialog(java.util.Set<T> elements, boolean isMany)
static <T extends org.eclipse.emf.ecore.EObject,V extends org.eclipse.jface.viewers.StructuredViewer>
java.util.Set<T>openModelElementSelectionDialog(SelectionComposite<V> tableSelectionComposite)
Open a model element selection dialog using a specific table selection composite.
-
-
-
Method Detail
-
openModelElementSelectionDialog
public static <T extends org.eclipse.emf.ecore.EObject> java.util.Set<T> openModelElementSelectionDialog(java.util.Set<T> elements, boolean isMany)
- Type Parameters:
T
- the type to select- Parameters:
elements
- The elements to be selectedisMany
- whether multi selection is allowed- Returns:
- The selected elements
-
openModelElementSelectionDialog
public static <T extends org.eclipse.emf.ecore.EObject,V extends org.eclipse.jface.viewers.StructuredViewer> java.util.Set<T> openModelElementSelectionDialog(SelectionComposite<V> tableSelectionComposite)
Open a model element selection dialog using a specific table selection composite.- Type Parameters:
T
- the type of object to selectV
- the type of viewer to present- Parameters:
tableSelectionComposite
- a table selection composite to use in the dialog- Returns:
- the selected elements
- Since:
- 1.22
-
openCreateNewModelElementDialog
public static org.eclipse.emf.ecore.EObject openCreateNewModelElementDialog(SelectionComposite<org.eclipse.jface.viewers.TreeViewer> selectionComposite)
- Parameters:
selectionComposite
- the composite to select the Eclass on- Returns:
- an new EObject or null, if canceled
-
-