Commit | Line | Data |
---|---|---|
6e512b93 ASL |
1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <?eclipse version="3.4"?> | |
3 | <plugin> | |
4 | <extension | |
f9673903 | 5 | id="org.eclipse.linuxtools.lttng.ui.perspective" |
6e512b93 ASL |
6 | point="org.eclipse.ui.perspectives"> |
7 | <perspective | |
8 | class="org.eclipse.linuxtools.lttng.ui.views.PerspectiveFactory" | |
1595249b | 9 | icon="icons/obj16/garland16.png" |
6e512b93 | 10 | id="org.eclipse.linuxtools.lttng.ui.perspective" |
b9763f53 | 11 | name="%perspective.category.name"> |
6e512b93 ASL |
12 | </perspective> |
13 | </extension> | |
14 | <extension | |
15 | id="org.eclipse.linuxtools.lttng.ui.views" | |
6e512b93 ASL |
16 | point="org.eclipse.ui.views"> |
17 | <category | |
18 | id="org.eclipse.linuxtools.lttng.ui.views.category" | |
b9763f53 | 19 | name="%views.category.name"> |
6e512b93 ASL |
20 | </category> |
21 | <view | |
22 | allowMultiple="false" | |
23 | category="org.eclipse.linuxtools.lttng.ui.views.category" | |
24 | class="org.eclipse.linuxtools.lttng.ui.views.project.ProjectView" | |
e8d771d5 | 25 | icon="icons/eview16/project_view.gif" |
6e512b93 | 26 | id="org.eclipse.linuxtools.lttng.ui.views.project" |
b9763f53 | 27 | name="%project.view.name" |
6e512b93 ASL |
28 | restorable="true"> |
29 | </view> | |
30 | <view | |
31 | allowMultiple="false" | |
32 | category="org.eclipse.linuxtools.lttng.ui.views.category" | |
33 | class="org.eclipse.linuxtools.lttng.ui.views.control.ControlView" | |
e8d771d5 | 34 | icon="icons/eview16/control_view.gif" |
6e512b93 | 35 | id="org.eclipse.linuxtools.lttng.ui.views.control" |
b9763f53 | 36 | name="%control.view.name" |
6e512b93 ASL |
37 | restorable="true"> |
38 | </view> | |
39 | <view | |
40 | allowMultiple="false" | |
41 | category="org.eclipse.linuxtools.lttng.ui.views.category" | |
6e512b93 | 42 | class="org.eclipse.linuxtools.lttng.ui.views.timeframe.TimeFrameView" |
e8d771d5 | 43 | icon="icons/eview16/time_frame_view.gif" |
6e512b93 | 44 | id="org.eclipse.linuxtools.lttng.ui.views.timeframe" |
b9763f53 | 45 | name="%timeframe.view.name" |
6e512b93 ASL |
46 | restorable="true"> |
47 | </view> | |
48 | <view | |
49 | allowMultiple="false" | |
50 | category="org.eclipse.linuxtools.lttng.ui.views.category" | |
51 | class="org.eclipse.linuxtools.lttng.ui.views.controlflow.ControlFlowView" | |
e8d771d5 | 52 | icon="icons/eview16/control_flow_view.gif" |
6e512b93 | 53 | id="org.eclipse.linuxtools.lttng.ui.views.controlflow" |
b9763f53 | 54 | name="%controlflow.view.name" |
6e512b93 ASL |
55 | restorable="true"> |
56 | </view> | |
57 | <view | |
58 | allowMultiple="false" | |
59 | category="org.eclipse.linuxtools.lttng.ui.views.category" | |
60 | class="org.eclipse.linuxtools.lttng.ui.views.resources.ResourcesView" | |
e8d771d5 | 61 | icon="icons/eview16/resources_view.gif" |
6e512b93 | 62 | id="org.eclipse.linuxtools.lttng.ui.views.resources" |
b9763f53 | 63 | name="%resources.view.name" |
6e512b93 ASL |
64 | restorable="true"> |
65 | </view> | |
66 | <view | |
67 | allowMultiple="false" | |
68 | category="org.eclipse.linuxtools.lttng.ui.views.category" | |
69 | class="org.eclipse.linuxtools.lttng.ui.views.statistics.StatisticsView" | |
e8d771d5 | 70 | icon="icons/eview16/statistics_view.gif" |
6e512b93 | 71 | id="org.eclipse.linuxtools.lttng.ui.views.statistics" |
b9763f53 | 72 | name="%statistics.view.name" |
6e512b93 ASL |
73 | restorable="true"> |
74 | </view> | |
75 | <view | |
76 | allowMultiple="false" | |
77 | category="org.eclipse.linuxtools.lttng.ui.views.category" | |
78 | class="org.eclipse.linuxtools.lttng.ui.views.histogram.HistogramView" | |
e8d771d5 | 79 | icon="icons/eview16/histogram.gif" |
6e512b93 | 80 | id="org.eclipse.linuxtools.lttng.ui.views.histogram" |
b9763f53 | 81 | name="%histogram.view.name" |
6e512b93 ASL |
82 | restorable="true"> |
83 | </view> | |
fbd124dd BH |
84 | <view |
85 | allowMultiple="false" | |
86 | category="org.eclipse.linuxtools.lttng.ui.views.category" | |
87 | class="org.eclipse.linuxtools.lttng.ui.views.latency.LatencyView" | |
88 | icon="icons/eview16/graph.gif" | |
89 | id="org.eclipse.linuxtools.lttng.ui.views.latency" | |
90 | name="%latency.view.name" | |
91 | restorable="true"> | |
92 | </view> | |
6e512b93 ASL |
93 | </extension> |
94 | <extension | |
6e512b93 ASL |
95 | point="org.eclipse.ui.newWizards"> |
96 | <category | |
97 | id="org.eclipse.linuxtools.lttng.ui.wizards.new" | |
b9763f53 | 98 | name="%wizard.category.name"> |
6e512b93 ASL |
99 | </category> |
100 | <wizard | |
101 | category="org.eclipse.linuxtools.lttng.ui.wizards.new" | |
9501fb58 | 102 | class="org.eclipse.linuxtools.lttng.ui.views.project.dialogs.NewLTTngProjectWizard" |
e8d771d5 | 103 | descriptionImage="icons/obj16/garland16.png" |
6e512b93 | 104 | finalPerspective="org.eclipse.linuxtools.lttng.ui.perspective" |
e8d771d5 | 105 | icon="icons/obj16/garland16.png" |
6e512b93 | 106 | id="org.eclipse.linuxtools.lttng.ui.views.ui.wizards.newProject" |
b9763f53 | 107 | name="%project.new.wizard.name" |
6e512b93 ASL |
108 | project="true"> |
109 | <description> | |
b9763f53 | 110 | %project.new.wizard.description |
6e512b93 ASL |
111 | </description> |
112 | </wizard> | |
113 | </extension> | |
114 | <extension | |
12c155f5 | 115 | id="org.eclipse.linuxtools.lttng.LTTngProjectNature" |
5e7ce884 FC |
116 | point="org.eclipse.core.resources.natures"> |
117 | <runtime> | |
118 | <run | |
dc8d8aa8 | 119 | class="org.eclipse.linuxtools.lttng.core.LTTngProjectNature"> |
5e7ce884 FC |
120 | </run> |
121 | </runtime> | |
122 | </extension> | |
123 | <extension | |
2fbfb67b | 124 | id="org.eclipse.linuxtools.lttng.ui.actionSets" |
5e7ce884 FC |
125 | point="org.eclipse.ui.actionSets"> |
126 | <actionSet | |
b9763f53 | 127 | description="%action.set.description" |
2fbfb67b | 128 | id="org.eclipse.linuxtools.lttng.ui.actionSet" |
b9763f53 | 129 | label="%action.set.label" |
2fbfb67b | 130 | visible="true"> |
5e7ce884 FC |
131 | </actionSet> |
132 | </extension> | |
133 | <extension | |
2fbfb67b FC |
134 | point="org.eclipse.ui.commands"> |
135 | <category | |
b9763f53 | 136 | description="%commands.project.category.description" |
2fbfb67b | 137 | id="org.eclipse.linuxtools.lttng.ui.commands.project.category" |
b9763f53 | 138 | name="%commands.project.category.name"> |
2fbfb67b FC |
139 | </category> |
140 | <command | |
141 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.project.category" | |
b9763f53 | 142 | description="%commands.project.new.description" |
2fbfb67b | 143 | id="org.eclipse.linuxtools.lttng.ui.command.project.new" |
b9763f53 | 144 | name="%commands.project.new"> |
2fbfb67b FC |
145 | </command> |
146 | <command | |
147 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.project.category" | |
b9763f53 | 148 | description="%commands.project.open.description" |
2fbfb67b | 149 | id="org.eclipse.linuxtools.lttng.ui.command.project.open" |
b9763f53 | 150 | name="%commands.project.open"> |
2fbfb67b FC |
151 | </command> |
152 | <command | |
153 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.project.category" | |
b9763f53 | 154 | description="%commands.project.close.description" |
2fbfb67b | 155 | id="org.eclipse.linuxtools.lttng.ui.command.project.close" |
b9763f53 | 156 | name="%commands.project.close"> |
2fbfb67b FC |
157 | </command> |
158 | <command | |
159 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.project.category" | |
b9763f53 | 160 | description="%commands.project.rename.description" |
2fbfb67b | 161 | id="org.eclipse.linuxtools.lttng.ui.command.project.rename" |
b9763f53 | 162 | name="%commands.project.rename"> |
2fbfb67b FC |
163 | </command> |
164 | <command | |
165 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.project.category" | |
b9763f53 | 166 | description="%commands.project.delete.description" |
2fbfb67b | 167 | id="org.eclipse.linuxtools.lttng.ui.command.project.delete" |
b9763f53 | 168 | name="%commands.project.delete"> |
2fbfb67b FC |
169 | </command> |
170 | <command | |
171 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.project.category" | |
b9763f53 FC |
172 | description="%commands.project.refresh.description" |
173 | id="org.eclipse.linuxtools.lttng.ui.command.project.refresh" | |
174 | name="%commands.project.refresh"> | |
a3767fd9 FC |
175 | </command> |
176 | <command | |
177 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.project.category" | |
178 | description="%commands.project.property.description" | |
179 | id="org.eclipse.linuxtools.lttng.ui.command.project.property" | |
180 | name="%commands.project.property"> | |
b9763f53 FC |
181 | </command> |
182 | <category | |
183 | description="%commands.trace.category.description" | |
184 | id="org.eclipse.linuxtools.lttng.ui.commands.trace.category" | |
185 | name="%commands.trace.category.name"> | |
186 | </category> | |
187 | <command | |
188 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.trace.category" | |
189 | description="%commands.trace.import.description" | |
2fbfb67b | 190 | id="org.eclipse.linuxtools.lttng.ui.command.project.trace.import" |
b9763f53 | 191 | name="%commands.trace.import"> |
2fbfb67b FC |
192 | </command> |
193 | <command | |
b9763f53 FC |
194 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.trace.category" |
195 | description="%commands.trace.open.description" | |
2fbfb67b | 196 | id="org.eclipse.linuxtools.lttng.ui.command.project.trace.open" |
b9763f53 | 197 | name="%commands.trace.open"> |
2fbfb67b FC |
198 | </command> |
199 | <command | |
b9763f53 FC |
200 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.trace.category" |
201 | description="%commands.trace.rename.description" | |
2fbfb67b | 202 | id="org.eclipse.linuxtools.lttng.ui.command.project.trace.rename" |
b9763f53 | 203 | name="%commands.trace.rename"> |
2fbfb67b FC |
204 | </command> |
205 | <command | |
b9763f53 FC |
206 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.trace.category" |
207 | description="%commands.trace.delete.description" | |
2fbfb67b | 208 | id="org.eclipse.linuxtools.lttng.ui.command.project.trace.delete" |
b9763f53 | 209 | name="%commands.trace.delete"> |
2fbfb67b | 210 | </command> |
b9763f53 FC |
211 | <category |
212 | description="%commands.experiment.category.description" | |
213 | id="org.eclipse.linuxtools.lttng.ui.commands.experiment.category" | |
214 | name="%commands.experiment.category.name"> | |
215 | </category> | |
2fbfb67b | 216 | <command |
b9763f53 FC |
217 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.experiment.category" |
218 | description="%commands.experiment.new.description" | |
2fbfb67b | 219 | id="org.eclipse.linuxtools.lttng.ui.command.project.experiment.new" |
b9763f53 | 220 | name="%commands.experiment.new"> |
2fbfb67b FC |
221 | </command> |
222 | <command | |
b9763f53 FC |
223 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.experiment.category" |
224 | description="%commands.experiment.selecttraces.description" | |
2fbfb67b | 225 | id="org.eclipse.linuxtools.lttng.ui.command.project.experiment.select" |
b9763f53 | 226 | name="%commands.experiment.selecttraces"> |
2fbfb67b FC |
227 | </command> |
228 | <command | |
b9763f53 FC |
229 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.experiment.category" |
230 | description="%commands.experiment.open.description" | |
2fbfb67b | 231 | id="org.eclipse.linuxtools.lttng.ui.command.project.experiment.open" |
b9763f53 | 232 | name="%commands.experiment.open"> |
2fbfb67b FC |
233 | </command> |
234 | <command | |
b9763f53 FC |
235 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.experiment.category" |
236 | description="%commands.experiment.rename.description" | |
2fbfb67b | 237 | id="org.eclipse.linuxtools.lttng.ui.command.project.experiment.rename" |
b9763f53 | 238 | name="%commands.experiment.rename"> |
2fbfb67b FC |
239 | </command> |
240 | <command | |
b9763f53 FC |
241 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.experiment.category" |
242 | description="%commands.experiment.delete.description" | |
2fbfb67b | 243 | id="org.eclipse.linuxtools.lttng.ui.command.project.experiment.delete" |
b9763f53 | 244 | name="%commands.experiment.delete"> |
2fbfb67b | 245 | </command> |
eb1bab5b | 246 | |
2fbfb67b FC |
247 | </extension> |
248 | <extension | |
249 | id="org.eclipse.linuxtools.lttng.ui.menus" | |
2fbfb67b FC |
250 | point="org.eclipse.ui.menus"> |
251 | <menuContribution | |
252 | locationURI="popup:org.eclipse.linuxtools.lttng.ui.views.project?after=additions"> | |
253 | <command | |
254 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.new" | |
e8d771d5 | 255 | icon="icons/obj16/garland16.png" |
2fbfb67b | 256 | id="org.eclipse.linuxtools.lttng.ui.menu.popup.project.new" |
b9763f53 | 257 | label="%commands.project.new" |
2fbfb67b FC |
258 | style="push"> |
259 | </command> | |
260 | <command | |
261 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.open" | |
262 | id="org.eclipse.linuxtools.lttng.ui.menu.popup.project.open" | |
b9763f53 | 263 | label="%commands.project.open" |
2fbfb67b FC |
264 | style="push"> |
265 | </command> | |
266 | <command | |
267 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.close" | |
268 | id="org.eclipse.linuxtools.lttng.ui.menu.popup.project.close" | |
b9763f53 | 269 | label="%commands.project.close" |
2fbfb67b FC |
270 | style="push"> |
271 | </command> | |
f0fb9602 | 272 | <!-- command |
2fbfb67b FC |
273 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.rename" |
274 | id="org.eclipse.linuxtools.lttng.ui.menu.popup.project.rename" | |
275 | label="Rename Project" | |
276 | style="push"> | |
f0fb9602 | 277 | </command --> |
2fbfb67b FC |
278 | <command |
279 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.delete" | |
280 | id="org.eclipse.linuxtools.lttng.ui.menu.popup.project.delete" | |
b9763f53 | 281 | label="%commands.project.delete" |
2fbfb67b FC |
282 | style="push"> |
283 | </command> | |
284 | <separator | |
285 | name="org.eclipse.linuxtools.lttng.ui.menu.popup.project.separator1" | |
286 | visible="true"> | |
287 | </separator> | |
2fbfb67b FC |
288 | <command |
289 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.experiment.new" | |
290 | id="org.eclipse.linuxtools.lttng.ui.menu.popup.project.experiment.new" | |
b9763f53 | 291 | label="%commands.experiment.new" |
2fbfb67b FC |
292 | style="push"> |
293 | </command> | |
294 | <command | |
295 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.experiment.select" | |
296 | id="org.eclipse.linuxtools.lttng.ui.menu.popup.project.experiment.select" | |
b9763f53 | 297 | label="%commands.experiment.selecttraces" |
2fbfb67b FC |
298 | style="push"> |
299 | </command> | |
300 | <command | |
301 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.experiment.open" | |
302 | id="org.eclipse.linuxtools.lttng.ui.menu.popup.project.experiment.open" | |
b9763f53 | 303 | label="%commands.experiment.open" |
2fbfb67b FC |
304 | style="push"> |
305 | </command> | |
f0fb9602 | 306 | <!-- command |
2fbfb67b FC |
307 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.experiment.rename" |
308 | id="org.eclipse.linuxtools.lttng.ui.menu.popup.project.experiment.rename" | |
309 | label="Rename Experiment" | |
310 | style="push"> | |
f0fb9602 | 311 | </command --> |
2fbfb67b FC |
312 | <command |
313 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.experiment.delete" | |
314 | id="org.eclipse.linuxtools.lttng.ui.menu.popup.project.experiment.delete" | |
b9763f53 | 315 | label="%commands.experiment.delete" |
2fbfb67b FC |
316 | style="push"> |
317 | </command> | |
f0fb9602 FC |
318 | <separator |
319 | name="org.eclipse.linuxtools.lttng.ui.menu.popup.project.separator2" | |
320 | visible="true"> | |
321 | </separator> | |
322 | <command | |
323 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.trace.import" | |
324 | id="org.eclipse.linuxtools.lttng.ui.menu.popup.project.trace.import" | |
b9763f53 | 325 | label="%commands.trace.import" |
f0fb9602 FC |
326 | style="push"> |
327 | </command> | |
328 | <!-- command | |
329 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.trace.open" | |
330 | id="org.eclipse.linuxtools.lttng.ui.menu.popup.project.trace.open" | |
331 | label="Open Trace" | |
332 | style="push"> | |
333 | </command --> | |
334 | <!-- command | |
335 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.trace.rename" | |
336 | id="org.eclipse.linuxtools.lttng.ui.menu.popup.project.trace.rename" | |
337 | label="Rename Trace" | |
338 | style="push"> | |
339 | </command --> | |
340 | <command | |
341 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.trace.delete" | |
342 | id="org.eclipse.linuxtools.lttng.ui.menu.popup.project.trace.delete" | |
b9763f53 | 343 | label="%commands.trace.delete" |
f0fb9602 FC |
344 | style="push"> |
345 | </command> | |
2fbfb67b FC |
346 | <separator |
347 | name="org.eclipse.linuxtools.lttng.ui.menu.popup.project.separator3" | |
348 | visible="true"> | |
349 | </separator> | |
350 | <command | |
351 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.refresh" | |
352 | id="org.eclipse.linuxtools.lttng.ui.menu.popup.project.refresh" | |
b9763f53 | 353 | label="%commands.project.refresh" |
2fbfb67b FC |
354 | style="push"> |
355 | </command> | |
a3767fd9 FC |
356 | <command |
357 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.property" | |
358 | id="org.eclipse.linuxtools.lttng.ui.menu.popup.project.property" | |
359 | label="%commands.project.property" | |
360 | style="push"> | |
361 | </command> | |
2fbfb67b FC |
362 | </menuContribution> |
363 | </extension> | |
364 | <extension | |
365 | id="org.eclipse.linuxtools.lttng.ui.handlers" | |
2fbfb67b FC |
366 | point="org.eclipse.ui.handlers"> |
367 | <handler | |
368 | class="org.eclipse.linuxtools.lttng.ui.views.project.handlers.NewProjectHandler" | |
369 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.new"> | |
370 | </handler> | |
371 | <handler | |
372 | class="org.eclipse.linuxtools.lttng.ui.views.project.handlers.OpenProjectHandler" | |
373 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.open"> | |
374 | </handler> | |
375 | <handler | |
376 | class="org.eclipse.linuxtools.lttng.ui.views.project.handlers.CloseProjectHandler" | |
377 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.close"> | |
378 | </handler> | |
379 | <handler | |
380 | class="org.eclipse.linuxtools.lttng.ui.views.project.handlers.RenameProjectHandler" | |
381 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.rename"> | |
382 | </handler> | |
383 | <handler | |
384 | class="org.eclipse.linuxtools.lttng.ui.views.project.handlers.DeleteProjectHandler" | |
385 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.delete"> | |
386 | </handler> | |
387 | <handler | |
388 | class="org.eclipse.linuxtools.lttng.ui.views.project.handlers.ImportTraceHandler" | |
389 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.trace.import"> | |
390 | </handler> | |
391 | <handler | |
392 | class="org.eclipse.linuxtools.lttng.ui.views.project.handlers.OpenTraceHandler" | |
393 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.trace.open"> | |
394 | </handler> | |
395 | <handler | |
396 | class="org.eclipse.linuxtools.lttng.ui.views.project.handlers.RenameTraceHandler" | |
397 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.trace.rename"> | |
398 | </handler> | |
399 | <handler | |
400 | class="org.eclipse.linuxtools.lttng.ui.views.project.handlers.DeleteTraceHandler" | |
401 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.trace.delete"> | |
402 | </handler> | |
403 | <handler | |
404 | class="org.eclipse.linuxtools.lttng.ui.views.project.handlers.NewExperimentHandler" | |
405 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.experiment.new"> | |
406 | </handler> | |
407 | <handler | |
408 | class="org.eclipse.linuxtools.lttng.ui.views.project.handlers.SelectTracesHandler" | |
409 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.experiment.select"> | |
410 | </handler> | |
411 | <handler | |
412 | class="org.eclipse.linuxtools.lttng.ui.views.project.handlers.OpenExperimentHandler" | |
413 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.experiment.open"> | |
414 | </handler> | |
415 | <handler | |
416 | class="org.eclipse.linuxtools.lttng.ui.views.project.handlers.RenameExperimentHandler" | |
417 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.experiment.rename"> | |
418 | </handler> | |
419 | <handler | |
420 | class="org.eclipse.linuxtools.lttng.ui.views.project.handlers.DeleteExperimentHandler" | |
421 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.experiment.delete"> | |
422 | </handler> | |
423 | <handler | |
424 | class="org.eclipse.linuxtools.lttng.ui.views.project.handlers.RefreshHandler" | |
425 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.refresh"> | |
426 | </handler> | |
a3767fd9 FC |
427 | <handler |
428 | class="org.eclipse.linuxtools.lttng.ui.views.project.handlers.ProjectPropertyHandler" | |
429 | commandId="org.eclipse.linuxtools.lttng.ui.command.project.property"> | |
430 | </handler> | |
6e512b93 | 431 | </extension> |
eb1bab5b BH |
432 | <extension |
433 | point="org.eclipse.ui.commands"> | |
434 | <category | |
435 | description="%commands.control.category.description" | |
436 | id="org.eclipse.linuxtools.lttng.ui.commands.control.category" | |
437 | name="%commands.control.category"> | |
438 | </category> | |
439 | <command | |
440 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category" | |
441 | description="%commands.control.new.description" | |
bbb3538a | 442 | id="org.eclipse.linuxtools.lttng.ui.commands.control.newConnection" |
eb1bab5b BH |
443 | name="%commands.control.new"> |
444 | </command> | |
445 | <command | |
446 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category" | |
447 | description="%commands.control.connect.description" | |
bbb3538a | 448 | id="org.eclipse.linuxtools.lttng.ui.commands.control.connect" |
eb1bab5b BH |
449 | name="%commands.control.connect"> |
450 | </command> | |
451 | <command | |
452 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category" | |
453 | description="%commands.control.disconnect.description" | |
bbb3538a | 454 | id="org.eclipse.linuxtools.lttng.ui.commands.control.disconnect" |
eb1bab5b BH |
455 | name="%commands.control.disconnect"> |
456 | </command> | |
457 | <command | |
458 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category" | |
459 | description="%commands.control.delete.description" | |
bbb3538a | 460 | id="org.eclipse.linuxtools.lttng.ui.commands.control.delete" |
eb1bab5b BH |
461 | name="%commands.control.delete"> |
462 | </command> | |
bbb3538a BH |
463 | <command |
464 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category" | |
465 | description="%commands.control.create.session.description" | |
466 | id="org.eclipse.linuxtools.lttng.ui.commands.control.createSession" | |
467 | name="%commands.control.create.session"> | |
468 | </command> | |
469 | <command | |
470 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category" | |
471 | description="%commands.control.destroy.session.description" | |
472 | id="org.eclipse.linuxtools.lttng.ui.commands.control.destroySession" | |
473 | name="%commands.control.destroy.session"> | |
474 | </command> | |
475 | <command | |
476 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category" | |
477 | description="%commands.control.create.channel.description" | |
478 | id="org.eclipse.linuxtools.lttng.ui.commands.control.createChannelOnSession" | |
479 | name="%commands.control.create.channel"> | |
480 | </command> | |
481 | <command | |
482 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category" | |
483 | description="%commands.control.create.channel.description" | |
484 | id="org.eclipse.linuxtools.lttng.ui.commands.control.createChannelOnDomain" | |
485 | name="%commands.control.create.channel"> | |
486 | </command> | |
487 | <command | |
488 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category" | |
489 | description="%commands.control.enable.channel.description" | |
490 | id="org.eclipse.linuxtools.lttng.ui.commands.control.enableChannel" | |
491 | name="%commands.control.enable.channel"> | |
492 | </command> | |
493 | <command | |
494 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category" | |
495 | description="%commands.control.disable.channel.description" | |
496 | id="org.eclipse.linuxtools.lttng.ui.commands.control.disableChannel" | |
497 | name="%commands.control.disable.channel"> | |
498 | </command> | |
499 | <command | |
500 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category" | |
501 | description="%commands.control.start.description" | |
502 | id="org.eclipse.linuxtools.lttng.ui.commands.control.start" | |
503 | name="%commands.control.start"> | |
504 | </command> | |
505 | <command | |
506 | categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category" | |
507 | description="%commands.control.stop.description" | |
508 | id="org.eclipse.linuxtools.lttng.ui.commands.control.stop" | |
509 | name="%commands.control.stop"> | |
510 | </command> | |
511 | ||
eb1bab5b BH |
512 | </extension> |
513 | <extension | |
514 | point="org.eclipse.ui.menus"> | |
515 | <menuContribution | |
516 | allPopups="false" | |
517 | locationURI="toolbar:org.eclipse.linuxtools.lttng.ui.views.control"> | |
518 | <command | |
bbb3538a | 519 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.newConnection" |
eb1bab5b BH |
520 | icon="icons/elcl16/target_add.gif" |
521 | label="%commands.control.new" | |
522 | style="push"> | |
523 | </command> | |
524 | <command | |
bbb3538a | 525 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.connect" |
eb1bab5b BH |
526 | icon="icons/elcl16/connect.gif" |
527 | label="%commands.control.connect" | |
528 | style="push"> | |
529 | </command> | |
530 | <command | |
bbb3538a | 531 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.disconnect" |
eb1bab5b BH |
532 | icon="icons/elcl16/disconnect.gif" |
533 | label="%commands.control.disconnect" | |
534 | style="push"> | |
535 | </command> | |
536 | <command | |
bbb3538a | 537 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.delete" |
eb1bab5b BH |
538 | icon="icons/elcl16/target_delete.gif" |
539 | label="%commands.control.delete" | |
540 | style="push"> | |
541 | </command> | |
bbb3538a BH |
542 | <separator |
543 | name="org.eclipse.linuxtools.lttng.ui.views.control.toolbar.separator1" | |
544 | visible="true"> | |
545 | </separator> | |
546 | <command | |
547 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.start" | |
548 | icon="icons/elcl16/start_trace.gif" | |
549 | label="%commands.control.start" | |
550 | style="push"> | |
551 | </command> | |
552 | <command | |
553 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.stop" | |
554 | icon="icons/elcl16/pause_trace.gif" | |
555 | label="%commands.control.stop" | |
556 | style="push"> | |
557 | </command> | |
eb1bab5b BH |
558 | </menuContribution> |
559 | <menuContribution | |
560 | allPopups="false" | |
561 | locationURI="popup:org.eclipse.linuxtools.lttng.ui.views.control"> | |
562 | <command | |
bbb3538a | 563 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.connect" |
eb1bab5b BH |
564 | icon="icons/elcl16/connect.gif" |
565 | label="%commands.control.connect" | |
566 | style="push"> | |
567 | <visibleWhen | |
568 | checkEnabled="false"> | |
569 | <with | |
570 | variable="activeMenuSelection"> | |
571 | <iterate | |
572 | operator="or"> | |
573 | <instanceof | |
574 | value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TargetNodeComponent"> | |
575 | </instanceof> | |
576 | </iterate> | |
577 | </with> | |
578 | </visibleWhen> | |
579 | </command> | |
580 | <command | |
bbb3538a | 581 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.disconnect" |
eb1bab5b BH |
582 | icon="icons/elcl16/disconnect.gif" |
583 | label="%commands.control.disconnect" | |
584 | style="push"> | |
585 | <visibleWhen | |
586 | checkEnabled="false"> | |
587 | <with | |
588 | variable="activeMenuSelection"> | |
589 | <iterate | |
590 | operator="or"> | |
591 | <instanceof | |
592 | value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TargetNodeComponent"> | |
593 | </instanceof> | |
594 | </iterate> | |
595 | </with> | |
596 | </visibleWhen> | |
597 | </command> | |
598 | <command | |
bbb3538a | 599 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.delete" |
eb1bab5b BH |
600 | icon="icons/elcl16/target_delete.gif" |
601 | label="%commands.control.delete" | |
602 | style="push"> | |
603 | <visibleWhen | |
604 | checkEnabled="false"> | |
605 | <with | |
606 | variable="activeMenuSelection"> | |
607 | <iterate | |
608 | operator="or"> | |
609 | <instanceof | |
610 | value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TargetNodeComponent"> | |
611 | </instanceof> | |
612 | </iterate> | |
613 | </with> | |
614 | </visibleWhen> | |
615 | </command> | |
bbb3538a BH |
616 | <command |
617 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.createSession" | |
618 | icon="icons/elcl16/add_button.gif" | |
619 | label="%commands.control.create.session" | |
620 | style="push"> | |
621 | <visibleWhen | |
622 | checkEnabled="false"> | |
623 | <with | |
624 | variable="activeMenuSelection"> | |
625 | <iterate | |
626 | operator="or"> | |
627 | <instanceof | |
628 | value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionGroup"> | |
629 | </instanceof> | |
630 | </iterate> | |
631 | </with> | |
632 | </visibleWhen> | |
633 | </command> | |
634 | <command | |
635 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.destroySession" | |
636 | icon="icons/elcl16/delete_trace.gif" | |
637 | label="%commands.control.destroy.session" | |
638 | style="push"> | |
639 | <visibleWhen | |
640 | checkEnabled="false"> | |
641 | <with | |
642 | variable="activeMenuSelection"> | |
643 | <iterate | |
644 | operator="or"> | |
645 | <instanceof | |
646 | value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionComponent"> | |
647 | </instanceof> | |
648 | </iterate> | |
649 | </with> | |
650 | </visibleWhen> | |
651 | </command> | |
652 | <command | |
653 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.createChannelOnSession" | |
654 | icon="icons/elcl16/add_button.gif" | |
655 | label="%commands.control.create.channel" | |
656 | style="push"> | |
657 | <visibleWhen | |
658 | checkEnabled="false"> | |
659 | <with | |
660 | variable="activeMenuSelection"> | |
661 | <and> | |
662 | <iterate | |
663 | operator="or"> | |
664 | <instanceof | |
665 | value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionComponent"> | |
666 | </instanceof> | |
667 | </iterate> | |
668 | <not> | |
669 | <iterate | |
670 | operator="or"> | |
671 | <instanceof | |
672 | value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceDomainComponent"> | |
673 | </instanceof> | |
674 | </iterate> | |
675 | </not> | |
676 | <count | |
677 | value="1"> | |
678 | </count> | |
679 | </and> | |
680 | </with> | |
681 | </visibleWhen> | |
682 | </command> | |
683 | <command | |
684 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.createChannelOnDomain" | |
685 | icon="icons/elcl16/add_button.gif" | |
686 | label="%commands.control.create.channel" | |
687 | style="push"> | |
688 | <visibleWhen | |
689 | checkEnabled="false"> | |
690 | <with | |
691 | variable="activeMenuSelection"> | |
692 | <and> | |
693 | <iterate | |
694 | operator="or"> | |
695 | <instanceof | |
696 | value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceDomainComponent"> | |
697 | </instanceof> | |
698 | </iterate> | |
699 | <not> | |
700 | <iterate | |
701 | operator="or"> | |
702 | <instanceof | |
703 | value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionComponent"> | |
704 | </instanceof> | |
705 | </iterate> | |
706 | </not> | |
707 | <count | |
708 | value="1"> | |
709 | </count> | |
710 | </and> | |
711 | </with> | |
712 | </visibleWhen> | |
713 | </command> | |
714 | ||
715 | <command | |
716 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.enableChannel" | |
717 | icon="icons/elcl16/edit.gif" | |
718 | label="%commands.control.enable.channel" | |
719 | style="push"> | |
720 | <visibleWhen | |
721 | checkEnabled="false"> | |
722 | <with | |
723 | variable="activeMenuSelection"> | |
724 | <iterate | |
725 | operator="or"> | |
726 | <instanceof | |
727 | value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceChannelComponent"> | |
728 | </instanceof> | |
729 | </iterate> | |
730 | </with> | |
731 | </visibleWhen> | |
732 | </command> | |
733 | <command | |
734 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.disableChannel" | |
735 | icon="icons/elcl16/edit.gif" | |
736 | label="%commands.control.disable.channel" | |
737 | style="push"> | |
738 | <visibleWhen | |
739 | checkEnabled="false"> | |
740 | <with | |
741 | variable="activeMenuSelection"> | |
742 | <iterate | |
743 | operator="or"> | |
744 | <instanceof | |
745 | value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceChannelComponent"> | |
746 | </instanceof> | |
747 | </iterate> | |
748 | </with> | |
749 | </visibleWhen> | |
750 | </command> | |
751 | ||
752 | <command | |
753 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.start" | |
754 | icon="icons/elcl16/start_trace.gif" | |
755 | label="%commands.control.start" | |
756 | style="push"> | |
757 | <visibleWhen | |
758 | checkEnabled="false"> | |
759 | <with | |
760 | variable="activeMenuSelection"> | |
761 | <iterate | |
762 | operator="or"> | |
763 | <instanceof | |
764 | value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionComponent"> | |
765 | </instanceof> | |
766 | </iterate> | |
767 | </with> | |
768 | </visibleWhen> | |
769 | </command> | |
770 | ||
771 | <command | |
772 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.stop" | |
773 | icon="icons/elcl16/pause_trace.gif" | |
774 | label="%commands.control.stop" | |
775 | style="push"> | |
776 | <visibleWhen | |
777 | checkEnabled="false"> | |
778 | <with | |
779 | variable="activeMenuSelection"> | |
780 | <iterate | |
781 | operator="or"> | |
782 | <instanceof | |
783 | value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionComponent"> | |
784 | </instanceof> | |
785 | </iterate> | |
786 | </with> | |
787 | </visibleWhen> | |
788 | </command> | |
789 | ||
eb1bab5b | 790 | </menuContribution> |
bbb3538a | 791 | |
eb1bab5b BH |
792 | </extension> |
793 | <extension | |
794 | point="org.eclipse.ui.handlers"> | |
795 | <handler | |
796 | class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.NewConnectionHandler" | |
bbb3538a | 797 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.newConnection"> |
4775bcbf BH |
798 | <activeWhen> |
799 | <with | |
800 | variable="activePart"> | |
801 | <instanceof | |
802 | value="org.eclipse.linuxtools.lttng.ui.views.control.ControlView"> | |
803 | </instanceof> | |
804 | </with> | |
805 | </activeWhen> | |
eb1bab5b BH |
806 | </handler> |
807 | <handler | |
808 | class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.ConnectHandler" | |
bbb3538a | 809 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.connect"> |
eb1bab5b BH |
810 | <activeWhen> |
811 | <with | |
812 | variable="selection"> | |
813 | <iterate | |
814 | operator="or"> | |
815 | <instanceof | |
816 | value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TargetNodeComponent"> | |
817 | </instanceof> | |
818 | </iterate> | |
819 | </with> | |
820 | </activeWhen> | |
821 | </handler> | |
822 | <handler | |
823 | class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.DisconnectHandler" | |
bbb3538a | 824 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.disconnect"> |
eb1bab5b BH |
825 | <activeWhen> |
826 | <with | |
827 | variable="selection"> | |
828 | <iterate | |
829 | operator="or"> | |
830 | <instanceof | |
831 | value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TargetNodeComponent"> | |
832 | </instanceof> | |
833 | </iterate> | |
834 | </with> | |
835 | </activeWhen> | |
836 | </handler> | |
837 | <handler | |
838 | class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.DeleteHandler" | |
bbb3538a | 839 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.delete"> |
eb1bab5b BH |
840 | <activeWhen> |
841 | <with | |
842 | variable="selection"> | |
843 | <iterate | |
844 | operator="or"> | |
845 | <instanceof | |
846 | value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TargetNodeComponent"> | |
847 | </instanceof> | |
848 | </iterate> | |
849 | </with> | |
850 | </activeWhen> | |
851 | </handler> | |
bbb3538a BH |
852 | <handler |
853 | class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.CreateSessionHandler" | |
854 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.createSession"> | |
855 | <activeWhen> | |
856 | <with | |
857 | variable="selection"> | |
858 | <iterate | |
859 | operator="or"> | |
860 | <instanceof | |
861 | value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionGroup"> | |
862 | </instanceof> | |
863 | </iterate> | |
864 | </with> | |
865 | </activeWhen> | |
866 | </handler> | |
867 | <handler | |
868 | class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.DestroySessionHandler" | |
869 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.destroySession"> | |
870 | <activeWhen> | |
871 | <with | |
872 | variable="selection"> | |
873 | <iterate | |
874 | operator="or"> | |
875 | <instanceof | |
876 | value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionComponent"> | |
877 | </instanceof> | |
878 | </iterate> | |
879 | </with> | |
880 | </activeWhen> | |
881 | </handler> | |
882 | <handler | |
883 | class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.CreateChannelOnSessionHandler" | |
884 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.createChannelOnSession"> | |
885 | <activeWhen> | |
886 | <with | |
887 | variable="selection"> | |
888 | <iterate | |
889 | operator="or"> | |
890 | <instanceof | |
891 | value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionComponent"> | |
892 | </instanceof> | |
893 | </iterate> | |
894 | </with> | |
895 | </activeWhen> | |
896 | </handler> | |
897 | <handler | |
898 | class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.CreateChannelOnDomainHandler" | |
899 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.createChannelOnDomain"> | |
900 | <activeWhen> | |
901 | <with | |
902 | variable="selection"> | |
903 | <iterate | |
904 | operator="or"> | |
905 | <instanceof | |
906 | value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceDomainComponent"> | |
907 | </instanceof> | |
908 | </iterate> | |
909 | </with> | |
910 | </activeWhen> | |
911 | </handler> | |
912 | <handler | |
913 | class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.EnableChannelHandler" | |
914 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.enableChannel"> | |
915 | <activeWhen> | |
916 | <with | |
917 | variable="selection"> | |
918 | <iterate | |
919 | operator="or"> | |
920 | <instanceof | |
921 | value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceChannelComponent"> | |
922 | </instanceof> | |
923 | </iterate> | |
924 | </with> | |
925 | </activeWhen> | |
926 | </handler> | |
927 | <handler | |
928 | class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.DisableChannelHandler" | |
929 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.disableChannel"> | |
930 | <activeWhen> | |
931 | <with | |
932 | variable="selection"> | |
933 | <iterate | |
934 | operator="or"> | |
935 | <instanceof | |
936 | value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceChannelComponent"> | |
937 | </instanceof> | |
938 | </iterate> | |
939 | </with> | |
940 | </activeWhen> | |
941 | </handler> | |
942 | ||
943 | <handler | |
944 | class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.StartHandler" | |
945 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.start"> | |
946 | <activeWhen> | |
947 | <with | |
948 | variable="selection"> | |
949 | <iterate | |
950 | operator="or"> | |
951 | <instanceof | |
952 | value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionComponent"> | |
953 | </instanceof> | |
954 | </iterate> | |
955 | </with> | |
956 | </activeWhen> | |
957 | </handler> | |
958 | ||
959 | <handler | |
960 | class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.StopHandler" | |
961 | commandId="org.eclipse.linuxtools.lttng.ui.commands.control.stop"> | |
962 | <activeWhen> | |
963 | <with | |
964 | variable="selection"> | |
965 | <iterate | |
966 | operator="or"> | |
967 | <instanceof | |
968 | value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionComponent"> | |
969 | </instanceof> | |
970 | </iterate> | |
971 | </with> | |
972 | </activeWhen> | |
973 | </handler> | |
974 | ||
eb1bab5b | 975 | </extension> |
6e512b93 | 976 | |
e8d771d5 BH |
977 | <!-- ======================================= --> |
978 | <!-- SubSystem Configuration --> | |
979 | <!-- ======================================= --> | |
980 | <extension point="org.eclipse.rse.core.subsystemConfigurations"> | |
981 | <configuration | |
982 | category="users" | |
983 | class="org.eclipse.linuxtools.lttng.ui.tracecontrol.subsystems.TraceSubSystemConfiguration" | |
984 | description="%lttng.rse.subsystem.config.description" | |
985 | icon="icons/obj16/garland16.gif" | |
986 | iconlive="icons/obj16/garland16-live.gif" | |
987 | id="org.eclipse.linuxtools.lttng.ui.tracecontrol.subsystems.TraceSubSystemConfiguration" | |
988 | name="%lttng.rse.subsystem.config.name" | |
989 | systemTypeIds="org.eclipse.tm.tcf.rse.systemType" | |
990 | vendor="%Bundle-Vendor"> | |
991 | </configuration> | |
992 | </extension> | |
993 | ||
994 | <!-- ======================================= --> | |
995 | <!-- SubSystem Type Description --> | |
996 | <!-- ======================================= --> | |
997 | <extension | |
998 | point="org.eclipse.rse.core.systemTypes"> | |
999 | <systemType | |
1000 | description="%lttng.rse.subsystem.type.description" | |
1001 | icon="icons/obj16/systemlttng.gif" | |
1002 | iconLive="icons/obj16/systemlttng-live.gif" | |
1003 | id="org.eclipse.linuxtools.lttng.ui.tracecontrol.systemType" | |
1004 | label="%lttng.rse.subsystem.type.name" | |
1005 | name="org.eclipse.linuxtools.lttng.ui.tracecontrol.systemType" | |
1006 | subsystemConfigurationIds="org.eclipse.linuxtools.lttng.ui.tracecontrol.subsystems.TraceSubSystemConfiguration;org.eclipse.tm.tcf.rse.Processes;org.eclipse.tm.tcf.rse.Shells;org.eclipse.tm.tcf.rse.Files;org.eclipse.tm.tcf.rse.Terminals"> | |
1007 | </systemType> | |
eb1bab5b BH |
1008 | <systemType |
1009 | description="%trace.control.rse.system.type.description" | |
1010 | icon="icons/obj16/systemlttng2.gif" | |
1011 | iconLive="icons/obj16/systemlttng2-live.gif" | |
1012 | id="org.eclipse.linuxtools.lttng.ui.control.systemType" | |
1013 | label="%trace.control.rse.system.type.name" | |
1014 | name="org.eclipse.linuxtools.lttng.ui.control.systemType" | |
1015 | subsystemConfigurationIds="ssh.shells;ssh.files;ssh.terminals;processes.shell.linux"> | |
1016 | </systemType> | |
e8d771d5 BH |
1017 | </extension> |
1018 | ||
1019 | <!-- ======================================= --> | |
1020 | <!-- Remote Object Popup Menu Actions --> | |
1021 | <!-- ======================================= --> | |
1022 | <extension point="org.eclipse.ui.popupMenus"> | |
1023 | <objectContribution | |
1024 | id="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.deletetrace" | |
dc8d8aa8 | 1025 | objectClass="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource"> |
e8d771d5 BH |
1026 | <action |
1027 | class="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.DeleteTrace" | |
1028 | enablesFor="*" | |
1029 | icon="icons/elcl16/delete_trace.gif" | |
1030 | id="actions.trace.delete" | |
1031 | label="%action.delete.label" | |
1032 | menubarPath="additions" | |
1033 | tooltip="%action.delete.tooltip"> | |
1034 | <enablement> | |
1035 | <and> | |
1036 | <objectClass | |
dc8d8aa8 | 1037 | name="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource"> |
e8d771d5 BH |
1038 | </objectClass> |
1039 | <objectState | |
1040 | name="canDelete" | |
1041 | value="yes"> | |
1042 | </objectState> | |
1043 | </and> | |
1044 | </enablement> | |
1045 | </action> | |
1046 | </objectContribution> | |
1047 | <objectContribution | |
1048 | adaptable="false" | |
1049 | id="org.eclipse.linuxtools.lttng.ui.tracecontrol.importtrace" | |
dc8d8aa8 | 1050 | objectClass="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource"> |
e8d771d5 BH |
1051 | <action |
1052 | class="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.ImportToProject" | |
1053 | enablesFor="*" | |
1054 | icon="icons/elcl16/import_trace.gif" | |
1055 | id="org.eclipse.linuxtools.lttng.ui.tracecontrol.action1" | |
1056 | label="%action.import.label" | |
1057 | menubarPath="additions" | |
1058 | tooltip="%action.import.tooltip"> | |
1059 | <enablement> | |
1060 | <and> | |
1061 | <objectClass | |
dc8d8aa8 | 1062 | name="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource"> |
e8d771d5 BH |
1063 | </objectClass> |
1064 | <objectState | |
1065 | name="canImport" | |
1066 | value="yes"> | |
1067 | </objectState> | |
1068 | </and> | |
1069 | </enablement> | |
1070 | </action> | |
1071 | </objectContribution> | |
1072 | <objectContribution | |
1073 | id="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.createnewtrace" | |
dc8d8aa8 | 1074 | objectClass="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TargetResource"> |
e8d771d5 BH |
1075 | <action |
1076 | label="%action.newtrace.label" | |
1077 | tooltip="%action.newtrace.tooltip" | |
1078 | icon="icons/elcl16/new_trace.gif" | |
1079 | class="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.CreateNewTrace" | |
1080 | menubarPath="additions" | |
1081 | enablesFor="1" | |
1082 | id="actions.trace.new"> | |
1083 | <enablement> | |
1084 | <and> | |
dc8d8aa8 | 1085 | <objectClass name="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TargetResource"/> |
e8d771d5 BH |
1086 | <objectState name="canCreateNewTrace" value="yes"/> |
1087 | </and> | |
1088 | </enablement> | |
1089 | </action> | |
1090 | </objectContribution> | |
1091 | <objectContribution | |
dc8d8aa8 | 1092 | objectClass="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource" |
e8d771d5 BH |
1093 | id="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.configuretrace"> |
1094 | <action | |
1095 | label="%action.configuretrace.label" | |
1096 | tooltip="%action.configuretrace.tooltip" | |
1097 | icon="icons/elcl16/configure_trace.gif" | |
1098 | class="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.ConfigureTrace" | |
1099 | menubarPath="additions" | |
1100 | enablesFor="1" | |
1101 | id="actions.trace.configure"> | |
1102 | <enablement> | |
1103 | <and> | |
dc8d8aa8 | 1104 | <objectClass name="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource"/> |
e8d771d5 BH |
1105 | <objectState name="canConfigure" value="yes"/> |
1106 | </and> | |
1107 | </enablement> | |
1108 | </action> | |
1109 | </objectContribution> | |
1110 | <objectContribution | |
1111 | id="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.stoptrace" | |
dc8d8aa8 | 1112 | objectClass="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource"> |
e8d771d5 BH |
1113 | <action |
1114 | class="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.StopTrace" | |
1115 | enablesFor="*" | |
1116 | icon="icons/elcl16/stop_trace.gif" | |
1117 | id="actions.trace.stop" | |
1118 | label="%action.stop.label" | |
1119 | menubarPath="additions" | |
1120 | tooltip="%action.stop.tooltip"> | |
1121 | <enablement> | |
1122 | <and> | |
1123 | <objectClass | |
dc8d8aa8 | 1124 | name="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource"> |
e8d771d5 BH |
1125 | </objectClass> |
1126 | <objectState | |
1127 | name="canStop" | |
1128 | value="yes"> | |
1129 | </objectState> | |
1130 | </and> | |
1131 | </enablement> | |
1132 | </action> | |
1133 | </objectContribution> | |
1134 | <objectContribution | |
1135 | id="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.pausetrace" | |
dc8d8aa8 | 1136 | objectClass="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource"> |
e8d771d5 BH |
1137 | <action |
1138 | class="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.PauseTrace" | |
1139 | enablesFor="*" | |
1140 | icon="icons/elcl16/pause_trace.gif" | |
1141 | id="actions.trace.pause" | |
1142 | label="%action.pause.label" | |
1143 | menubarPath="additions" | |
1b70b6dc | 1144 | tooltip="%action.pause.tooltip"> |
e8d771d5 BH |
1145 | <enablement> |
1146 | <and> | |
1147 | <objectClass | |
dc8d8aa8 | 1148 | name="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource"> |
e8d771d5 BH |
1149 | </objectClass> |
1150 | <objectState | |
1151 | name="canPause" | |
1152 | value="yes"> | |
1153 | </objectState> | |
1154 | </and> | |
1155 | </enablement> | |
1156 | </action> | |
1157 | </objectContribution> | |
1158 | <objectContribution | |
dc8d8aa8 | 1159 | objectClass="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource" |
e8d771d5 BH |
1160 | id="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.starttrace"> |
1161 | <action | |
1162 | class="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.StartTrace" | |
1163 | enablesFor="*" | |
1164 | icon="icons/elcl16/start_trace.gif" | |
1165 | id="actions.trace.start" | |
1166 | label="%action.start.label" | |
1167 | menubarPath="additions" | |
1168 | tooltip="%action.start.tooltip"> | |
1169 | <enablement> | |
1170 | <and> | |
dc8d8aa8 | 1171 | <objectClass name="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource"/> |
e8d771d5 BH |
1172 | <objectState name="canStart" value="yes"/> |
1173 | </and> | |
1174 | </enablement> | |
1175 | </action> | |
1176 | </objectContribution> | |
1177 | ||
1178 | <objectContribution | |
dc8d8aa8 | 1179 | objectClass="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TargetResource" |
e8d771d5 BH |
1180 | id="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.configuremarkers"> |
1181 | <action | |
1182 | label="%action.configuremarkers.label" | |
1183 | tooltip="%action.configuremarkers.tooltip" | |
1184 | icon="icons/elcl16/configure_markers.gif" | |
1185 | class="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.ConfigureMarkers" | |
1186 | menubarPath="additions" | |
1187 | enablesFor="1" | |
1188 | id="actions.markers.configure"> | |
1189 | </action> | |
1190 | </objectContribution> | |
1191 | ||
1192 | </extension> | |
1193 | ||
1194 | <!-- ======================================= --> | |
1195 | <!-- Remote System View Contributions --> | |
1196 | <!-- ======================================= --> | |
1197 | <extension | |
1198 | point="org.eclipse.ui.viewActions"> | |
1199 | ||
1200 | ||
1201 | <viewContribution | |
1202 | id="org.eclipse.linuxtools.lttng.ui.tracecontrol.viewContribution.stop" | |
1203 | targetID="org.eclipse.rse.ui.view.systemView"> | |
1204 | <action | |
1205 | class="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.StopTrace" | |
1206 | enablesFor="*" | |
1207 | icon="icons/elcl16/stop_trace.gif" | |
1208 | id="actions.trace.stop" | |
1209 | label="%action.stop.label" | |
1210 | menubarPath="additions" | |
1211 | style="push" | |
1212 | toolbarPath="additions" | |
1213 | tooltip="%action.stop.tooltip"> | |
1214 | <enablement> | |
1215 | <and> | |
1216 | <objectClass | |
dc8d8aa8 | 1217 | name="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource"> |
e8d771d5 BH |
1218 | </objectClass> |
1219 | <objectState | |
1220 | name="canStop" | |
1221 | value="yes"> | |
1222 | </objectState> | |
1223 | </and> | |
1224 | </enablement> | |
1225 | </action> | |
1226 | </viewContribution> | |
1227 | ||
1228 | <viewContribution | |
1229 | id="org.eclipse.linuxtools.lttng.ui.tracecontrol.viewContribution.pause" | |
1230 | targetID="org.eclipse.rse.ui.view.systemView"> | |
1231 | <action | |
1232 | class="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.PauseTrace" | |
1233 | enablesFor="*" | |
1234 | icon="icons/elcl16/pause_trace.gif" | |
1235 | id="actions.trace.pause" | |
1236 | label="%action.pause.label" | |
1237 | menubarPath="additions" | |
1238 | style="push" | |
1239 | toolbarPath="additions" | |
1240 | tooltip="%action.pause.tooltip"> | |
1241 | <enablement> | |
1242 | <and> | |
1243 | <objectClass | |
dc8d8aa8 | 1244 | name="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource"> |
e8d771d5 BH |
1245 | </objectClass> |
1246 | <objectState | |
1247 | name="canPause" | |
1248 | value="yes"> | |
1249 | </objectState> | |
1250 | </and> | |
1251 | </enablement> | |
1252 | </action> | |
1253 | </viewContribution> | |
1254 | ||
1255 | <viewContribution | |
1256 | id="org.eclipse.linuxtools.lttng.ui.tracecontrol.viewContribution.start" | |
1257 | targetID="org.eclipse.rse.ui.view.systemView"> | |
1258 | <action | |
1259 | class="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.StartTrace" | |
1260 | enablesFor="*" | |
1261 | icon="icons/elcl16/start_trace.gif" | |
1262 | id="actions.trace.start" | |
1263 | label="%action.start.label" | |
1264 | menubarPath="additions" | |
1265 | style="push" | |
1266 | toolbarPath="additions" | |
1267 | tooltip="%action.start.tooltip"> | |
1268 | <enablement> | |
1269 | <and> | |
1270 | <objectClass | |
dc8d8aa8 | 1271 | name="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource"> |
e8d771d5 BH |
1272 | </objectClass> |
1273 | <objectState | |
1274 | name="canStart" | |
1275 | value="yes"> | |
1276 | </objectState> | |
1277 | </and> | |
1278 | </enablement> | |
1279 | </action> | |
1280 | </viewContribution> | |
1281 | ||
1282 | </extension> | |
a3767fd9 FC |
1283 | <extension |
1284 | point="org.eclipse.ui.propertyPages"> | |
1285 | <page | |
1286 | class="org.eclipse.linuxtools.lttng.ui.views.project.dialogs.TraceLibraryPathPropertyPage" | |
1287 | id="org.eclipse.linuxtools.lttng.ui.propertyPage.libPath" | |
1288 | name="%project.propertyPage.tracelibPath"> | |
1289 | <filter name="nature" | |
12c155f5 | 1290 | value="org.eclipse.linuxtools.lttng.LTTngProjectNature" /> |
a3767fd9 FC |
1291 | <enabledWhen> |
1292 | <adapt type="org.eclipse.core.resources.IProject"> | |
1293 | </adapt> | |
1294 | </enabledWhen> | |
1295 | </page> | |
1296 | </extension> | |
e8d771d5 | 1297 | |
12c155f5 FC |
1298 | <extension |
1299 | point="org.eclipse.linuxtools.tmf.tracetype"> | |
1300 | <category | |
1301 | id="org.eclipse.linuxtools.lttng.ui.category.lttng" | |
1302 | name="%tracetype.category.lttng"> | |
1303 | </category> | |
1304 | <type | |
1305 | category="org.eclipse.linuxtools.lttng.ui.category.lttng" | |
f5f342dd | 1306 | event_type="org.eclipse.linuxtools.lttng.core.event.LttngEvent" |
9501fb58 | 1307 | icon="icons/obj16/tux2.png" |
12c155f5 FC |
1308 | id="org.eclipse.linuxtools.lttng.tracetype.kernel" |
1309 | name="%tracetype.type.kernel" | |
f5f342dd | 1310 | trace_type="org.eclipse.linuxtools.lttng.core.trace.LTTngTrace"> |
828e5592 PT |
1311 | <eventsTableType |
1312 | class="org.eclipse.linuxtools.lttng.ui.views.events.EventsTable"> | |
1313 | </eventsTableType> | |
12c155f5 FC |
1314 | </type> |
1315 | </extension> | |
1316 | ||
6e512b93 | 1317 | </plugin> |