--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/core/com.nokia.carbide.search.system/schema/searchResultViewPages.exsd Fri Apr 03 23:33:03 2009 +0100
@@ -0,0 +1,152 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="com.nokia.carbide.search.system">
+<annotation>
+ <appInfo>
+ <meta.schema plugin="com.nokia.carbide.search.system" id="searchResultViewPages" name="System Search Result View Pages"/>
+ </appInfo>
+ <documentation>
+ This extension point allows clients to plug pages into the search result view.
+ </documentation>
+ </annotation>
+
+ <element name="extension">
+ <annotation>
+ <documentation>
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence minOccurs="1" maxOccurs="unbounded">
+ <element ref="viewPage"/>
+ </sequence>
+ <attribute name="point" type="string" use="required">
+ <annotation>
+ <documentation>
+ a fully qualified identifier of the target extension point
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="id" type="string">
+ <annotation>
+ <documentation>
+ an optional identifier of the extension instance
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="viewPage">
+ <annotation>
+ <documentation>
+ </documentation>
+ </annotation>
+ <complexType>
+ <attribute name="searchResultClass" type="string" use="required">
+ <annotation>
+ <documentation>
+ The fully qualified class name of the <code>ISearchResult</code> implementation this search result page supposed to show.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn="com.nokia.carbide.search.system.ui.ISearchResult"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="class" type="string" use="required">
+ <annotation>
+ <documentation>
+ the fully qualified class name implementing this search result page. The class must implement <code>com.nokia.carbide.search.system.ui.ISearchResultPage</code>.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn="com.nokia.carbide.search.system.ui.ISearchResultPage"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ the id, typically the same as the fully qualified class name
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="label" type="string">
+ <annotation>
+ <documentation>
+ a translatable label that can be used in the search result page to list all available search result views. It is currently not used but might be in the future.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="icon" type="string">
+ <annotation>
+ <documentation>
+ an icon that can be used in the search result page in a list of all available search result views. It is currently not used but might be in the future.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="resource"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="since"/>
+ </appInfo>
+ <documentation>
+ 3.0
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="examples"/>
+ </appInfo>
+ <documentation>
+ As an example, here is the markup for the file search result page.
+
+<p>
+<pre>
+<extension
+ id="FileSearchPage"
+ point="com.nokia.carbide.search.systemResultViewPages">
+ <viewPage
+ id="com.nokia.carbide.search.system.text.FileSearchResultPage"
+ searchResultClass="com.nokia.carbide.search.system.internal.ui.text.FileSearchResult"
+ class="com.nokia.carbide.search.system.internal.ui.text.FileSearchPage">
+ </viewPage>
+</extension>
+</pre>
+</p>
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="apiInfo"/>
+ </appInfo>
+ <documentation>
+ The contributed class must implement <code>com.nokia.carbide.search.system.ui.ISearchResultPage</code>
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="implementation"/>
+ </appInfo>
+ <documentation>
+ The search plugin provide a search result page for file searches.
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="copyright"/>
+ </appInfo>
+ <documentation>
+ Copyright (c) 2001, 2004 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>
+ </documentation>
+ </annotation>
+
+</schema>