Defining a search scope using criteria [message #624229] |
Thu, 15 July 2010 13:50  |
Eclipse User |
|
|
|
Hi All,
I am trying to enable scoping using criteria, but have been unsuccesful so far; Wondering if anybody in this forum has gotten this to work yet? Here's what I've done:
1. Added the extension point to the plugin.xml file for each topic:
<extension point="org.eclipse.help.criteriaDefinition">
<criteriaDefinition file="criteria.xml"/>
</extension>
2. Created a criteria.xml file for every topic that basically looks like this:
<criteriaDefinition>
<criterion id="version" name ="Version">
<criterion-value id="1.0" name ="1.0"/>
<criterion-value id="2.0" name ="2.0"/>
</criterion>
<criterion id="product" name ="Product">
<criterion-value id="DB2" name ="DB2"/>
<criterion-value id="WAS" name ="WAS"/>
</criterion>
</criteriaDefinition>
3. Set the preferences to enable criteria:
org.eclipse.help/enableCriteria = true
org.eclipse.help/supportedCriteria = platform,version
After making these changes, I started eclipse using eclipse -clean, but the scope window shows up only with the topic section and not the criteria section.
What might I be missing?
thanks,
Shalini
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05675 seconds