Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to use the extension-point org.eclipse.ui.keywords?
How to use the extension-point org.eclipse.ui.keywords? [message #294152] Fri, 04 November 2005 09:53 Go to next message
Eclipse UserFriend
The ext-point docs do not explain it. I only had the idea that this ext-point could be useful
because in https://bugs.eclipse.org/bugs/show_bug.cgi?id=106858#c3 Nick Edgar said that if one
extended this ext.-point, one could get the Prefs-Dialog "filter" to find one's own Pref-Page. But
doing the obvious thing does not work at all:

<extension
id="biz.bux.png.saw2.keywords"
point="org.eclipse.ui.keywords">
<keyword
id="biz.bux.png.saw2.keyword1"
label="type-system"/>
<keyword
id="biz.bux.png.saw2.keyword2"
label="Types"/>
</extension>

<extension
point="org.eclipse.ui.preferencePages">
<page
class="biz.bux.png.saw2.Preferences"
id="biz.bux.png.saw2.prefPage"
name="My Preferences">
<keywordReference id="biz.bux.png.saw2.keywords"/>
</page>
</extension>

When entering "Types" or "type-system" into the filter, my pref-page is not found.

So, how do I do it?

thanks,
Paul
Re: How to use the extension-point org.eclipse.ui.keywords? [message #294157 is a reply to message #294152] Fri, 04 November 2005 10:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: douglas.pollock.magma.ca

Paul Keyser wrote:
> <extension
> id="biz.bux.png.saw2.keywords"
> point="org.eclipse.ui.keywords">
> <keyword
> id="biz.bux.png.saw2.keyword1"
> label="type-system"/>
> <keyword
> id="biz.bux.png.saw2.keyword2"
> label="Types"/>
> </extension>
>
> <extension
> point="org.eclipse.ui.preferencePages">
> <page
> class="biz.bux.png.saw2.Preferences"
> id="biz.bux.png.saw2.prefPage"
> name="My Preferences">
> <keywordReference id="biz.bux.png.saw2.keywords"/>

Replace the above with:

<keywordReference id="biz.bux.png.saw2.keyword1"/>
<keywordReference id="biz.bux.png.saw2.keyword2"/>

> </page>
> </extension>



cheers,
d.
Re: How to use the extension-point org.eclipse.ui.keywords? [message #294160 is a reply to message #294157] Fri, 04 November 2005 10:30 Go to previous message
Eclipse UserFriend
Excellent! I knew I was doing something wrong that would be simple to fix, just did not think of
that fix. (Maybe the docco could be clarified, just a little bit?)

thanks,
paul
Previous Topic:Java version?
Next Topic:Java EMF Model (1.1.0) requires feature "org.eclipse.jdt (3.1.0)", or compatible
Goto Forum:
  


Current Time: Tue Jul 15 18:27:46 EDT 2025

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

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

Back to the top