Class SelectModelElementWizardFactory


  • public abstract class SelectModelElementWizardFactory
    extends java.lang.Object
    Since:
    1.5
    Author:
    Jonas
    • Constructor Detail

      • SelectModelElementWizardFactory

        public SelectModelElementWizardFactory()
    • 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 selected
        isMany - 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 select
        V - 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