<!ELEMENT extension (provider)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT provider EMPTY>
<!ATTLIST provider
id CDATA #REQUIRED
class CDATA #REQUIRED
name CDATA #IMPLIED
ranking CDATA #IMPLIED>
IBookmarkProvider
.ranking
to determine a preferred bookmark provider at runtime. If the runtime code looking for a bookmark provider doesn't care about the provider name then only ranking
will used.Integer.MAX_VALUE
) the more likely the bookmark provider will be chosen. If there is more than one bookmark provider with the same rank (and that rank is the highest) it is undefined which bookmark provider will be chosen since it will depend on the order the plugin.xml files are processed.<extension point=
"com.ibm.rcp.ui.bookmarkProvider"
id=
"com.xyz.launcher.bookmark.test"
name=
"A bookmark provider test"
>
<provider class=
"com.xyz.launcher.bookmark.tests.TestBookmarkProvider"
id=
"com.xyz.launcher.bookmark.testprovider"
name=
"My test bookmark provider"
ranking=
"16"
/>
</extension>
com.ibm.rcp.ui.bookmark.IBookmarkProvider
.
Licensed Materials - Property of IBM
5724-R09
(C) Copyright IBM Corp. 2006 All Rights Reserved.