| <?xml version='1.0' encoding='UTF-8'?> | |
| <!-- Schema file written by PDE --> | |
| <schema targetNamespace="org.eclipse.search"> | |
| <annotation> | |
| <appInfo> | |
| <meta.schema plugin="org.eclipse.search" id="searchResultViewPages" name="Search Result View Pages"/> | |
| </appInfo> | |
| <documentation> | |
| This extension point allows clients to plug pages into the search result view. | |
| </documentation> | |
| </annotation> | |
| <element name="extension"> | |
| <complexType> | |
| <sequence> | |
| <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"> | |
| <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="org.eclipse.search.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>org.eclipse.search.ui.ISearchResultPage</code>. | |
| </documentation> | |
| <appInfo> | |
| <meta.attribute kind="java" basedOn="org.eclipse.search.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> | |
| </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="org.eclipse.search.searchResultViewPages"> | |
| <viewPage | |
| id="org.eclipse.search.text.FileSearchResultPage" | |
| searchResultClass="org.eclipse.search.internal.ui.text.FileSearchResult" | |
| class="org.eclipse.search.internal.ui.text.FileSearchPage"> | |
| </viewPage> | |
| </extension> | |
| </pre> | |
| </p> | |
| </documentation> | |
| </annotation> | |
| <annotation> | |
| <appInfo> | |
| <meta.section type="apiInfo"/> | |
| </appInfo> | |
| <documentation> | |
| The contributed class must implement <code>org.eclipse.search.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 Common Public License v1.0 which accompanies this distribution, and is available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a> | |
| </documentation> | |
| </annotation> | |
| </schema> |