Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse GMF Guide
Previous Page Home Next Page

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


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire