Skip to main content


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 [message #624229] Thu, 15 July 2010 17:50 Go to next message
Shalini Komarla is currently offline Shalini KomarlaFriend
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 #624232 is a reply to message #624229] Mon, 19 July 2010 20:47 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
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 #624233 is a reply to message #624232] Tue, 20 July 2010 17:02 Go to previous message
Shalini Komarla is currently offline Shalini KomarlaFriend
Messages: 15
Registered: March 2010
Junior Member
Hi Chris,

yes thank you! that was the missing component :d

Regards,
Shalini
Previous Topic:Standalone help -- necessary download unavailable
Next Topic:The reference to entity "id" must end with the ';' delimiter. Bug?
Goto Forum:
  


Current Time: Thu Apr 25 07:47:04 GMT 2024

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

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

Back to the top