Element Selection Providers Extension Point
Identifier:
org.eclipse.gmf.runtime.common.ui.services.elementSelection
Description:
This extension point facilitates the configuration of providers for the element selection service (
org.eclipse.gmf.runtime.common.ui.services.elementselection.ElementSelectionService). Using this extension point, providers are registered to provide a list of element for the element selection composite and element selection dialog.
Configuration Markup:
<!ELEMENT extension (
ElementSelectionProvider)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
>
-
point - The identifier of the extension point, i.e. org.eclipse.gmf.runtime.common.ui.services.elementSelectionProviders.
-
id - The identifier of the extension, e.g. elementSelectionProviders.
-
name - The name of the extension, e.g. %ext.elementSelectionProviders.
<!ELEMENT ElementSelectionProvider (
Priority ,
Policy?)>
<!ATTLIST ElementSelectionProvider
class CDATA #REQUIRED
>
-
class - Fully qualified string containing the provider class.
<!ELEMENT Priority EMPTY>
<!ATTLIST Priority
name (Lowest|Low|Medium|High|Highest)
>
-
name - The provider priority as a String, which is one of Lowest, Low, Medium, High, or Highest.
<!ELEMENT Policy EMPTY>
<!ATTLIST Policy
class CDATA #REQUIRED
>
-
class - The provider policy class. Provider policies can optionally be associated with providers to determine whether the providers provide a given operation.
Examples:
Following is an example of a element selection provider extension:
<extension
id=
"elementSelectionProviders"
name=
"%ext.elementSelectionProviders"
point=
"org.eclipse.gmf.runtime.common.ui.services.elementSelectionProviders"
>
<elementSelectionProvider
class=
"org.eclipse.uml.ui.internal.providers.elementselection.UMLElementSelectionProvider"
>
<Priority
name=
"Highest"
>
</Priority>
</elementSelectionProvider>
</extension>
Copyright (c) 2005 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-v10.html