<!ELEMENT extension (PropertiesProvider)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT PropertiesProvider (Priority)>
<!ATTLIST PropertiesProvider
class CDATA #REQUIRED
verifyPluginLoaded (true | false) >
A property provider element describes a client defined property provider object.
<!ELEMENT Priority EMPTY>
<!ATTLIST Priority
name (Lowest|Low|Medium|High|Highest) >
Priority element specifies the priority of the provider from HIGHEST to LOWEST. The providers will be allowed to contribute to the property source in order of their priorities - from HIGHEST to LOWEST. This will ensure the desired order of contribution and helps to exclude duplicate properties, already contributed by others. For example, a provider with LOWEST priority, when executed, can check if there are any properties already contributed by any other providers. If none - it may want to contribute, if some - may want to withraw from contribution.
<extension id="myPropertiesProvider" name="My Properties Provider Name" point="org.eclipse.gmf.runtime.common.ui.services.properties.propertiesProviders"> <PropertiesProvider verifyPluginLoaded="false" class="com.examples.MyPropertiesProvider"> <Priority name="Medium"> </Priority> </PropertiesProvider> </extension>
Copyright (c) 2003, 2004 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
http://www.eclipse.org/legal/epl-v10.html