Package com._1c.g5.v8.dt.ui
Interface IDtSelectionService
-
- All Superinterfaces:
IManagedService
public interface IDtSelectionService extends IManagedService
Defines public contract of DT selection service.
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.emf.ecore.EStructuralFeature
getEditorFeature(org.eclipse.ui.IWorkbenchWindow window)
org.eclipse.emf.ecore.EObject
getEditorModel(org.eclipse.ui.IWorkbenchWindow window)
ISelection
getEditorSelection(org.eclipse.ui.IWorkbenchWindow window)
ISelection
getSelection(org.eclipse.ui.IWorkbenchWindow window)
ISelection
getSelectionForNewWizard(org.eclipse.ui.IWorkbenchWindow window, ISelection selection)
Obtains a selection suitable for use by the New Wizard.ISelection
getSelectionForPropertyView(org.eclipse.ui.IWorkbenchWindow window, ISelection selection)
Obtains a selection suitable for use by the Property View.-
Methods inherited from interface com._1c.g5.wiring.IManagedService
activate, deactivate
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
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.
-
-