|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <?eclipse version="3.0"?> |
|
3 <plugin> |
|
4 |
|
5 <extension |
|
6 point="org.eclipse.core.runtime.products" |
|
7 id="product"> |
|
8 <product name="API Query" application="org.eclipse.ui.ide.workbench" > |
|
9 <property name="appName" value="Carbide.c++ Extensions - API Query"/> |
|
10 </product> |
|
11 </extension> |
|
12 |
|
13 <extension-point id="searchMethods" name="com.nokia.s60tools.apiquery.searchMethods" schema="schema/searchMethods.exsd"/> |
|
14 <extension |
|
15 point="org.eclipse.ui.actionSets"> |
|
16 <actionSet |
|
17 description="API Query Tool's Actions" |
|
18 id="com.nokia.s60tools.apiquery.ui.actionSet" |
|
19 label="%view.Label" |
|
20 visible="true"> |
|
21 <action |
|
22 class="com.nokia.s60tools.apiquery.ui.actions.ToolsMenuAction" |
|
23 icon="icons/apiquery_tsk.png" |
|
24 id="com.nokia.s60tools.apiquery.ui.actions.ToolsMenuAction" |
|
25 label="%view.Label" |
|
26 menubarPath="com.nokia.carbide.cpp.ui.CarbideMenu/CarbideExtensions" |
|
27 style="push" |
|
28 tooltip="%view.Tooltip"/> |
|
29 <menu |
|
30 id="com.nokia.carbide.cpp.ui.CarbideMenu" |
|
31 label="Carbide" |
|
32 path="additions"> |
|
33 <groupMarker name="additions"/> |
|
34 </menu> |
|
35 </actionSet> |
|
36 </extension> |
|
37 <extension |
|
38 point="org.eclipse.ui.views"> |
|
39 <category |
|
40 id="com.nokia.s60tools" |
|
41 name="Carbide Extensions"/> |
|
42 <stickyView |
|
43 closeable="true" |
|
44 id="com.nokia.s60tools.apiquery.ui.views.main.MainView" |
|
45 location="RIGHT" |
|
46 moveable="true"/> |
|
47 <view |
|
48 category="com.nokia.s60tools" |
|
49 class="com.nokia.s60tools.apiquery.ui.views.main.MainView" |
|
50 icon="icons/apiquery_tsk.png" |
|
51 id="com.nokia.s60tools.apiquery.ui.views.main.MainView" |
|
52 name="%view.Label"/> |
|
53 </extension> |
|
54 |
|
55 <extension |
|
56 point="org.eclipse.ui.popupMenus"> |
|
57 |
|
58 <objectContribution |
|
59 adaptable="true" |
|
60 objectClass="org.eclipse.core.resources.IProject" |
|
61 id="com.nokia.s60tools.apiquery.popup.actions.project"> |
|
62 <menu |
|
63 id="com.nokia.s60tools.apiquery.popup.project" |
|
64 label="%popups.ApiQueryMainMenu" |
|
65 path="additions"> |
|
66 <separator name="forProjectWideActions"/> |
|
67 <separator name="forIdentifierLevelActions"/> |
|
68 </menu> |
|
69 <!-- Only show action for Carbide.c++ projects. --> |
|
70 <filter |
|
71 name="projectNature" |
|
72 value="com.nokia.carbide.cdt.builder.carbideCPPBuilderNature"/> |
|
73 <action |
|
74 label="%popups.action.searchProject" |
|
75 class="com.nokia.s60tools.apiquery.popup.actions.CheckProjectAction" |
|
76 menubarPath="com.nokia.s60tools.apiquery.popup.project/forProjectWideActions" |
|
77 enablesFor="1" |
|
78 id="com.nokia.s60tools.apiquery.popup.actions.CheckProjectAction"> |
|
79 </action> |
|
80 </objectContribution> |
|
81 |
|
82 <objectContribution |
|
83 adaptable="true" |
|
84 objectClass="org.eclipse.core.resources.IFolder" |
|
85 id="com.nokia.s60tools.apiquery.popup.actions.folder"> |
|
86 <menu |
|
87 id="com.nokia.s60tools.apiquery.popup.folder" |
|
88 label="%popups.ApiQueryMainMenu" |
|
89 path="additions"> |
|
90 <separator name="forProjectWideActions"/> |
|
91 <separator name="forIdentifierLevelActions"/> |
|
92 </menu> |
|
93 <!-- Only show action for Carbide.c++ projects. --> |
|
94 <filter |
|
95 name="projectNature" |
|
96 value="com.nokia.carbide.cdt.builder.carbideCPPBuilderNature"/> |
|
97 <action |
|
98 label="%popups.action.searchProject" |
|
99 class="com.nokia.s60tools.apiquery.popup.actions.CheckProjectAction" |
|
100 menubarPath="com.nokia.s60tools.apiquery.popup.folder/forProjectWideActions" |
|
101 enablesFor="1" |
|
102 id="com.nokia.s60tools.apiquery.popup.actions.CheckProjectAction"> |
|
103 </action> |
|
104 </objectContribution> |
|
105 |
|
106 <objectContribution |
|
107 adaptable="true" |
|
108 objectClass="org.eclipse.core.resources.IFile" |
|
109 id="com.nokia.s60tools.apiquery.popup.actions.file"> |
|
110 <!-- We have to replicate the menu because this is a part of object contribution --> |
|
111 <menu |
|
112 id="com.nokia.s60tools.apiquery.popup.file" |
|
113 label="%popups.ApiQueryMainMenu"> |
|
114 <separator name="forProjectWideActions"/> |
|
115 <separator name="forIdentifierLevelActions"/> |
|
116 </menu> |
|
117 <!-- Only show action for Carbide.c++ projects. --> |
|
118 <filter |
|
119 name="projectNature" |
|
120 value="com.nokia.carbide.cdt.builder.carbideCPPBuilderNature"/> |
|
121 <visibility> |
|
122 <or> |
|
123 <objectState |
|
124 name="extension" |
|
125 value="cpp"> |
|
126 </objectState> |
|
127 <objectState |
|
128 name="extension" |
|
129 value="cp" |
|
130 /> |
|
131 <objectState |
|
132 name="extension" |
|
133 value="hpp" |
|
134 /> |
|
135 <objectState |
|
136 name="extension" |
|
137 value="h" |
|
138 /> |
|
139 <objectState |
|
140 name="extension" |
|
141 value="mmp" |
|
142 /> |
|
143 </or> |
|
144 </visibility> |
|
145 <action |
|
146 label="%popups.action.searchCRPSKey" |
|
147 class="com.nokia.s60tools.apiquery.popup.actions.CheckIdentifierAction" |
|
148 menubarPath="com.nokia.s60tools.apiquery.popup.file/forIdentifierLevelActions" |
|
149 enablesFor="1" |
|
150 id="com.nokia.s60tools.apiquery.popup.actions.CheckIdentifierAction.CRPSKey"> |
|
151 </action> |
|
152 <action |
|
153 label="%popups.action.searchLIBName" |
|
154 class="com.nokia.s60tools.apiquery.popup.actions.CheckIdentifierAction" |
|
155 menubarPath="com.nokia.s60tools.apiquery.popup.file/forIdentifierLevelActions" |
|
156 enablesFor="1" |
|
157 id="com.nokia.s60tools.apiquery.popup.actions.CheckIdentifierAction.LIBName"> |
|
158 </action> |
|
159 <action |
|
160 label="%popups.action.searchHeaderName" |
|
161 class="com.nokia.s60tools.apiquery.popup.actions.CheckIdentifierAction" |
|
162 menubarPath="com.nokia.s60tools.apiquery.popup.file/forIdentifierLevelActions" |
|
163 enablesFor="1" |
|
164 id="com.nokia.s60tools.apiquery.popup.actions.CheckIdentifierAction.HeaderName"> |
|
165 </action> |
|
166 <action |
|
167 label="%popups.action.searchProject" |
|
168 class="com.nokia.s60tools.apiquery.popup.actions.CheckProjectAction" |
|
169 menubarPath="com.nokia.s60tools.apiquery.popup.file/forProjectWideActions" |
|
170 enablesFor="1" |
|
171 id="com.nokia.s60tools.apiquery.popup.actions.CheckProjectAction"> |
|
172 </action> |
|
173 </objectContribution> |
|
174 </extension> |
|
175 |
|
176 <extension |
|
177 id="com.nokia.s60tools.apiquery.servlets.ReportActionServlet" |
|
178 name="ReportActionServlet" |
|
179 point="org.eclipse.equinox.http.registry.servlets"> |
|
180 <servlet |
|
181 alias="/reportAction" |
|
182 class="com.nokia.s60tools.apiquery.servlets.ReportActionServlet" |
|
183 load-on-startup="false"> |
|
184 </servlet> |
|
185 </extension> |
|
186 |
|
187 <extension |
|
188 id="com.nokia.s60tools.apiquery.preferences" |
|
189 point="org.eclipse.core.runtime.preferences"> |
|
190 <initializer |
|
191 class="com.nokia.s60tools.apiquery.shared.preferences.APIQueryPreferenceInitializer"> |
|
192 </initializer> |
|
193 </extension> |
|
194 |
|
195 |
|
196 </plugin> |