Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Defining a search scope using criteria(Defining a search scope using criteria)
Defining a search scope using criteria [message #547160] Thu, 15 July 2010 13:50 Go to next message
Shalini Komarla is currently offline Shalini Komarla
Messages: 15
Registered: March 2010
Junior Member
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

Re: Defining a search scope using criteria [message #547859 is a reply to message #547160] Mon, 19 July 2010 16:47 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris Goldthorpe
Messages: 815
Registered: July 2009
Senior Member
It looks like you are doing the right things - did you also add criteria attributes to your table of contents?
Re: Defining a search scope using criteria [message #548114 is a reply to message #547859] Tue, 20 July 2010 13:02 Go to previous messageGo to next message
Shalini Komarla is currently offline Shalini Komarla
Messages: 15
Registered: March 2010
Junior Member
Hi Chris,

yes thank you! that was the missing component Very Happy

Regards,
Shalini
Re: Defining a search scope using criteria [message #553860 is a reply to message #548114] Thu, 19 August 2010 04:31 Go to previous messageGo to next message
Hao Zhang is currently offline Hao Zhang
Messages: 4
Registered: August 2010
Junior Member
Hi,
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
Re: Defining a search scope using criteria [message #624379 is a reply to message #548114] Thu, 19 August 2010 04:31 Go to previous message
Hao Zhang is currently offline Hao Zhang
Messages: 4
Registered: August 2010
Junior Member
Hi,
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
Previous Topic:brand image in over-view and samples page
Next Topic:Is the infocenter supported on Firefox 3.5?
Goto Forum:
  


Current Time: Wed Apr 23 19:44:13 EDT 2014

Powered by FUDForum. Page generated in 0.01852 seconds