Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 176df3b1ed2832b7e4e73da1f3629c543e2de9fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<?xml version="1.0" encoding="UTF-8"?>

<!-- ======================================================================= -->
<!-- Search Plugin                                                           -->
<!-- ======================================================================= -->
<plugin
	name="%pluginName"
	id="org.eclipse.search"
	version="2.0.0"
	provider-name="%providerName"
	class="org.eclipse.search.internal.ui.SearchPlugin">

<requires>
  <import plugin="org.apache.xerces"/>
  <import plugin="org.eclipse.core.resources"/>
  <import plugin="org.eclipse.team.core"/>
  <import plugin="org.eclipse.ui"/>
</requires>

<runtime>
	<library name="search.jar" >
		<export name = "*"/>
	</library>
</runtime>


<!-- Search extension point definitions -->

<extension-point name="%searchPages" id="searchPages"/>
<extension-point name="%searchResultSorters" id="searchResultSorters"/>


<!-- Extensions -->

<extension id="searchmarker" point="org.eclipse.core.resources.markers" name="%searchMarker">
	<super type="org.eclipse.core.resources.textmarker"/>
	<attribute name="line"/>
	<attribute name="potentialMatch"/>
</extension>

<extension 
	point="org.eclipse.ui.markerImageProviders">
	<imageprovider 
		id="org.eclipse.ui.searchMarkerProvider"
		markertype="org.eclipse.search.searchmarker"
		icon="icons/full/obj16/searchm_obj.gif">
	</imageprovider>
</extension>

<extension point="org.eclipse.ui.actionSets">
	<actionSet
		id="org.eclipse.search.searchActionSet"
        label="%search"
		visible="true">

		<!-- =================================================================== -->
		<!-- Search Menu                                                         -->
		<!-- =================================================================== -->
		
      	<menu
            id="org.eclipse.search.menu"
            label="%searchMenu.label"
            path="navigate">
			<groupMarker name="internalDialogGroup"/>   <!-- not to be used by clients  -->
			<groupMarker name="dialogGroup"/>           <!-- to be used by clients      -->
         	<separator name="contextMenuActionsGroup"/>
      	</menu>
      	
      	<!-- dialog group  -->
		<action id="org.eclipse.search.OpenFileSearchPage"
			menubarPath="org.eclipse.search.menu/internalDialogGroup"
			label="%openFileSearchPageAction.label"
			icon="icons/full/obj16/tsearch_obj.gif"
			class="org.eclipse.search.internal.ui.OpenFileSearchPageAction"/>

		<action id="org.eclipse.search.OpenSearchDialog"
			toolbarPath="Normal/Search"			
			menubarPath="org.eclipse.search.menu/internalDialogGroup"
			label="%openSearchDialogAction.label"
			tooltip="%openSearchDialogAction.tooltip"
			icon="icons/full/ctool16/search.gif"
			accelerator="Ctrl+H"
			class="org.eclipse.search.internal.ui.OpenSearchDialogAction"/>

     </actionSet>
</extension>

<extension point="org.eclipse.ui.views">
	<view
	   id="org.eclipse.search.SearchResultView"
	   name="%searchResultViewName"
	   category="org.eclipse.ui"
	   class="org.eclipse.search.internal.ui.SearchResultView"
	   icon="icons/full/cview16/searchres.gif">
	</view>
</extension>

<extension point="org.eclipse.search.searchPages">
	<page
		id="org.eclipse.search.internal.ui.text.TextSearchPage"
		label="%fileSearch"
		icon="icons/full/obj16/tsearch_obj.gif"
		sizeHint="250,160"
		tabPosition="1"
		extensions="*:1"
		showScopeSection="true"		
		class="org.eclipse.search.internal.ui.text.TextSearchPage">
	</page>
</extension>

<extension point="org.eclipse.search.searchResultSorters">
	<sorter
		id="org.eclipse.search.internal.ui.ResourcenameSorter"
		pageId="org.eclipse.search.internal.ui.text.TextSearchPage"
		label="%ResourcenameSorter.label"
		tooltip="%ResourcenameSorter.tooltip"
		icon="icons/full/clcl16/search_sortmatch.gif"
		class="org.eclipse.search.internal.ui.text.ResourcenameSorter">
	</sorter>
	<sorter
		id="org.eclipse.search.internal.ui.ResourcePathSorter"
		pageId="org.eclipse.search.internal.ui.text.TextSearchPage"
		label="%ResourcePathSorter.label"
		tooltip="%ResourcePathSorter.tooltip"
		icon="icons/full/clcl16/search_sortmatch.gif"
		class="org.eclipse.search.internal.ui.text.ResourcePathSorter">
	</sorter>
</extension>

<extension
	point="org.eclipse.ui.preferencePages">
	<page name="%SearchPreferencePage.label"
		id="org.eclipse.search.preferences.SearchPreferencePage"
		class="org.eclipse.search.internal.ui.SearchPreferencePage"
		category="org.eclipse.ui.preferencePages.Workbench">
	</page>
</extension>

</plugin>

Back to the top