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 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 #624232 is a reply to message #624229] 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 #624233 is a reply to message #624232] Tue, 20 July 2010 13:02 Go to previous 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 :d

Regards,
Shalini
Previous Topic:mailto links don't work in help view under OS X
Next Topic:The reference to entity "id" must end with the ';' delimiter. Bug?
Goto Forum:
  


Current Time: Sun Aug 31 04:38:37 EDT 2014

Powered by FUDForum. Page generated in 0.01758 seconds