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