|Defining a search scope using criteria [message #547160]
||Thu, 15 July 2010 13:50
| Shalini Komarla
Registered: March 2010
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:
2. Created a criteria.xml file for every topic that basically looks like this:
<criterion id="version" name ="Version">
<criterion-value id="1.0" name ="1.0"/>
<criterion-value id="2.0" name ="2.0"/>
<criterion id="product" name ="Product">
<criterion-value id="DB2" name ="DB2"/>
<criterion-value id="WAS" name ="WAS"/>
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?
|Re: Defining a search scope using criteria [message #624379 is a reply to message #548114]
||Thu, 19 August 2010 04:31
| Hao Zhang
Registered: August 2010
Also pay attention to:
It is important to ensure that parent topics contain all of the criteria of any of their children, the parent and child will not show in the table of contents if filtered using criteria which only the child satisfies.
You can refer to the help doc of criteria.
And if any suggestion on criteria relationship(parent & chidlren), please let us know, we want to enhance it in next release
Powered by FUDForum
. Page generated in 0.01663 seconds