Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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:Standalone help -- necessary download unavailable
Next Topic:The reference to entity "id" must end with the ';' delimiter. Bug?
Goto Forum:
  


Current Time: Tue Jul 22 11:50:04 EDT 2025

Powered by FUDForum. Page generated in 0.04970 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top