diff options
author | Dejan Gloszic | 2005-03-23 22:50:11 +0000 |
---|---|---|
committer | Dejan Gloszic | 2005-03-23 22:50:11 +0000 |
commit | e8706a17975f2efa3560a9914fc5f7efd55ad584 (patch) | |
tree | 603088089bf200428e0a5822c698be91e194862c /org.eclipse.help/schema | |
parent | c63b95faddc62d46c0728ce279ccf33236a53702 (diff) | |
download | eclipse.platform.ua-e8706a17975f2efa3560a9914fc5f7efd55ad584.tar.gz eclipse.platform.ua-e8706a17975f2efa3560a9914fc5f7efd55ad584.tar.xz eclipse.platform.ua-e8706a17975f2efa3560a9914fc5f7efd55ad584.zip |
*** empty log message ***
Diffstat (limited to 'org.eclipse.help/schema')
-rw-r--r-- | org.eclipse.help/schema/toc.exsd | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/org.eclipse.help/schema/toc.exsd b/org.eclipse.help/schema/toc.exsd index 0c6703d88..975f17b84 100644 --- a/org.eclipse.help/schema/toc.exsd +++ b/org.eclipse.help/schema/toc.exsd @@ -24,6 +24,7 @@ the plugin.xml file should extend the <tt>org.eclipse.help.toc</tt> point and specify TOC file(s).</li> </ul> </ul> +<p>Optionally, a search index can be prebuilt and registered using <code>index</code> element in order to performance of the first search attempt. Only one index per plug-in can be registered - multiple <code>index</code> elements will result in undefined behaviour. </documentation> </annotation> @@ -31,6 +32,7 @@ point and specify TOC file(s).</li> <complexType> <sequence> <element ref="toc" minOccurs="0" maxOccurs="unbounded"/> + <element ref="index" minOccurs="0" maxOccurs="1"/> </sequence> <attribute name="point" type="string" use="required"> <annotation> @@ -175,6 +177,26 @@ the documentation search, even if <samp>topic</samp> elements in the </complexType> </element> + <element name="index"> + <annotation> + <documentation> + (<b>since 3.1</b>) an optional element that allows declaration of prebuilt search index created from documents contributed by this plug-in. + </documentation> + </annotation> + <complexType> + <attribute name="path" type="string" use="required"> + <annotation> + <documentation> + a plug-in-relative path of the prebuilt search index. The index referenced by the path must exist. Missing index will be flagged in the log file. Note that each locale must have a different index. If a plug-in contributes index directories for multiple locales, it should append the locale using standard Eclipse NLS lookup. (e.g. <code>index/</code>, <code>nl/ja/JP/index/</code>, <code>nl/en/US/index/</code> etc.). + </documentation> + <appInfo> + <meta.attribute kind="resource"/> + </appInfo> + </annotation> + </attribute> + </complexType> + </element> + <annotation> <appInfo> <meta.section type="examples"/> @@ -188,6 +210,7 @@ the documentation search, even if <samp>topic</samp> elements in the <toc file="maindocs.html" primary="true"/> <toc file="task.xml"/> <toc file="sample.xml" extradir="samples"/> + <index path="index/"/> </extension> </pre> </p> @@ -287,7 +310,7 @@ files mentioned in the plugin.xml file. <meta.section type="copyright"/> </appInfo> <documentation> - Copyright (c) 2000, 2003 IBM Corporation and others.<br> + Copyright (c) 2000, 2005 IBM Corporation and others.<br> All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> |