Keyword Index



For registering a keyword index for contributed help content.

Configuration Markup:

<!ELEMENT extension (index | indexProvider)+>

<!ATTLIST extension





<!ATTLIST index


an index contribution made by supplying an XML file

<!ELEMENT indexProvider EMPTY>

<!ATTLIST indexProvider


(since 3.3) an index contribution made by plugging in code

The following is an example of using the index extension point.

(in file plugin.xml)

 <extension point="">
     <indexProvider class="com.myplugin.MyIndexProvider"/>
 <extension point="">
     <index file="index.xml"/>

(in file index.xml)

    <entry keyword="Vehicle">
        <topic href="inventory_of_wheel.html"/>
        <entry keyword="Car">
            <topic href="car.html"/>
        <entry keyword="Ship">
            <topic href="ship.html"/>
        <entry keyword="Airplane">
            <topic href="airplane.html" title="History of aviation"/>
            <topic href="jet.html" title="Jet engine"/>
    <entry keyword="Engine">
        <entry keyword="Horse">
            <topic href="horse.html"/>
        <entry keyword="Steamer">
            <topic href="steamer.html"/>
        <entry keyword="Wankel engine">
            <topic href="wankel.html"/>
        <entry keyword="Jet engine">
            <topic href="jet.html"/>
    <entry keyword="Electricity">
        <topic href="electricity.html"/>

Internationalization The index XML files can be translated and the resulting copy (with translated keywords) should be placed in nl/<language>/<country> or nl/<language> directory. The <language> and <country> stand for two letter language and country codes as used in locale codes. For example, Traditional Chinese translations should be placed in the nl/zh/TW directory. The nl/<language>/<country> directory has a higher priority than nl/<language>. Only if no file is found in the nl/<language>/<country>, the file residing in nl/<language> will be used. The the root directory of a plugin will be searched last.

API Information:
An implementation of must be supplied if a indexProvider is used.

Supplied Implementation:
The default implementation of the help system UI supplied with the Eclipse platform fully supports the index extension point.

Copyright (c) 2006 Intel Corporation and others.
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at SPDX-License-Identifier: EPL-2.0