2
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
<!--
|
|
3 |
Copyright 2007 Nokia and others. All rights reserved.
|
|
4 |
This program and the accompanying materials are made available under the terms
|
|
5 |
of the Eclipse Public License v1.0 which accompanies this distribution, and is
|
|
6 |
available at http://www.eclipse.org/legal/epl-v10.html
|
|
7 |
-->
|
|
8 |
<?eclipse version="3.0"?>
|
|
9 |
|
|
10 |
<!-- ======================================================================= -->
|
|
11 |
<!-- Search Plugin -->
|
|
12 |
<!-- ======================================================================= -->
|
|
13 |
<plugin>
|
|
14 |
|
|
15 |
<!-- Search extension point definitions -->
|
|
16 |
<extension-point name="%searchPages" id="searchPages" schema="schema/searchPages.exsd"/>
|
|
17 |
<extension-point name="%searchResultSorters" id="searchResultSorters" schema="schema/searchResultSorters.exsd"/>
|
|
18 |
<extension-point name="%searchResultViewPages" id="searchResultViewPages" schema="schema/searchResultViewPages.exsd"/>
|
|
19 |
<extension-point name="%textSearchEngine" id="textSearchEngine" schema="schema/textSearchEngine.exsd"/>
|
|
20 |
<extension-point name="%textSearchQueryProvider" id="textSearchQueryProvider" schema="schema/textSearchQueryProvider.exsd"/>
|
|
21 |
|
|
22 |
<!-- Preference Page Additions -->
|
|
23 |
<extension
|
|
24 |
point="org.eclipse.ui.preferencePages">
|
|
25 |
<page name="%SearchPreferencePage.label"
|
|
26 |
id="com.nokia.carbide.search.system.preferences.SearchPreferencePage"
|
|
27 |
class="com.nokia.carbide.search.system.internal.ui.SearchPreferencePage">
|
|
28 |
<keywordReference id="com.nokia.carbide.search.system.ui.systemSearch"/>
|
|
29 |
<keywordReference id="com.nokia.carbide.search.system.preferences.SearchPreferencePage"/>
|
|
30 |
</page>
|
|
31 |
</extension>
|
|
32 |
<!-- Search Menu Additions -->
|
|
33 |
<extension point="org.eclipse.ui.actionSets">
|
|
34 |
<actionSet
|
|
35 |
label="%search"
|
|
36 |
id="com.nokia.carbide.search.system.searchActionSet"
|
|
37 |
description="Action set for system search actions"
|
|
38 |
visible="true">
|
|
39 |
|
|
40 |
<!-- =================================================================== -->
|
|
41 |
<!-- Search Menu -->
|
|
42 |
<!-- =================================================================== -->
|
|
43 |
|
|
44 |
<menu
|
|
45 |
id="org.eclipse.search.menu"
|
|
46 |
label="Se&arch"
|
|
47 |
path="navigate">
|
|
48 |
<groupMarker name="internalDialogGroup"/>
|
|
49 |
<groupMarker name="dialogGroup"/>
|
|
50 |
</menu>
|
|
51 |
|
|
52 |
<!-- dialog group -->
|
|
53 |
<action
|
|
54 |
label="%openFileSearchPageAction.label"
|
|
55 |
id="com.nokia.carbide.search.system.OpenFileSearchPage"
|
|
56 |
tooltip="Open System Search dialog for text and file searching outside the workspace"
|
|
57 |
icon="$nl$/icons/full/obj16/system_search.gif"
|
|
58 |
helpContextId="system_search_action_context"
|
|
59 |
class="com.nokia.carbide.search.system.internal.ui.OpenSystemSearchPageAction"
|
|
60 |
menubarPath="org.eclipse.search.menu/dialogGroup"
|
|
61 |
definitionId="com.nokia.carbide.search.system.ui.openSystemSearchPage"/>
|
|
62 |
</actionSet>
|
|
63 |
</extension>
|
|
64 |
<!-- Key binding -->
|
|
65 |
<extension point="org.eclipse.ui.bindings">
|
|
66 |
<key
|
|
67 |
sequence="Alt+Shift+G"
|
|
68 |
commandId="com.nokia.carbide.search.system.ui.openSystemSearchPage"
|
|
69 |
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
|
|
70 |
/>
|
|
71 |
</extension>
|
|
72 |
<!-- Search Dialog Page -->
|
|
73 |
<extension
|
|
74 |
point="org.eclipse.search.searchPages">
|
|
75 |
<page
|
|
76 |
label="System Search"
|
|
77 |
showScopeSection="false"
|
|
78 |
canSearchEnclosingProjects="false"
|
|
79 |
enabled="true"
|
|
80 |
tabPosition="0"
|
|
81 |
extensions="*:100"
|
|
82 |
icon="$nl$/icons/full/obj16/system_search.gif"
|
|
83 |
class="com.nokia.carbide.search.system.internal.ui.text.TextSearchPage"
|
|
84 |
sizeHint="300,200"
|
|
85 |
id="com.nokia.carbide.search.system.internal.ui.text.TextSearchPage"
|
|
86 |
>
|
|
87 |
</page>
|
|
88 |
</extension>
|
|
89 |
<!-- class="com.nokia.search.ui.search.OpenPluginSearchPageAction" -->
|
|
90 |
<!-- Search View -->
|
|
91 |
<extension
|
|
92 |
point="org.eclipse.ui.views">
|
|
93 |
<category
|
|
94 |
name="System Search"
|
|
95 |
id="com.nokia.search.ui.view">
|
|
96 |
</category>
|
|
97 |
<view
|
|
98 |
name="%newSearchResultViewName"
|
|
99 |
icon="$nl$/icons/full/obj16/system_search.gif"
|
|
100 |
category="com.nokia.search.ui.view"
|
|
101 |
class="com.nokia.carbide.search.system2.internal.ui.SearchView"
|
|
102 |
allowMultiple="true"
|
|
103 |
id="com.nokia.carbide.search.system.ui.views.SearchView">
|
|
104 |
</view>
|
|
105 |
</extension>
|
|
106 |
|
|
107 |
<!-- Extensions -->
|
|
108 |
|
|
109 |
<extension point="org.eclipse.core.resources.markers" id="searchmarker" name="%searchMarker">
|
|
110 |
<super type="org.eclipse.core.resources.textmarker"/>
|
|
111 |
<attribute name="line"/>
|
|
112 |
<attribute name="potentialMatch"/>
|
|
113 |
</extension>
|
|
114 |
|
|
115 |
<extension point="org.eclipse.ui.editors.annotationTypes">
|
|
116 |
<type
|
|
117 |
name="com.nokia.carbide.search.system.results"
|
|
118 |
markerType="com.nokia.carbide.search.system.searchmarker">
|
|
119 |
</type>
|
|
120 |
</extension>
|
|
121 |
|
|
122 |
<extension
|
|
123 |
point="org.eclipse.ui.ide.markerImageProviders">
|
|
124 |
<imageprovider
|
|
125 |
id="org.eclipse.ui.searchMarkerProvider"
|
|
126 |
markertype="com.nokia.carbide.search.system.searchmarker"
|
|
127 |
icon="$nl$/icons/full/obj16/searchm_obj.gif">
|
|
128 |
</imageprovider>
|
|
129 |
</extension>
|
|
130 |
|
|
131 |
<extension point="org.eclipse.core.resources.markers" id="filteredsearchmarker" name="%filteredSearchMarker">
|
|
132 |
<super type="org.eclipse.core.resources.textmarker"/>
|
|
133 |
<attribute name="line"/>
|
|
134 |
<attribute name="potentialMatch"/>
|
|
135 |
</extension>
|
|
136 |
|
|
137 |
<extension point="org.eclipse.ui.editors.annotationTypes">
|
|
138 |
<type
|
|
139 |
name="com.nokia.carbide.search.system.filteredResults"
|
|
140 |
markerType="com.nokia.carbide.search.system.filteredsearchmarker">
|
|
141 |
</type>
|
|
142 |
</extension>
|
|
143 |
|
|
144 |
<extension
|
|
145 |
point="org.eclipse.ui.ide.markerImageProviders">
|
|
146 |
<imageprovider
|
|
147 |
id="org.eclipse.ui.filteredSearchMarkerProvider"
|
|
148 |
markertype="com.nokia.carbide.search.system.filteredSearchmarker"
|
|
149 |
icon="$nl$/icons/full/obj16/searchm_obj.gif">
|
|
150 |
</imageprovider>
|
|
151 |
</extension>
|
|
152 |
|
|
153 |
<extension point="org.eclipse.ui.commands">
|
|
154 |
<category
|
|
155 |
name="%searchCategory.name"
|
|
156 |
description="%searchCategory.description"
|
|
157 |
id="com.nokia.carbide.search.system.ui.category.search"
|
|
158 |
/>
|
|
159 |
|
|
160 |
<command
|
|
161 |
categoryId="com.nokia.carbide.search.system.ui.category.search"
|
|
162 |
id="com.nokia.carbide.search.system.ui.openSystemSearchPage"
|
|
163 |
name= "%ActionDefinition.openFileSearchPage.name"
|
|
164 |
description="%ActionDefinition.openFileSearchPage.description"
|
|
165 |
/>
|
|
166 |
</extension>
|
|
167 |
|
|
168 |
<!-- Default search results view -->
|
|
169 |
<extension
|
|
170 |
id="SystemSearchPage"
|
|
171 |
point="com.nokia.carbide.search.system.searchResultViewPages">
|
|
172 |
<viewPage
|
|
173 |
id="com.nokia.carbide.search.system.text.FileSearchResultPage"
|
|
174 |
searchResultClass="com.nokia.carbide.search.system.internal.ui.text.FileSearchResult"
|
|
175 |
class="com.nokia.carbide.search.system.internal.ui.text.FileSearchPage">
|
|
176 |
</viewPage>
|
|
177 |
</extension>
|
|
178 |
|
|
179 |
<extension
|
|
180 |
point="org.eclipse.ui.keywords">
|
|
181 |
<keyword
|
|
182 |
label="%preferenceKeywords.general"
|
|
183 |
id="com.nokia.carbide.search.system.ui"/>
|
|
184 |
</extension>
|
|
185 |
|
|
186 |
<extension
|
|
187 |
point="org.eclipse.ui.editors.markerAnnotationSpecification">
|
|
188 |
<specification
|
|
189 |
annotationType="com.nokia.carbide.search.system.results"
|
|
190 |
label="%SearchMarkerPreference.label"
|
|
191 |
icon="$nl$/icons/full/obj16/searchm_obj.gif"
|
|
192 |
textPreferenceKey="searchResultIndication"
|
|
193 |
textPreferenceValue="false"
|
|
194 |
highlightPreferenceKey="searchResultHighlighting"
|
|
195 |
highlightPreferenceValue="true"
|
|
196 |
overviewRulerPreferenceKey="searchResultIndicationInOverviewRuler"
|
|
197 |
overviewRulerPreferenceValue="true"
|
|
198 |
verticalRulerPreferenceKey="searchResultIndicationInVerticalRuler"
|
|
199 |
verticalRulerPreferenceValue="true"
|
|
200 |
colorPreferenceKey="searchResultIndicationColor"
|
|
201 |
colorPreferenceValue="206,204,247"
|
|
202 |
presentationLayer="3"
|
|
203 |
showInNextPrevDropdownToolbarActionKey="showSearchResultInNextPrevDropdownToolbarAction"
|
|
204 |
showInNextPrevDropdownToolbarAction="true"
|
|
205 |
isGoToNextNavigationTargetKey="isSearchResultGoToNextNavigationTarget"
|
|
206 |
isGoToNextNavigationTarget="false"
|
|
207 |
isGoToPreviousNavigationTargetKey="isSearchResultGoToPreviousNavigationTarget"
|
|
208 |
isGoToPreviousNavigationTarget="false">
|
|
209 |
</specification>
|
|
210 |
<specification
|
|
211 |
annotationType="com.nokia.carbide.search.system.filteredResults"
|
|
212 |
label="%FilteredSearchMarkerPreference.label"
|
|
213 |
icon="$nl$/icons/full/obj16/searchm_obj.gif"
|
|
214 |
textPreferenceKey="filteredSearchResultIndication"
|
|
215 |
textPreferenceValue="false"
|
|
216 |
highlightPreferenceKey="filteredSearchResultHighlighting"
|
|
217 |
highlightPreferenceValue="false"
|
|
218 |
overviewRulerPreferenceKey="filteredSearchResultIndicationInOverviewRuler"
|
|
219 |
overviewRulerPreferenceValue="false"
|
|
220 |
verticalRulerPreferenceKey="filteredSearchResultIndicationInVerticalRuler"
|
|
221 |
verticalRulerPreferenceValue="false"
|
|
222 |
colorPreferenceKey="filteredSearchResultIndicationColor"
|
|
223 |
colorPreferenceValue="237,237,252"
|
|
224 |
presentationLayer="3"
|
|
225 |
showInNextPrevDropdownToolbarActionKey="showFilteredSearchResultInNextPrevDropdownToolbarAction"
|
|
226 |
showInNextPrevDropdownToolbarAction="false"
|
|
227 |
isGoToNextNavigationTargetKey="isFilteredSearchResultGoToNextNavigationTarget"
|
|
228 |
isGoToNextNavigationTarget="false"
|
|
229 |
isGoToPreviousNavigationTargetKey="isFilteredSearchResultGoToPreviousNavigationTarget"
|
|
230 |
isGoToPreviousNavigationTarget="false">
|
|
231 |
</specification>
|
|
232 |
</extension>
|
|
233 |
|
|
234 |
<extension point="org.eclipse.core.runtime.adapters">
|
|
235 |
<factory
|
|
236 |
class="com.nokia.carbide.search.system.internal.ui.SearchResultViewEntryAdapterFactory"
|
|
237 |
adaptableType="com.nokia.carbide.search.system.ui.ISearchResultViewEntry">
|
|
238 |
<adapter type="org.eclipse.core.resources.IResource"/>
|
|
239 |
<adapter type="org.eclipse.core.resources.IMarker"/>
|
|
240 |
</factory>
|
|
241 |
</extension>
|
|
242 |
<extension
|
|
243 |
point="org.eclipse.core.runtime.preferences">
|
|
244 |
<initializer class="com.nokia.carbide.search.system.internal.ui.SearchPreferenceInitializer"/>
|
|
245 |
</extension>
|
|
246 |
</plugin>
|