Interface IDtSelectionService

    • Method Detail

      • getEditorModel

        org.eclipse.emf.ecore.EObject getEditorModel​(org.eclipse.ui.IWorkbenchWindow window)
        Parameters:
        window - workbench window.
        Returns:
        the active DT editor model for a given window if any, null otherwise.
      • getEditorFeature

        org.eclipse.emf.ecore.EStructuralFeature getEditorFeature​(org.eclipse.ui.IWorkbenchWindow window)
        Parameters:
        window - workbench window.
        Returns:
        the active DT editor feature for a given window if any, null otherwise.
      • getEditorSelection

        ISelection getEditorSelection​(org.eclipse.ui.IWorkbenchWindow window)
        Parameters:
        window - workbench window.
        Returns:
        the active DT editor selection for a given window if any, null otherwise.
      • getSelection

        ISelection getSelection​(org.eclipse.ui.IWorkbenchWindow window)
        Parameters:
        window - workbench window.
        Returns:
        the active selection for a given window if any, null otherwise. This selection is provided by Eclipse selection service.
      • getSelectionForPropertyView

        ISelection getSelectionForPropertyView​(org.eclipse.ui.IWorkbenchWindow window,
                                               ISelection selection)
        Obtains a selection suitable for use by the Property View.
        Parameters:
        window - workbench window.
        selection - original selection reported by Property View.
        Returns:
        obtained selection.
      • getSelectionForNewWizard

        ISelection getSelectionForNewWizard​(org.eclipse.ui.IWorkbenchWindow window,
                                            ISelection selection)
        Obtains a selection suitable for use by the New Wizard.
        Parameters:
        window - workbench window.
        selection - original selection reported by Wizard.
        Returns:
        obtained selection.