Package com._1c.g5.v8.dt.ui
Interface IDtSelectionService
- All Superinterfaces:
IManagedService
- All Known Implementing Classes:
DtSelectionService
Defines public contract of DT selection service.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.ecore.EStructuralFeaturegetEditorFeature(org.eclipse.ui.IWorkbenchWindow window) org.eclipse.emf.ecore.EObjectgetEditorModel(org.eclipse.ui.IWorkbenchWindow window) getEditorSelection(org.eclipse.ui.IWorkbenchWindow window) getSelection(org.eclipse.ui.IWorkbenchWindow window) getSelectionForNewWizard(org.eclipse.ui.IWorkbenchWindow window, ISelection selection) Obtains a selection suitable for use by the New Wizard.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 Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
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,
nullotherwise.
-
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,
nullotherwise.
-
getEditorSelection
- Parameters:
window- workbench window.- Returns:
- the active DT editor selection for a given window if any,
nullotherwise.
-
getSelection
- Parameters:
window- workbench window.- Returns:
- the active selection for a given window if any,
nullotherwise. 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
Obtains a selection suitable for use by the New Wizard.- Parameters:
window- workbench window.selection- original selection reported by Wizard.- Returns:
- obtained selection.
-