Commit | Line | Data |
---|---|---|
be222f56 PT |
1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <?eclipse version="3.4"?> | |
3 | <plugin> | |
4 | <extension-point id="org.eclipse.linuxtools.tmf.ui.uml2SDLoader" name="TMF UML 2 Sequence Diagram Loader" schema="schema/org.eclipse.linuxtools.tmf.ui.uml2SDLoader.exsd"/> | |
5 | <extension-point id="org.eclipse.linuxtools.tmf.ui.tracetype" name="Tmf Trace Type" schema="schema/org.eclipse.linuxtools.tmf.ui.tracetype.exsd"/> | |
6 | ||
7 | <extension | |
8 | point="org.eclipse.ui.perspectives"> | |
9 | <perspective | |
10 | class="org.eclipse.linuxtools.tmf.ui.views.TracingPerspectiveFactory" | |
11 | icon="icons/eview16/tracing_pers.gif" | |
12 | id="org.eclipse.linuxtools.tmf.ui.perspective" | |
13 | name="%perspective.category.name"> | |
14 | </perspective> | |
15 | </extension> | |
16 | <extension | |
17 | point="org.eclipse.ui.views"> | |
18 | <category | |
19 | id="org.eclipse.linuxtools.tmf.ui.views.category" | |
20 | name="%views.category.name"> | |
21 | </category> | |
be222f56 PT |
22 | <view |
23 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
24 | class="org.eclipse.linuxtools.tmf.ui.views.timechart.TimeChartView" | |
25 | icon="icons/eview16/timechart_view.gif" | |
26 | id="org.eclipse.linuxtools.tmf.ui.views.timechart" | |
27 | name="%timechart.view.name" | |
28 | restorable="true"> | |
29 | </view> | |
30 | <view | |
31 | allowMultiple="false" | |
32 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
33 | class="org.eclipse.linuxtools.tmf.ui.views.environment.TmfEnvironmentView" | |
34 | icon="icons/eview16/events_view.gif" | |
35 | id="org.eclipse.linuxtools.tmf.ui.views.environment" | |
36 | name="%environment.view.name" | |
37 | restorable="true"> | |
38 | </view> | |
7692e512 AM |
39 | <view |
40 | allowMultiple="false" | |
41 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
42 | class="org.eclipse.linuxtools.tmf.ui.views.statesystem.TmfStateSystemExplorer" | |
43 | icon="icons/eview16/events_view.gif" | |
44 | id="org.eclipse.linuxtools.tmf.ui.views.ssvisualizer" | |
45 | name="%ssvisualizer.view.name" | |
46 | restorable="true"> | |
47 | </view> | |
be222f56 PT |
48 | <view |
49 | allowMultiple="false" | |
50 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
51 | class="org.eclipse.linuxtools.tmf.ui.views.colors.ColorsView" | |
52 | icon="icons/eview16/colors_view.gif" | |
53 | id="org.eclipse.linuxtools.tmf.ui.views.colors" | |
54 | name="%colors.view.name" | |
55 | restorable="true"> | |
56 | </view> | |
57 | <view | |
58 | allowMultiple="false" | |
59 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
60 | class="org.eclipse.linuxtools.tmf.ui.views.filter.FilterView" | |
61 | icon="icons/eview16/filters_view.gif" | |
62 | id="org.eclipse.linuxtools.tmf.ui.views.filter" | |
63 | name="%filters.view.name" | |
64 | restorable="true"> | |
65 | </view> | |
66 | <view | |
67 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
68 | class="org.eclipse.linuxtools.tmf.ui.views.uml2sd.SDView" | |
69 | icon="icons/eview16/sequencediagram_view.gif" | |
70 | id="org.eclipse.linuxtools.tmf.ui.tmfUml2SDSyncView" | |
71 | name="%uml2sd.view.name" | |
72 | restorable="true"> | |
73 | </view> | |
74 | <view | |
75 | allowMultiple="false" | |
76 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
77 | class="org.eclipse.linuxtools.tmf.ui.views.statistics.TmfStatisticsView" | |
78 | icon="icons/eview16/statistics_view.gif" | |
79 | id="org.eclipse.linuxtools.tmf.ui.views.statistics" | |
80 | name="%statistics.view.name" | |
81 | restorable="true"> | |
82 | </view> | |
83 | <view | |
84 | allowMultiple="false" | |
85 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
86 | class="org.eclipse.linuxtools.tmf.ui.views.histogram.HistogramView" | |
87 | icon="icons/eview16/histogram.gif" | |
88 | id="org.eclipse.linuxtools.tmf.ui.views.histogram" | |
89 | name="%histogram.view.name" | |
90 | restorable="true"> | |
91 | </view> | |
e8251298 PT |
92 | <view |
93 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
94 | class="org.eclipse.linuxtools.tmf.ui.views.callstack.CallStackView" | |
95 | icon="icons/eview16/callstack_view.gif" | |
96 | id="org.eclipse.linuxtools.tmf.ui.views.callstack" | |
97 | name="%callstack.view.name" | |
98 | restorable="true"> | |
99 | </view> | |
be222f56 PT |
100 | </extension> |
101 | <extension | |
102 | point="org.eclipse.ui.editors"> | |
103 | <editor | |
104 | class="org.eclipse.linuxtools.tmf.ui.editors.TmfEventsEditor" | |
105 | default="false" | |
106 | icon="icons/eview16/events_view.gif" | |
107 | id="org.eclipse.linuxtools.tmf.ui.editors.events" | |
108 | name="%events.editor.name"> | |
109 | <contentTypeBinding | |
110 | contentTypeId="org.eclipse.linuxtools.tmf.ui.content-type.trace"> | |
111 | </contentTypeBinding> | |
112 | </editor> | |
be222f56 PT |
113 | </extension> |
114 | <extension | |
115 | point="org.eclipse.ui.newWizards"> | |
116 | <category | |
117 | id="org.eclipse.linuxtools.tmf.ui.wizards.new" | |
118 | name="%project.new.category.name"> | |
119 | </category> | |
120 | <wizard | |
121 | category="org.eclipse.linuxtools.tmf.ui.wizards.new" | |
122 | class="org.eclipse.linuxtools.tmf.ui.project.wizards.NewTmfProjectWizard" | |
123 | icon="icons/elcl16/new_tracing_prj.gif" | |
124 | id="org.eclipse.linuxtools.tmf.ui.views.ui.wizards.newProject" | |
125 | name="%project.new.wizard.name" | |
126 | project="true"> | |
127 | <description> | |
128 | %project.new.wizard.description | |
129 | ||
130 | </description> | |
131 | </wizard> | |
132 | <wizard | |
133 | category="org.eclipse.linuxtools.tmf.ui.wizards.new" | |
134 | class="org.eclipse.linuxtools.internal.tmf.ui.parsers.wizards.CustomTxtParserWizard" | |
135 | icon="icons/etool16/customparser_wizard.gif" | |
136 | id="org.eclipse.linuxtools.tmf.ui.wizards.custom.text" | |
137 | name="%project.new.wizard.custom.text.parser"> | |
138 | </wizard> | |
139 | <wizard | |
140 | category="org.eclipse.linuxtools.tmf.ui.wizards.new" | |
141 | class="org.eclipse.linuxtools.internal.tmf.ui.parsers.wizards.CustomXmlParserWizard" | |
142 | icon="icons/etool16/customparser_wizard.gif" | |
143 | id="org.eclipse.linuxtools.tmf.ui.wizards.custom.xml" | |
144 | name="%project.new.wizard.custom.xml.parser"> | |
145 | </wizard> | |
146 | </extension> | |
147 | <extension | |
148 | point="org.eclipse.ui.importWizards"> | |
149 | <category | |
150 | id="org.eclipse.linuxtools.tmf.import.category" | |
151 | name="%project.new.category.name"> | |
152 | </category> | |
153 | <wizard | |
154 | category="org.eclipse.linuxtools.tmf.import.category" | |
d04ec5a7 | 155 | class="org.eclipse.linuxtools.tmf.ui.project.wizards.importtrace.ImportTraceWizard" |
be222f56 PT |
156 | icon="icons/etool16/import.gif" |
157 | id="org.eclipse.linuxtools.tmf.ui.trace.import.wizard" | |
158 | name="%project.import.wizard.name"> | |
159 | </wizard> | |
d04ec5a7 MK |
160 | <wizard |
161 | category="org.eclipse.linuxtools.tmf.import.category" | |
162 | class="org.eclipse.linuxtools.tmf.ui.project.wizards.importtrace.BatchImportTraceWizard" | |
163 | icon="icons/etool16/import.gif" | |
164 | id="org.eclipse.linuxtools.tmf.ui.batch_import" | |
165 | name="%project.import.wizard.name.batch"> | |
166 | </wizard> | |
be222f56 PT |
167 | </extension> |
168 | <extension | |
169 | id="org.eclipse.linuxtools.tmf.project.nature" | |
170 | point="org.eclipse.core.resources.natures"> | |
171 | <runtime> | |
172 | <run | |
173 | class="org.eclipse.linuxtools.tmf.core.TmfProjectNature"> | |
174 | </run> | |
175 | </runtime> | |
176 | </extension> | |
177 | <extension | |
178 | point="org.eclipse.ui.ide.projectNatureImages"> | |
179 | <image | |
180 | icon="icons/ovr16/trace_nature_ovr.gif" | |
181 | id="org.eclipse.linuxtools.tmf.ui.nature.image" | |
182 | natureId="org.eclipse.linuxtools.tmf.project.nature"> | |
183 | </image> | |
184 | </extension> | |
185 | <extension | |
186 | point="org.eclipse.ui.navigator.navigatorContent"> | |
187 | <navigatorContent | |
188 | activeByDefault="true" | |
189 | contentProvider="org.eclipse.linuxtools.tmf.ui.project.model.TmfNavigatorContentProvider" | |
190 | icon="icons/eview16/tracing_pers.gif" | |
191 | id="org.eclipse.linuxtools.tmf.ui.navigator.content" | |
192 | labelProvider="org.eclipse.linuxtools.tmf.ui.project.model.TmfNavigatorLabelProvider" | |
193 | name="%navigatorContent.name" | |
194 | priority="normal"> | |
195 | <triggerPoints> | |
196 | <or> | |
197 | <and> | |
198 | <instanceof | |
199 | value="org.eclipse.core.resources.IProject"> | |
200 | </instanceof> | |
201 | <test | |
202 | property="org.eclipse.core.resources.projectNature" | |
203 | value="org.eclipse.linuxtools.tmf.project.nature"> | |
204 | </test> | |
205 | </and> | |
206 | <instanceof | |
207 | value="org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement"> | |
208 | </instanceof> | |
209 | </or> | |
210 | </triggerPoints> | |
211 | <possibleChildren> | |
212 | <or> | |
213 | <instanceof | |
214 | value="org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement"> | |
215 | </instanceof> | |
216 | <instanceof | |
217 | value="org.eclipse.core.resources.IResource"> | |
218 | </instanceof> | |
219 | </or></possibleChildren> | |
220 | <override | |
221 | policy="InvokeAlwaysRegardlessOfSuppressedExt" | |
222 | suppressedExtensionId="org.eclipse.ui.navigator.resourceContent"> | |
223 | </override> | |
224 | <actionProvider | |
225 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.TmfActionProvider" | |
226 | id="org.eclipse.linuxtools.tmf.ui.navigator.actions.provider"> | |
227 | <enablement> | |
228 | <or> | |
229 | <instanceof | |
230 | value="org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement"> | |
231 | </instanceof> | |
232 | </or> | |
233 | </enablement> | |
234 | </actionProvider> | |
235 | <dropAssistant | |
236 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DropAdapterAssistant" | |
237 | id="org.eclipse.linuxtools.tmf.ui.navigator.dropAssistant"> | |
238 | <possibleDropTargets> | |
239 | <or> | |
240 | <and> | |
241 | <instanceof | |
242 | value="org.eclipse.core.resources.IProject"> | |
243 | </instanceof> | |
244 | <test | |
245 | property="org.eclipse.core.resources.projectNature" | |
246 | value="org.eclipse.linuxtools.tmf.project.nature"> | |
247 | </test> | |
248 | </and> | |
249 | <instanceof | |
250 | value="org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement"> | |
251 | </instanceof> | |
252 | </or> | |
253 | </possibleDropTargets> | |
254 | </dropAssistant> | |
255 | <commonWizard | |
256 | menuGroupId="org.eclipse.linuxtools.tmf.ui.views.ui.wizards.menuGroupId" | |
257 | type="new" | |
258 | wizardId="org.eclipse.linuxtools.tmf.ui.views.ui.wizards.newProject"> | |
ecf3bc29 MAL |
259 | <enablement> |
260 | <with variable="activeWorkbenchWindow.activePerspective"> | |
261 | <equals | |
262 | value="org.eclipse.linuxtools.tmf.ui.perspective"> | |
263 | </equals> | |
264 | </with> | |
265 | </enablement> | |
be222f56 PT |
266 | </commonWizard> |
267 | </navigatorContent> | |
268 | </extension> | |
269 | <extension | |
270 | point="org.eclipse.ui.navigator.viewer"> | |
271 | <viewerContentBinding | |
272 | viewerId="org.eclipse.ui.navigator.ProjectExplorer"> | |
273 | <includes> | |
274 | <contentExtension | |
275 | pattern="org.eclipse.linuxtools.tmf.ui.navigator.content"> | |
276 | </contentExtension> | |
277 | <contentExtension | |
278 | pattern="org.eclipse.ui.navigator.resources.filters.*"> | |
279 | </contentExtension> | |
1169a815 BH |
280 | <contentExtension |
281 | pattern="org.eclipse.linuxtools.internal.tmf.ui.project.model.TmfEditorLinkHelper"> | |
282 | </contentExtension> | |
be222f56 PT |
283 | </includes> |
284 | </viewerContentBinding> | |
285 | </extension> | |
286 | <extension | |
287 | point="org.eclipse.ui.decorators"> | |
288 | <decorator | |
289 | icon="icons/ovr16/trace_folder_ovr.png" | |
290 | id="org.eclipse.linuxtools.tmf.ui.trace_folder.decorator" | |
291 | label="Trace Folder" | |
292 | lightweight="true" | |
293 | location="TOP_RIGHT" | |
294 | state="true"> | |
295 | <enablement> | |
296 | <objectClass | |
297 | name="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
298 | </objectClass> | |
299 | </enablement> | |
300 | </decorator> | |
301 | <decorator | |
302 | icon="icons/ovr16/experiment_folder_ovr.png" | |
303 | id="org.eclipse.linuxtools.tmf.ui.experiment_folder.decorator" | |
304 | label="Trace Experiment Folder" | |
305 | lightweight="true" | |
306 | location="TOP_RIGHT" | |
307 | state="true"> | |
308 | <enablement> | |
309 | <objectClass | |
310 | name="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder"> | |
311 | </objectClass> | |
312 | </enablement> | |
313 | </decorator> | |
314 | <decorator | |
315 | icon="icons/ovr16/link_ovr.gif" | |
316 | id="org.eclipse.linuxtools.tmf.ui.linked_trace.decorator" | |
317 | label="Linked Trace" | |
318 | lightweight="true" | |
319 | location="BOTTOM_RIGHT" | |
320 | state="true"> | |
321 | <enablement> | |
322 | <and> | |
323 | <objectClass | |
324 | name="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
325 | </objectClass> | |
326 | <objectState | |
327 | name="isLinked" | |
328 | value="true"> | |
329 | </objectState> | |
330 | </and> | |
331 | </enablement> | |
332 | </decorator> | |
333 | </extension> | |
334 | <extension | |
335 | point="org.eclipse.ui.menus"> | |
6151d86c PT |
336 | <menuContribution |
337 | locationURI="popup:org.eclipse.ui.popup.any?after=additions"> | |
be222f56 | 338 | <command |
6151d86c PT |
339 | commandId="org.eclipse.ui.file.import" |
340 | label="%command.import" | |
341 | mnemonic="%command.import.mnemonic" | |
342 | style="push"> | |
be222f56 PT |
343 | <visibleWhen |
344 | checkEnabled="false"> | |
345 | <with | |
346 | variable="selection"> | |
347 | <count | |
348 | value="1"> | |
349 | </count> | |
350 | <iterate | |
be222f56 PT |
351 | operator="and"> |
352 | <instanceof | |
353 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
354 | </instanceof> | |
355 | </iterate> | |
356 | </with> | |
357 | </visibleWhen> | |
358 | </command> | |
d04ec5a7 MK |
359 | <command |
360 | commandId="org.eclipse.linuxtools.tmf.ui.batch_import" | |
361 | label="%command.batch_import" | |
362 | mnemonic="%command.batch_import.mnemonic" | |
363 | style="push"> | |
364 | <visibleWhen | |
365 | checkEnabled="false"> | |
366 | <with | |
367 | variable="selection"> | |
368 | <count | |
369 | value="1"> | |
370 | </count> | |
371 | <iterate | |
372 | operator="and"> | |
373 | <instanceof | |
374 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
375 | </instanceof> | |
376 | </iterate> | |
377 | </with> | |
378 | </visibleWhen> | |
379 | </command> | |
6151d86c PT |
380 | <separator |
381 | name="org.eclipse.linuxtools.tmf.ui.separator1" | |
382 | visible="true"> | |
383 | </separator> | |
be222f56 | 384 | <command |
6151d86c PT |
385 | commandId="org.eclipse.ui.navigate.openResource" |
386 | disabledIcon="/icons/dlcl16/open.gif" | |
387 | icon="/icons/elcl16/open.gif" | |
388 | label="%command.open" | |
389 | mnemonic="%command.open.mnemonic" | |
390 | style="push"> | |
be222f56 PT |
391 | <visibleWhen |
392 | checkEnabled="false"> | |
393 | <with | |
394 | variable="selection"> | |
395 | <count | |
396 | value="1"> | |
397 | </count> | |
398 | <iterate | |
399 | ifEmpty="false" | |
400 | operator="and"> | |
6151d86c PT |
401 | <or> |
402 | <instanceof | |
403 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
404 | </instanceof> | |
405 | <instanceof | |
406 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
407 | </instanceof> | |
408 | </or> | |
be222f56 PT |
409 | </iterate> |
410 | </with> | |
411 | </visibleWhen> | |
412 | </command> | |
413 | <command | |
6151d86c | 414 | commandId="org.eclipse.ui.edit.copy" |
3f10c5b9 PT |
415 | disabledIcon="icons/dtool16/copy_edit.gif" |
416 | icon="icons/etool16/copy_edit.gif" | |
6151d86c PT |
417 | label="%command.copy" |
418 | mnemonic="%command.copy.mnemonic" | |
419 | style="push"> | |
be222f56 PT |
420 | <visibleWhen |
421 | checkEnabled="false"> | |
422 | <with | |
423 | variable="selection"> | |
424 | <count | |
425 | value="1"> | |
426 | </count> | |
427 | <iterate | |
428 | ifEmpty="false" | |
429 | operator="and"> | |
6151d86c PT |
430 | <or> |
431 | <instanceof | |
432 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
433 | </instanceof> | |
434 | <instanceof | |
435 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
436 | </instanceof> | |
437 | </or> | |
be222f56 PT |
438 | </iterate> |
439 | </with> | |
440 | </visibleWhen> | |
441 | </command> | |
442 | <command | |
6151d86c PT |
443 | commandId="org.eclipse.ui.edit.rename" |
444 | disabledIcon="/icons/dlcl16/rename.gif" | |
445 | icon="/icons/elcl16/rename.gif" | |
446 | label="%command.rename" | |
447 | mnemonic="%command.rename.mnemonic" | |
448 | style="push"> | |
be222f56 PT |
449 | <visibleWhen |
450 | checkEnabled="false"> | |
451 | <with | |
452 | variable="selection"> | |
453 | <count | |
454 | value="1"> | |
455 | </count> | |
456 | <iterate | |
457 | ifEmpty="false" | |
458 | operator="and"> | |
6151d86c PT |
459 | <or> |
460 | <instanceof | |
461 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
462 | </instanceof> | |
463 | <instanceof | |
464 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
465 | </instanceof> | |
466 | </or> | |
be222f56 PT |
467 | </iterate> |
468 | </with> | |
469 | </visibleWhen> | |
470 | </command> | |
471 | <command | |
6151d86c | 472 | commandId="org.eclipse.ui.edit.delete" |
3f10c5b9 PT |
473 | disabledIcon="icons/dtool16/delete.gif" |
474 | icon="icons/etool16/delete.gif" | |
6151d86c PT |
475 | label="%command.delete" |
476 | mnemonic="%command.delete.mnemonic" | |
477 | style="push"> | |
be222f56 PT |
478 | <visibleWhen |
479 | checkEnabled="false"> | |
480 | <with | |
481 | variable="selection"> | |
482 | <iterate | |
483 | ifEmpty="false" | |
484 | operator="and"> | |
6151d86c PT |
485 | <or> |
486 | <and> | |
487 | <instanceof | |
488 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
489 | </instanceof> | |
490 | <not> | |
491 | <test | |
492 | forcePluginActivation="true" | |
493 | property="org.eclipse.linuxtools.tmf.ui.isExperimentTrace"> | |
494 | </test> | |
495 | </not> | |
496 | </and> | |
be222f56 | 497 | <instanceof |
6151d86c | 498 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> |
be222f56 | 499 | </instanceof> |
6151d86c | 500 | </or> |
be222f56 PT |
501 | </iterate> |
502 | </with> | |
503 | </visibleWhen> | |
504 | </command> | |
505 | <command | |
6151d86c | 506 | commandId="org.eclipse.ui.edit.delete" |
3f10c5b9 PT |
507 | disabledIcon="icons/dtool16/delete.gif" |
508 | icon="icons/etool16/delete.gif" | |
6151d86c PT |
509 | label="%command.remove" |
510 | mnemonic="%command.remove.mnemonic" | |
511 | style="push"> | |
be222f56 PT |
512 | <visibleWhen |
513 | checkEnabled="false"> | |
514 | <with | |
515 | variable="selection"> | |
516 | <iterate | |
517 | ifEmpty="false" | |
518 | operator="and"> | |
519 | <and> | |
520 | <instanceof | |
521 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
522 | </instanceof> | |
523 | <test | |
524 | forcePluginActivation="true" | |
525 | property="org.eclipse.linuxtools.tmf.ui.isExperimentTrace"> | |
526 | </test> | |
527 | </and> | |
528 | </iterate> | |
529 | </with> | |
530 | </visibleWhen> | |
531 | </command> | |
532 | <separator | |
533 | name="org.eclipse.linuxtools.tmf.ui.separator2" | |
534 | visible="true"> | |
535 | </separator> | |
536 | <command | |
6151d86c | 537 | commandId="org.eclipse.linuxtools.tmf.ui.command.new_experiment" |
be222f56 PT |
538 | disabledIcon="icons/dtool16/new.gif" |
539 | icon="icons/etool16/new.gif" | |
6151d86c PT |
540 | label="%command.new_experiment" |
541 | mnemonic="%command.new_experiment.mnemonic" | |
be222f56 | 542 | style="push" |
6151d86c | 543 | tooltip="%command.new_experiment.description"> |
be222f56 PT |
544 | <visibleWhen |
545 | checkEnabled="false"> | |
546 | <with | |
547 | variable="selection"> | |
548 | <count | |
549 | value="1"> | |
550 | </count> | |
551 | <iterate | |
552 | ifEmpty="false" | |
553 | operator="and"> | |
554 | <instanceof | |
555 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder"> | |
556 | </instanceof> | |
557 | </iterate> | |
558 | </with> | |
559 | </visibleWhen> | |
560 | </command> | |
be222f56 | 561 | <command |
6151d86c PT |
562 | commandId="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files" |
563 | label="%command.delete_suppl_files" | |
564 | mnemonic="%command.delete_suppl_files.mnemonic" | |
be222f56 | 565 | style="push" |
6151d86c | 566 | tooltip="%command.delete_suppl_files.description"> |
be222f56 PT |
567 | <visibleWhen |
568 | checkEnabled="false"> | |
569 | <with | |
570 | variable="selection"> | |
6151d86c PT |
571 | <and> |
572 | <count | |
573 | value="1"> | |
574 | </count> | |
575 | <iterate | |
576 | ifEmpty="false" | |
577 | operator="and"> | |
578 | <and> | |
579 | <or> | |
580 | <instanceof | |
581 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
582 | </instanceof> | |
583 | <instanceof | |
584 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
585 | </instanceof> | |
586 | </or> | |
587 | <test | |
588 | forcePluginActivation="true" | |
589 | property="org.eclipse.linuxtools.tmf.ui.hasSupplementaryFiles"> | |
590 | </test> | |
591 | </and> | |
592 | </iterate> | |
593 | </and> | |
be222f56 PT |
594 | </with> |
595 | </visibleWhen> | |
596 | </command> | |
6151d86c PT |
597 | <separator |
598 | name="org.eclipse.linuxtools.tmf.ui.separator3" | |
599 | visible="true"> | |
600 | </separator> | |
587660fc PT |
601 | <command |
602 | commandId="org.eclipse.linuxtools.tmf.ui.command.managecustomparsers" | |
603 | icon="icons/etool16/customparser_wizard.gif" | |
604 | id="org.eclipse.linuxtools.tmf.ui.menu.managecustomparsers" | |
605 | style="push"> | |
606 | <visibleWhen | |
607 | checkEnabled="false"> | |
608 | <with | |
609 | variable="selection"> | |
610 | <count | |
611 | value="1"> | |
612 | </count> | |
613 | <iterate | |
614 | operator="and"> | |
615 | <instanceof | |
616 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
617 | </instanceof> | |
618 | </iterate> | |
619 | </with> | |
620 | </visibleWhen> | |
621 | </command> | |
6151d86c PT |
622 | <menu |
623 | label="%command.select_trace_type" | |
624 | mnemonic="%command.select_trace_type.mnemonic" | |
625 | tooltip="%command.select_trace_type.description"> | |
626 | <dynamic | |
627 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SelectTraceTypeContributionItem" | |
628 | id="org.eclipse.linuxtools.tmf.ui.command.select_trace_type.dynamic"> | |
629 | </dynamic> | |
587660fc PT |
630 | <separator |
631 | name="org.eclipse.linuxtools.tmf.ui.separator6" | |
632 | visible="true"> | |
633 | </separator> | |
634 | <command | |
635 | commandId="org.eclipse.linuxtools.tmf.ui.command.managecustomparsers" | |
636 | icon="icons/etool16/customparser_wizard.gif" | |
637 | style="push"> | |
638 | </command> | |
be222f56 PT |
639 | <visibleWhen |
640 | checkEnabled="false"> | |
641 | <with | |
642 | variable="selection"> | |
be222f56 PT |
643 | <iterate |
644 | ifEmpty="false" | |
645 | operator="and"> | |
646 | <instanceof | |
6151d86c | 647 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> |
be222f56 PT |
648 | </instanceof> |
649 | </iterate> | |
650 | </with> | |
651 | </visibleWhen> | |
6151d86c | 652 | </menu> |
be222f56 | 653 | <separator |
6151d86c | 654 | name="org.eclipse.linuxtools.tmf.ui.separator4" |
be222f56 PT |
655 | visible="true"> |
656 | </separator> | |
657 | <command | |
6151d86c | 658 | commandId="org.eclipse.linuxtools.tmf.ui.command.select_traces" |
36a65820 | 659 | icon="icons/obj16/add_obj.gif" |
6151d86c PT |
660 | label="%command.select_traces" |
661 | mnemonic="%command.select_traces.mnemonic" | |
be222f56 | 662 | style="push" |
6151d86c | 663 | tooltip="%commands.select_traces.description"> |
be222f56 PT |
664 | <visibleWhen |
665 | checkEnabled="false"> | |
666 | <with | |
667 | variable="selection"> | |
668 | <count | |
669 | value="1"> | |
670 | </count> | |
671 | <iterate | |
672 | ifEmpty="false" | |
673 | operator="and"> | |
674 | <instanceof | |
675 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
676 | </instanceof> | |
677 | </iterate> | |
678 | </with> | |
679 | </visibleWhen> | |
680 | </command> | |
6151d86c PT |
681 | <separator |
682 | name="org.eclipse.linuxtools.tmf.ui.separator5" | |
683 | visible="true"> | |
684 | </separator> | |
be222f56 | 685 | <command |
6151d86c PT |
686 | commandId="org.eclipse.ui.file.refresh" |
687 | label="%command.refresh" | |
688 | mnemonic="%command.refresh.mnemonic" | |
689 | style="push"> | |
be222f56 PT |
690 | <visibleWhen |
691 | checkEnabled="false"> | |
692 | <with | |
693 | variable="selection"> | |
694 | <count | |
695 | value="1"> | |
696 | </count> | |
697 | <iterate | |
698 | ifEmpty="false" | |
699 | operator="and"> | |
6151d86c PT |
700 | <or> |
701 | <instanceof | |
702 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
703 | </instanceof> | |
704 | <instanceof | |
705 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder"> | |
706 | </instanceof> | |
707 | <instanceof | |
708 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
709 | </instanceof> | |
710 | </or> | |
be222f56 PT |
711 | </iterate> |
712 | </with> | |
713 | </visibleWhen> | |
714 | </command> | |
be222f56 PT |
715 | </menuContribution> |
716 | </extension> | |
717 | <extension | |
718 | point="org.eclipse.ui.commands"> | |
719 | <category | |
6151d86c PT |
720 | description="%commands.category.description" |
721 | id="org.eclipse.linuxtools.tmf.ui.commands.category" | |
722 | name="%commands.category.name"> | |
be222f56 PT |
723 | </category> |
724 | <command | |
6151d86c PT |
725 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.category" |
726 | description="%command.new_experiment.description" | |
727 | id="org.eclipse.linuxtools.tmf.ui.command.new_experiment" | |
728 | name="%command.new_experiment"> | |
be222f56 PT |
729 | </command> |
730 | <command | |
6151d86c PT |
731 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.category" |
732 | description="%command.select_trace_type.description" | |
733 | id="org.eclipse.linuxtools.tmf.ui.command.select_trace_type" | |
734 | name="%command.select_trace_type"> | |
be222f56 | 735 | <commandParameter |
6151d86c | 736 | id="org.eclipse.linuxtools.tmf.ui.commandparameter.select_trace_type.bundle" |
be222f56 PT |
737 | name="%commands.trace.select_trace_type.bundle" |
738 | optional="false"> | |
739 | </commandParameter> | |
740 | <commandParameter | |
6151d86c | 741 | id="org.eclipse.linuxtools.tmf.ui.commandparameter.select_trace_type.type" |
be222f56 PT |
742 | name="%commands.trace.select_trace_type.type" |
743 | optional="false"> | |
744 | </commandParameter> | |
745 | <commandParameter | |
6151d86c | 746 | id="org.eclipse.linuxtools.tmf.ui.commandparameter.select_trace_type.icon" |
be222f56 PT |
747 | name="%commands.trace.select_trace_type.icon" |
748 | optional="false"> | |
749 | </commandParameter> | |
750 | </command> | |
751 | <command | |
6151d86c PT |
752 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.category" |
753 | id="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files" | |
754 | name="%command.delete_suppl_files"> | |
be222f56 PT |
755 | </command> |
756 | <command | |
6151d86c PT |
757 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.category" |
758 | description="%command.select_traces.description" | |
759 | id="org.eclipse.linuxtools.tmf.ui.command.select_traces" | |
760 | name="%command.select_traces"> | |
be222f56 | 761 | </command> |
be222f56 PT |
762 | <category |
763 | description="%commands.parser.category.description" | |
764 | id="org.eclipse.linuxtools.tmf.ui.commands.parser.category" | |
765 | name="%commands.parser.category.name"> | |
766 | </category> | |
767 | <command | |
768 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.parser.category" | |
769 | description="%commands.parser.manage.description" | |
770 | id="org.eclipse.linuxtools.tmf.ui.command.managecustomparsers" | |
771 | name="%commands.parser.manage"> | |
772 | </command> | |
773 | <category | |
774 | description="%commands.uml2sd.category.name" | |
775 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
776 | name="%commands.uml2sd.category.name"> | |
777 | </category> | |
778 | <command | |
779 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
780 | description="%commands.uml2sd.goto.description" | |
781 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.GoToMessage" | |
782 | name="%commands.uml2sd.goto"> | |
783 | </command> | |
784 | <command | |
785 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
786 | description="%commands.uml2sd.showend.description" | |
787 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeEnd" | |
788 | name="%commands.uml2sd.showend"> | |
789 | </command> | |
790 | <command | |
791 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
792 | description="%commands.uml2sd.showstart.description" | |
793 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeStart" | |
794 | name="%commands.uml2sd.showstart"> | |
795 | </command> | |
796 | <command | |
797 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
798 | description="%commands.uml2sd.scrollup.description" | |
799 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDUp" | |
800 | name="%commands.uml2sd.scrollup"> | |
801 | </command> | |
802 | <command | |
803 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
804 | description="%commands.uml2sd.scrolldown.description" | |
805 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDDown" | |
806 | name="%commands.uml2sd.scrolldown"> | |
807 | </command> | |
808 | <command | |
809 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
810 | description="%commands.uml2sd.scrollleft.description" | |
811 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDLeft" | |
812 | name="%commands.uml2sd.scrollleft"> | |
813 | </command> | |
814 | <command | |
815 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
816 | description="%commands.uml2sd.scrollright.description" | |
817 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDRight" | |
818 | name="%commands.uml2sd.scrollright"> | |
819 | </command> | |
d04ec5a7 MK |
820 | <command |
821 | description="%command.batch_import.description" | |
822 | id="org.eclipse.linuxtools.tmf.ui.batch_import" | |
823 | name="%command.batch_import"> | |
824 | </command> | |
be222f56 | 825 | </extension> |
be222f56 PT |
826 | <extension |
827 | point="org.eclipse.ui.handlers"> | |
828 | <handler | |
829 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.ImportTraceHandler" | |
6151d86c PT |
830 | commandId="org.eclipse.ui.file.import"> |
831 | <activeWhen> | |
832 | <and> | |
833 | <count | |
834 | value="1"> | |
835 | </count> | |
e54c68b7 FC |
836 | <iterate |
837 | ifEmpty="false" | |
838 | operator="and"> | |
6151d86c PT |
839 | <instanceof |
840 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
841 | </instanceof> | |
842 | </iterate> | |
843 | </and> | |
844 | </activeWhen> | |
be222f56 PT |
845 | </handler> |
846 | <handler | |
847 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.RefreshHandler" | |
6151d86c PT |
848 | commandId="org.eclipse.ui.file.refresh"> |
849 | <activeWhen> | |
850 | <and> | |
851 | <count | |
852 | value="1"> | |
853 | </count> | |
e54c68b7 FC |
854 | <iterate |
855 | ifEmpty="false" | |
856 | operator="and"> | |
6151d86c PT |
857 | <or> |
858 | <instanceof | |
859 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
860 | </instanceof> | |
861 | <instanceof | |
862 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder"> | |
863 | </instanceof> | |
864 | <instanceof | |
865 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
866 | </instanceof> | |
867 | </or> | |
868 | </iterate> | |
869 | </and> | |
870 | </activeWhen> | |
be222f56 PT |
871 | </handler> |
872 | <handler | |
873 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.OpenTraceHandler" | |
6151d86c PT |
874 | commandId="org.eclipse.ui.navigate.openResource"> |
875 | <activeWhen> | |
876 | <and> | |
877 | <count | |
878 | value="1"> | |
879 | </count> | |
e54c68b7 FC |
880 | <iterate |
881 | operator="and"> | |
6151d86c PT |
882 | <instanceof |
883 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
884 | </instanceof> | |
885 | </iterate> | |
886 | </and> | |
887 | </activeWhen> | |
be222f56 PT |
888 | </handler> |
889 | <handler | |
6151d86c PT |
890 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.OpenExperimentHandler" |
891 | commandId="org.eclipse.ui.navigate.openResource"> | |
892 | <activeWhen> | |
893 | <and> | |
894 | <count | |
895 | value="1"> | |
896 | </count> | |
e54c68b7 FC |
897 | <iterate |
898 | operator="and"> | |
6151d86c PT |
899 | <instanceof |
900 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
901 | </instanceof> | |
902 | </iterate> | |
903 | </and> | |
904 | </activeWhen> | |
be222f56 PT |
905 | </handler> |
906 | <handler | |
6151d86c PT |
907 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.CopyTraceHandler" |
908 | commandId="org.eclipse.ui.edit.copy"> | |
909 | <activeWhen> | |
910 | <and> | |
911 | <count | |
912 | value="1"> | |
913 | </count> | |
e54c68b7 FC |
914 | <iterate |
915 | operator="and"> | |
6151d86c PT |
916 | <instanceof |
917 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
918 | </instanceof> | |
919 | </iterate> | |
920 | </and> | |
921 | </activeWhen> | |
be222f56 PT |
922 | </handler> |
923 | <handler | |
6151d86c PT |
924 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.CopyExperimentHandler" |
925 | commandId="org.eclipse.ui.edit.copy"> | |
926 | <activeWhen> | |
927 | <and> | |
928 | <count | |
929 | value="1"> | |
930 | </count> | |
e54c68b7 FC |
931 | <iterate |
932 | operator="and"> | |
6151d86c PT |
933 | <instanceof |
934 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
935 | </instanceof> | |
936 | </iterate> | |
937 | </and> | |
938 | </activeWhen> | |
be222f56 PT |
939 | </handler> |
940 | <handler | |
6151d86c PT |
941 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.RenameTraceHandler" |
942 | commandId="org.eclipse.ui.edit.rename"> | |
943 | <activeWhen> | |
944 | <and> | |
945 | <count | |
946 | value="1"> | |
947 | </count> | |
e54c68b7 FC |
948 | <iterate |
949 | operator="and"> | |
6151d86c PT |
950 | <instanceof |
951 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
952 | </instanceof> | |
953 | </iterate> | |
954 | </and> | |
955 | </activeWhen> | |
be222f56 PT |
956 | </handler> |
957 | <handler | |
6151d86c PT |
958 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.RenameExperimentHandler" |
959 | commandId="org.eclipse.ui.edit.rename"> | |
960 | <activeWhen> | |
961 | <and> | |
962 | <count | |
963 | value="1"> | |
964 | </count> | |
e54c68b7 FC |
965 | <iterate |
966 | operator="and"> | |
6151d86c PT |
967 | <instanceof |
968 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
969 | </instanceof> | |
970 | </iterate> | |
971 | </and> | |
972 | </activeWhen> | |
be222f56 PT |
973 | </handler> |
974 | <handler | |
6151d86c PT |
975 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteTraceHandler" |
976 | commandId="org.eclipse.ui.edit.delete"> | |
977 | <activeWhen> | |
e54c68b7 FC |
978 | <iterate |
979 | ifEmpty="false" | |
980 | operator="and"> | |
981 | <instanceof | |
982 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
983 | </instanceof> | |
984 | </iterate> | |
6151d86c | 985 | </activeWhen> |
be222f56 PT |
986 | </handler> |
987 | <handler | |
6151d86c PT |
988 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteExperimentHandler" |
989 | commandId="org.eclipse.ui.edit.delete"> | |
990 | <activeWhen> | |
e54c68b7 FC |
991 | <iterate |
992 | ifEmpty="false" | |
993 | operator="and"> | |
994 | <instanceof | |
995 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
996 | </instanceof> | |
997 | </iterate> | |
6151d86c | 998 | </activeWhen> |
be222f56 PT |
999 | </handler> |
1000 | <handler | |
6151d86c PT |
1001 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteTraceSupplementaryFilesHandler" |
1002 | commandId="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files"> | |
1003 | <activeWhen> | |
1004 | <and> | |
1005 | <count | |
1006 | value="1"> | |
1007 | </count> | |
e54c68b7 FC |
1008 | <iterate |
1009 | operator="and"> | |
6151d86c PT |
1010 | <instanceof |
1011 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
1012 | </instanceof> | |
1013 | </iterate> | |
1014 | </and> | |
1015 | </activeWhen> | |
be222f56 PT |
1016 | </handler> |
1017 | <handler | |
6151d86c PT |
1018 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteExperimentSupplementaryFilesHandler" |
1019 | commandId="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files"> | |
1020 | <activeWhen> | |
1021 | <and> | |
1022 | <count | |
1023 | value="1"> | |
1024 | </count> | |
e54c68b7 FC |
1025 | <iterate |
1026 | operator="and"> | |
6151d86c PT |
1027 | <instanceof |
1028 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
1029 | </instanceof> | |
1030 | </iterate> | |
1031 | </and> | |
1032 | </activeWhen> | |
be222f56 PT |
1033 | </handler> |
1034 | <handler | |
6151d86c PT |
1035 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.NewExperimentHandler" |
1036 | commandId="org.eclipse.linuxtools.tmf.ui.command.new_experiment"> | |
1037 | <activeWhen> | |
1038 | <and> | |
1039 | <count | |
1040 | value="1"> | |
1041 | </count> | |
e54c68b7 FC |
1042 | <iterate |
1043 | operator="and"> | |
6151d86c PT |
1044 | <instanceof |
1045 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder"> | |
1046 | </instanceof> | |
1047 | </iterate> | |
1048 | </and> | |
1049 | </activeWhen> | |
be222f56 PT |
1050 | </handler> |
1051 | <handler | |
6151d86c PT |
1052 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SelectTraceTypeHandler" |
1053 | commandId="org.eclipse.linuxtools.tmf.ui.command.select_trace_type"> | |
1054 | <activeWhen> | |
e54c68b7 FC |
1055 | <iterate |
1056 | ifEmpty="false" | |
1057 | operator="and"> | |
1058 | <instanceof | |
1059 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
1060 | </instanceof> | |
1061 | </iterate> | |
6151d86c | 1062 | </activeWhen> |
be222f56 PT |
1063 | </handler> |
1064 | <handler | |
6151d86c PT |
1065 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SelectTracesHandler" |
1066 | commandId="org.eclipse.linuxtools.tmf.ui.command.select_traces"> | |
1067 | <activeWhen> | |
1068 | <and> | |
1069 | <count | |
1070 | value="1"> | |
1071 | </count> | |
e54c68b7 FC |
1072 | <iterate |
1073 | operator="and"> | |
6151d86c PT |
1074 | <instanceof |
1075 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
1076 | </instanceof> | |
1077 | </iterate> | |
1078 | </and> | |
1079 | </activeWhen> | |
be222f56 | 1080 | </handler> |
be222f56 PT |
1081 | <handler |
1082 | class="org.eclipse.linuxtools.internal.tmf.ui.commands.ManageCustomParsersCommandHandler" | |
1083 | commandId="org.eclipse.linuxtools.tmf.ui.command.managecustomparsers"> | |
1084 | </handler> | |
1085 | <handler | |
1086 | class="org.eclipse.linuxtools.internal.tmf.ui.editors.handlers.AddBookmarkHandler" | |
1087 | commandId="org.eclipse.ui.edit.addBookmark"> | |
1088 | <activeWhen> | |
cf6af39c PT |
1089 | <and> |
1090 | <with | |
1091 | variable="activePart"> | |
1092 | <instanceof | |
1093 | value="org.eclipse.linuxtools.tmf.ui.editors.TmfEventsEditor"> | |
1094 | </instanceof> | |
1095 | </with> | |
1096 | <count | |
1097 | value="1"> | |
1098 | </count> | |
1099 | <iterate | |
1100 | ifEmpty="false" | |
1101 | operator="and"> | |
1102 | <instanceof | |
1103 | value="org.eclipse.linuxtools.tmf.core.event.ITmfEvent"> | |
1104 | </instanceof> | |
1105 | </iterate> | |
1106 | </and> | |
be222f56 PT |
1107 | </activeWhen> |
1108 | </handler> | |
d04ec5a7 MK |
1109 | <handler |
1110 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.BatchImportTraceHandler" | |
1111 | commandId="org.eclipse.linuxtools.tmf.ui.batch_import"> | |
1112 | <activeWhen> | |
1113 | <and> | |
1114 | <count | |
1115 | value="1"> | |
1116 | </count> | |
1117 | <iterate | |
1118 | ifEmpty="false" | |
1119 | operator="and"> | |
1120 | <instanceof | |
1121 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
1122 | </instanceof> | |
1123 | </iterate> | |
1124 | </and> | |
1125 | </activeWhen> | |
1126 | </handler> | |
be222f56 | 1127 | </extension> |
6151d86c PT |
1128 | <extension point="org.eclipse.ui.bindings"> |
1129 | <key | |
1130 | sequence="ALT+R" | |
1131 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1132 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.GoToMessage" | |
1133 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1134 | </key> | |
1135 | <key | |
1136 | sequence="SHIFT+ALT+END" | |
1137 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1138 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeEnd" | |
1139 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1140 | </key> | |
1141 | <key | |
1142 | sequence="SHIFT+ALT+HOME" | |
1143 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1144 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeStart" | |
1145 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1146 | </key> | |
1147 | <key | |
1148 | sequence="SHIFT+ALT+ARROW_UP" | |
1149 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1150 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDUp" | |
1151 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1152 | </key> | |
1153 | <key | |
1154 | sequence="SHIFT+ALT+ARROW_DOWN" | |
1155 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1156 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDDown" | |
1157 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1158 | </key> | |
1159 | <key | |
1160 | sequence="SHIFT+ALT+ARROW_LEFT" | |
1161 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1162 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDLeft" | |
1163 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1164 | </key> | |
1165 | <key | |
1166 | sequence="SHIFT+ALT+ARROW_RIGHT" | |
1167 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1168 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDRight" | |
1169 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1170 | </key> | |
1171 | </extension> | |
be222f56 PT |
1172 | <extension |
1173 | point="org.eclipse.core.contenttype.contentTypes"> | |
1174 | <content-type | |
1175 | id="org.eclipse.linuxtools.tmf.ui.content-type.trace" | |
1176 | name="%contenttype.trace" | |
1177 | priority="normal"> | |
1178 | </content-type> | |
1179 | </extension> | |
1180 | <extension | |
1181 | point="org.eclipse.ui.contexts"> | |
1182 | <context | |
1183 | id="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1184 | name="%contexts.uml2sd"> | |
1185 | </context> | |
1186 | </extension> | |
1187 | <extension | |
1188 | point="org.eclipse.ui.preferencePages"> | |
1189 | <page | |
1190 | class="org.eclipse.linuxtools.internal.tmf.ui.preferences.TmfTracingPreferencePage" | |
1191 | id="org.eclipse.linuxtools.tmf.ui.TmfTracingPreferences" | |
1192 | name="%preference.page.trace.name"> | |
1193 | </page> | |
1194 | <page | |
1195 | category="org.eclipse.linuxtools.tmf.ui.TmfTracingPreferences" | |
1196 | class="org.eclipse.linuxtools.tmf.ui.views.uml2sd.preferences.SDViewerPage" | |
1197 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.preferences.SDViewerPage" | |
1198 | name="%preference.page.uml2sd.name"> | |
1199 | </page> | |
f8177ba2 FC |
1200 | <page |
1201 | category="org.eclipse.linuxtools.tmf.ui.TmfTracingPreferences" | |
1202 | class="org.eclipse.linuxtools.tmf.ui.properties.TmfTimestampFormatPage" | |
1203 | id="org.eclipse.linuxtools.tmf.ui.preferences.timestamp.format" | |
1204 | name="%preferences.page.timestamp.format"> | |
1205 | </page> | |
be222f56 PT |
1206 | </extension> |
1207 | <extension | |
1208 | point="org.eclipse.linuxtools.tmf.ui.uml2SDLoader"> | |
1209 | <uml2SDLoader | |
1210 | class="org.eclipse.linuxtools.tmf.ui.views.uml2sd.loader.TmfUml2SDSyncLoader" | |
1211 | default="true" | |
1212 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.impl.TmfUml2SDSyncLoader" | |
1213 | name="TMF UML2SD Loader" | |
1214 | view="org.eclipse.linuxtools.tmf.ui.tmfUml2SDSyncView"> | |
1215 | </uml2SDLoader> | |
1216 | </extension> | |
1217 | <!--extension | |
1218 | point="org.eclipse.core.expressions.propertyTesters"> | |
1219 | <propertyTester | |
1220 | class="org.eclipse.linuxtools.tmf.ui.project.handlers.PropertyTester" | |
1221 | id="org.eclipse.linuxtools.tmf.ui.propertyTester.isInTraceFolder" | |
1222 | namespace="org.eclipse.linuxtools.tmf.ui.propertyTester" | |
1223 | properties="isInTraceFolder" | |
1224 | type="org.eclipse.jface.viewers.ISelection"> | |
1225 | </propertyTester> | |
1226 | </extension --> | |
1227 | <extension | |
1228 | point="org.eclipse.core.expressions.propertyTesters"> | |
1229 | <propertyTester | |
1230 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.TracePropertyTester" | |
1231 | id="org.eclipse.linuxtools.tmf.ui.tracePropertyTester" | |
1232 | namespace="org.eclipse.linuxtools.tmf.ui" | |
2dd0c429 | 1233 | properties="isExperimentTrace,hasSupplementaryFiles,traceType" |
be222f56 PT |
1234 | type="org.eclipse.linuxtools.tmf.ui.project.model.TmfProjectModelElement"> |
1235 | </propertyTester> | |
1236 | </extension> | |
1237 | <extension | |
1238 | point="org.eclipse.linuxtools.tmf.ui.tracetype"> | |
1239 | <category | |
1240 | id="org.eclipse.linuxtools.tmf.ui.category.ctf" | |
1241 | name="%tracetype.category.ctf"> | |
1242 | </category> | |
1243 | <type | |
1244 | category="org.eclipse.linuxtools.tmf.ui.category.ctf" | |
1245 | event_type="org.eclipse.linuxtools.tmf.core.ctfadaptor.CtfTmfEvent" | |
1246 | icon="icons/eview16/events_view.gif" | |
1247 | id="org.eclipse.linuxtools.tmf.ui.type.ctf" | |
1248 | name="%tracetype.type.ctf" | |
1249 | trace_type="org.eclipse.linuxtools.tmf.core.ctfadaptor.CtfTmfTrace"> | |
1250 | </type> | |
1251 | </extension> | |
1169a815 BH |
1252 | <extension |
1253 | point="org.eclipse.ui.navigator.linkHelper"> | |
1254 | <linkHelper | |
1255 | class="org.eclipse.linuxtools.internal.tmf.ui.project.model.TmfEditorLinkHelper" | |
1256 | id="org.eclipse.linuxtools.internal.tmf.ui.project.model.TmfEditorLinkHelper"> | |
1257 | <editorInputEnablement> | |
1258 | <instanceof value="org.eclipse.ui.IFileEditorInput"/> | |
1259 | </editorInputEnablement> | |
1260 | <selectionEnablement> | |
1261 | <or> | |
1262 | <instanceof | |
1263 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
1264 | </instanceof> | |
1265 | <instanceof | |
1266 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
1267 | </instanceof> | |
1268 | </or> | |
1269 | </selectionEnablement> | |
1270 | </linkHelper> | |
1271 | </extension> | |
be222f56 PT |
1272 | |
1273 | </plugin> |