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