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"> | |
259 | <enablement></enablement> | |
260 | </commonWizard> | |
261 | </navigatorContent> | |
262 | </extension> | |
263 | <extension | |
264 | point="org.eclipse.ui.navigator.viewer"> | |
265 | <viewerContentBinding | |
266 | viewerId="org.eclipse.ui.navigator.ProjectExplorer"> | |
267 | <includes> | |
268 | <contentExtension | |
269 | pattern="org.eclipse.linuxtools.tmf.ui.navigator.content"> | |
270 | </contentExtension> | |
271 | <contentExtension | |
272 | pattern="org.eclipse.ui.navigator.resources.filters.*"> | |
273 | </contentExtension> | |
1169a815 BH |
274 | <contentExtension |
275 | pattern="org.eclipse.linuxtools.internal.tmf.ui.project.model.TmfEditorLinkHelper"> | |
276 | </contentExtension> | |
be222f56 PT |
277 | </includes> |
278 | </viewerContentBinding> | |
279 | </extension> | |
280 | <extension | |
281 | point="org.eclipse.ui.decorators"> | |
282 | <decorator | |
283 | icon="icons/ovr16/trace_folder_ovr.png" | |
284 | id="org.eclipse.linuxtools.tmf.ui.trace_folder.decorator" | |
285 | label="Trace Folder" | |
286 | lightweight="true" | |
287 | location="TOP_RIGHT" | |
288 | state="true"> | |
289 | <enablement> | |
290 | <objectClass | |
291 | name="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
292 | </objectClass> | |
293 | </enablement> | |
294 | </decorator> | |
295 | <decorator | |
296 | icon="icons/ovr16/experiment_folder_ovr.png" | |
297 | id="org.eclipse.linuxtools.tmf.ui.experiment_folder.decorator" | |
298 | label="Trace Experiment Folder" | |
299 | lightweight="true" | |
300 | location="TOP_RIGHT" | |
301 | state="true"> | |
302 | <enablement> | |
303 | <objectClass | |
304 | name="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder"> | |
305 | </objectClass> | |
306 | </enablement> | |
307 | </decorator> | |
308 | <decorator | |
309 | icon="icons/ovr16/link_ovr.gif" | |
310 | id="org.eclipse.linuxtools.tmf.ui.linked_trace.decorator" | |
311 | label="Linked Trace" | |
312 | lightweight="true" | |
313 | location="BOTTOM_RIGHT" | |
314 | state="true"> | |
315 | <enablement> | |
316 | <and> | |
317 | <objectClass | |
318 | name="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
319 | </objectClass> | |
320 | <objectState | |
321 | name="isLinked" | |
322 | value="true"> | |
323 | </objectState> | |
324 | </and> | |
325 | </enablement> | |
326 | </decorator> | |
327 | </extension> | |
328 | <extension | |
329 | point="org.eclipse.ui.menus"> | |
6151d86c PT |
330 | <menuContribution |
331 | locationURI="popup:org.eclipse.ui.popup.any?after=additions"> | |
be222f56 | 332 | <command |
6151d86c PT |
333 | commandId="org.eclipse.ui.file.import" |
334 | label="%command.import" | |
335 | mnemonic="%command.import.mnemonic" | |
336 | style="push"> | |
be222f56 PT |
337 | <visibleWhen |
338 | checkEnabled="false"> | |
339 | <with | |
340 | variable="selection"> | |
341 | <count | |
342 | value="1"> | |
343 | </count> | |
344 | <iterate | |
be222f56 PT |
345 | operator="and"> |
346 | <instanceof | |
347 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
348 | </instanceof> | |
349 | </iterate> | |
350 | </with> | |
351 | </visibleWhen> | |
352 | </command> | |
d04ec5a7 MK |
353 | <command |
354 | commandId="org.eclipse.linuxtools.tmf.ui.batch_import" | |
355 | label="%command.batch_import" | |
356 | mnemonic="%command.batch_import.mnemonic" | |
357 | style="push"> | |
358 | <visibleWhen | |
359 | checkEnabled="false"> | |
360 | <with | |
361 | variable="selection"> | |
362 | <count | |
363 | value="1"> | |
364 | </count> | |
365 | <iterate | |
366 | operator="and"> | |
367 | <instanceof | |
368 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
369 | </instanceof> | |
370 | </iterate> | |
371 | </with> | |
372 | </visibleWhen> | |
373 | </command> | |
6151d86c PT |
374 | <separator |
375 | name="org.eclipse.linuxtools.tmf.ui.separator1" | |
376 | visible="true"> | |
377 | </separator> | |
be222f56 | 378 | <command |
6151d86c PT |
379 | commandId="org.eclipse.ui.navigate.openResource" |
380 | disabledIcon="/icons/dlcl16/open.gif" | |
381 | icon="/icons/elcl16/open.gif" | |
382 | label="%command.open" | |
383 | mnemonic="%command.open.mnemonic" | |
384 | style="push"> | |
be222f56 PT |
385 | <visibleWhen |
386 | checkEnabled="false"> | |
387 | <with | |
388 | variable="selection"> | |
389 | <count | |
390 | value="1"> | |
391 | </count> | |
392 | <iterate | |
393 | ifEmpty="false" | |
394 | operator="and"> | |
6151d86c PT |
395 | <or> |
396 | <instanceof | |
397 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
398 | </instanceof> | |
399 | <instanceof | |
400 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
401 | </instanceof> | |
402 | </or> | |
be222f56 PT |
403 | </iterate> |
404 | </with> | |
405 | </visibleWhen> | |
406 | </command> | |
407 | <command | |
6151d86c | 408 | commandId="org.eclipse.ui.edit.copy" |
3f10c5b9 PT |
409 | disabledIcon="icons/dtool16/copy_edit.gif" |
410 | icon="icons/etool16/copy_edit.gif" | |
6151d86c PT |
411 | label="%command.copy" |
412 | mnemonic="%command.copy.mnemonic" | |
413 | style="push"> | |
be222f56 PT |
414 | <visibleWhen |
415 | checkEnabled="false"> | |
416 | <with | |
417 | variable="selection"> | |
418 | <count | |
419 | value="1"> | |
420 | </count> | |
421 | <iterate | |
422 | ifEmpty="false" | |
423 | operator="and"> | |
6151d86c PT |
424 | <or> |
425 | <instanceof | |
426 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
427 | </instanceof> | |
428 | <instanceof | |
429 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
430 | </instanceof> | |
431 | </or> | |
be222f56 PT |
432 | </iterate> |
433 | </with> | |
434 | </visibleWhen> | |
435 | </command> | |
436 | <command | |
6151d86c PT |
437 | commandId="org.eclipse.ui.edit.rename" |
438 | disabledIcon="/icons/dlcl16/rename.gif" | |
439 | icon="/icons/elcl16/rename.gif" | |
440 | label="%command.rename" | |
441 | mnemonic="%command.rename.mnemonic" | |
442 | style="push"> | |
be222f56 PT |
443 | <visibleWhen |
444 | checkEnabled="false"> | |
445 | <with | |
446 | variable="selection"> | |
447 | <count | |
448 | value="1"> | |
449 | </count> | |
450 | <iterate | |
451 | ifEmpty="false" | |
452 | operator="and"> | |
6151d86c PT |
453 | <or> |
454 | <instanceof | |
455 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
456 | </instanceof> | |
457 | <instanceof | |
458 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
459 | </instanceof> | |
460 | </or> | |
be222f56 PT |
461 | </iterate> |
462 | </with> | |
463 | </visibleWhen> | |
464 | </command> | |
465 | <command | |
6151d86c | 466 | commandId="org.eclipse.ui.edit.delete" |
3f10c5b9 PT |
467 | disabledIcon="icons/dtool16/delete.gif" |
468 | icon="icons/etool16/delete.gif" | |
6151d86c PT |
469 | label="%command.delete" |
470 | mnemonic="%command.delete.mnemonic" | |
471 | style="push"> | |
be222f56 PT |
472 | <visibleWhen |
473 | checkEnabled="false"> | |
474 | <with | |
475 | variable="selection"> | |
476 | <iterate | |
477 | ifEmpty="false" | |
478 | operator="and"> | |
6151d86c PT |
479 | <or> |
480 | <and> | |
481 | <instanceof | |
482 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
483 | </instanceof> | |
484 | <not> | |
485 | <test | |
486 | forcePluginActivation="true" | |
487 | property="org.eclipse.linuxtools.tmf.ui.isExperimentTrace"> | |
488 | </test> | |
489 | </not> | |
490 | </and> | |
be222f56 | 491 | <instanceof |
6151d86c | 492 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> |
be222f56 | 493 | </instanceof> |
6151d86c | 494 | </or> |
be222f56 PT |
495 | </iterate> |
496 | </with> | |
497 | </visibleWhen> | |
498 | </command> | |
499 | <command | |
6151d86c | 500 | commandId="org.eclipse.ui.edit.delete" |
3f10c5b9 PT |
501 | disabledIcon="icons/dtool16/delete.gif" |
502 | icon="icons/etool16/delete.gif" | |
6151d86c PT |
503 | label="%command.remove" |
504 | mnemonic="%command.remove.mnemonic" | |
505 | style="push"> | |
be222f56 PT |
506 | <visibleWhen |
507 | checkEnabled="false"> | |
508 | <with | |
509 | variable="selection"> | |
510 | <iterate | |
511 | ifEmpty="false" | |
512 | operator="and"> | |
513 | <and> | |
514 | <instanceof | |
515 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
516 | </instanceof> | |
517 | <test | |
518 | forcePluginActivation="true" | |
519 | property="org.eclipse.linuxtools.tmf.ui.isExperimentTrace"> | |
520 | </test> | |
521 | </and> | |
522 | </iterate> | |
523 | </with> | |
524 | </visibleWhen> | |
525 | </command> | |
526 | <separator | |
527 | name="org.eclipse.linuxtools.tmf.ui.separator2" | |
528 | visible="true"> | |
529 | </separator> | |
530 | <command | |
6151d86c | 531 | commandId="org.eclipse.linuxtools.tmf.ui.command.new_experiment" |
be222f56 PT |
532 | disabledIcon="icons/dtool16/new.gif" |
533 | icon="icons/etool16/new.gif" | |
6151d86c PT |
534 | label="%command.new_experiment" |
535 | mnemonic="%command.new_experiment.mnemonic" | |
be222f56 | 536 | style="push" |
6151d86c | 537 | tooltip="%command.new_experiment.description"> |
be222f56 PT |
538 | <visibleWhen |
539 | checkEnabled="false"> | |
540 | <with | |
541 | variable="selection"> | |
542 | <count | |
543 | value="1"> | |
544 | </count> | |
545 | <iterate | |
546 | ifEmpty="false" | |
547 | operator="and"> | |
548 | <instanceof | |
549 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder"> | |
550 | </instanceof> | |
551 | </iterate> | |
552 | </with> | |
553 | </visibleWhen> | |
554 | </command> | |
be222f56 | 555 | <command |
6151d86c PT |
556 | commandId="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files" |
557 | label="%command.delete_suppl_files" | |
558 | mnemonic="%command.delete_suppl_files.mnemonic" | |
be222f56 | 559 | style="push" |
6151d86c | 560 | tooltip="%command.delete_suppl_files.description"> |
be222f56 PT |
561 | <visibleWhen |
562 | checkEnabled="false"> | |
563 | <with | |
564 | variable="selection"> | |
6151d86c PT |
565 | <and> |
566 | <count | |
567 | value="1"> | |
568 | </count> | |
569 | <iterate | |
570 | ifEmpty="false" | |
571 | operator="and"> | |
572 | <and> | |
573 | <or> | |
574 | <instanceof | |
575 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
576 | </instanceof> | |
577 | <instanceof | |
578 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
579 | </instanceof> | |
580 | </or> | |
581 | <test | |
582 | forcePluginActivation="true" | |
583 | property="org.eclipse.linuxtools.tmf.ui.hasSupplementaryFiles"> | |
584 | </test> | |
585 | </and> | |
586 | </iterate> | |
587 | </and> | |
be222f56 PT |
588 | </with> |
589 | </visibleWhen> | |
590 | </command> | |
6151d86c PT |
591 | <separator |
592 | name="org.eclipse.linuxtools.tmf.ui.separator3" | |
593 | visible="true"> | |
594 | </separator> | |
587660fc PT |
595 | <command |
596 | commandId="org.eclipse.linuxtools.tmf.ui.command.managecustomparsers" | |
597 | icon="icons/etool16/customparser_wizard.gif" | |
598 | id="org.eclipse.linuxtools.tmf.ui.menu.managecustomparsers" | |
599 | style="push"> | |
600 | <visibleWhen | |
601 | checkEnabled="false"> | |
602 | <with | |
603 | variable="selection"> | |
604 | <count | |
605 | value="1"> | |
606 | </count> | |
607 | <iterate | |
608 | operator="and"> | |
609 | <instanceof | |
610 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
611 | </instanceof> | |
612 | </iterate> | |
613 | </with> | |
614 | </visibleWhen> | |
615 | </command> | |
6151d86c PT |
616 | <menu |
617 | label="%command.select_trace_type" | |
618 | mnemonic="%command.select_trace_type.mnemonic" | |
619 | tooltip="%command.select_trace_type.description"> | |
620 | <dynamic | |
621 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SelectTraceTypeContributionItem" | |
622 | id="org.eclipse.linuxtools.tmf.ui.command.select_trace_type.dynamic"> | |
623 | </dynamic> | |
587660fc PT |
624 | <separator |
625 | name="org.eclipse.linuxtools.tmf.ui.separator6" | |
626 | visible="true"> | |
627 | </separator> | |
628 | <command | |
629 | commandId="org.eclipse.linuxtools.tmf.ui.command.managecustomparsers" | |
630 | icon="icons/etool16/customparser_wizard.gif" | |
631 | style="push"> | |
632 | </command> | |
be222f56 PT |
633 | <visibleWhen |
634 | checkEnabled="false"> | |
635 | <with | |
636 | variable="selection"> | |
be222f56 PT |
637 | <iterate |
638 | ifEmpty="false" | |
639 | operator="and"> | |
640 | <instanceof | |
6151d86c | 641 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> |
be222f56 PT |
642 | </instanceof> |
643 | </iterate> | |
644 | </with> | |
645 | </visibleWhen> | |
6151d86c | 646 | </menu> |
be222f56 | 647 | <separator |
6151d86c | 648 | name="org.eclipse.linuxtools.tmf.ui.separator4" |
be222f56 PT |
649 | visible="true"> |
650 | </separator> | |
651 | <command | |
6151d86c | 652 | commandId="org.eclipse.linuxtools.tmf.ui.command.select_traces" |
36a65820 | 653 | icon="icons/obj16/add_obj.gif" |
6151d86c PT |
654 | label="%command.select_traces" |
655 | mnemonic="%command.select_traces.mnemonic" | |
be222f56 | 656 | style="push" |
6151d86c | 657 | tooltip="%commands.select_traces.description"> |
be222f56 PT |
658 | <visibleWhen |
659 | checkEnabled="false"> | |
660 | <with | |
661 | variable="selection"> | |
662 | <count | |
663 | value="1"> | |
664 | </count> | |
665 | <iterate | |
666 | ifEmpty="false" | |
667 | operator="and"> | |
668 | <instanceof | |
669 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
670 | </instanceof> | |
671 | </iterate> | |
672 | </with> | |
673 | </visibleWhen> | |
674 | </command> | |
6151d86c PT |
675 | <separator |
676 | name="org.eclipse.linuxtools.tmf.ui.separator5" | |
677 | visible="true"> | |
678 | </separator> | |
be222f56 | 679 | <command |
6151d86c PT |
680 | commandId="org.eclipse.ui.file.refresh" |
681 | label="%command.refresh" | |
682 | mnemonic="%command.refresh.mnemonic" | |
683 | style="push"> | |
be222f56 PT |
684 | <visibleWhen |
685 | checkEnabled="false"> | |
686 | <with | |
687 | variable="selection"> | |
688 | <count | |
689 | value="1"> | |
690 | </count> | |
691 | <iterate | |
692 | ifEmpty="false" | |
693 | operator="and"> | |
6151d86c PT |
694 | <or> |
695 | <instanceof | |
696 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
697 | </instanceof> | |
698 | <instanceof | |
699 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder"> | |
700 | </instanceof> | |
701 | <instanceof | |
702 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
703 | </instanceof> | |
704 | </or> | |
be222f56 PT |
705 | </iterate> |
706 | </with> | |
707 | </visibleWhen> | |
708 | </command> | |
be222f56 PT |
709 | </menuContribution> |
710 | </extension> | |
711 | <extension | |
712 | point="org.eclipse.ui.commands"> | |
713 | <category | |
6151d86c PT |
714 | description="%commands.category.description" |
715 | id="org.eclipse.linuxtools.tmf.ui.commands.category" | |
716 | name="%commands.category.name"> | |
be222f56 PT |
717 | </category> |
718 | <command | |
6151d86c PT |
719 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.category" |
720 | description="%command.new_experiment.description" | |
721 | id="org.eclipse.linuxtools.tmf.ui.command.new_experiment" | |
722 | name="%command.new_experiment"> | |
be222f56 PT |
723 | </command> |
724 | <command | |
6151d86c PT |
725 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.category" |
726 | description="%command.select_trace_type.description" | |
727 | id="org.eclipse.linuxtools.tmf.ui.command.select_trace_type" | |
728 | name="%command.select_trace_type"> | |
be222f56 | 729 | <commandParameter |
6151d86c | 730 | id="org.eclipse.linuxtools.tmf.ui.commandparameter.select_trace_type.bundle" |
be222f56 PT |
731 | name="%commands.trace.select_trace_type.bundle" |
732 | optional="false"> | |
733 | </commandParameter> | |
734 | <commandParameter | |
6151d86c | 735 | id="org.eclipse.linuxtools.tmf.ui.commandparameter.select_trace_type.type" |
be222f56 PT |
736 | name="%commands.trace.select_trace_type.type" |
737 | optional="false"> | |
738 | </commandParameter> | |
739 | <commandParameter | |
6151d86c | 740 | id="org.eclipse.linuxtools.tmf.ui.commandparameter.select_trace_type.icon" |
be222f56 PT |
741 | name="%commands.trace.select_trace_type.icon" |
742 | optional="false"> | |
743 | </commandParameter> | |
744 | </command> | |
745 | <command | |
6151d86c PT |
746 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.category" |
747 | id="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files" | |
748 | name="%command.delete_suppl_files"> | |
be222f56 PT |
749 | </command> |
750 | <command | |
6151d86c PT |
751 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.category" |
752 | description="%command.select_traces.description" | |
753 | id="org.eclipse.linuxtools.tmf.ui.command.select_traces" | |
754 | name="%command.select_traces"> | |
be222f56 | 755 | </command> |
be222f56 PT |
756 | <category |
757 | description="%commands.parser.category.description" | |
758 | id="org.eclipse.linuxtools.tmf.ui.commands.parser.category" | |
759 | name="%commands.parser.category.name"> | |
760 | </category> | |
761 | <command | |
762 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.parser.category" | |
763 | description="%commands.parser.manage.description" | |
764 | id="org.eclipse.linuxtools.tmf.ui.command.managecustomparsers" | |
765 | name="%commands.parser.manage"> | |
766 | </command> | |
767 | <category | |
768 | description="%commands.uml2sd.category.name" | |
769 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
770 | name="%commands.uml2sd.category.name"> | |
771 | </category> | |
772 | <command | |
773 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
774 | description="%commands.uml2sd.goto.description" | |
775 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.GoToMessage" | |
776 | name="%commands.uml2sd.goto"> | |
777 | </command> | |
778 | <command | |
779 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
780 | description="%commands.uml2sd.showend.description" | |
781 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeEnd" | |
782 | name="%commands.uml2sd.showend"> | |
783 | </command> | |
784 | <command | |
785 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
786 | description="%commands.uml2sd.showstart.description" | |
787 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeStart" | |
788 | name="%commands.uml2sd.showstart"> | |
789 | </command> | |
790 | <command | |
791 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
792 | description="%commands.uml2sd.scrollup.description" | |
793 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDUp" | |
794 | name="%commands.uml2sd.scrollup"> | |
795 | </command> | |
796 | <command | |
797 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
798 | description="%commands.uml2sd.scrolldown.description" | |
799 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDDown" | |
800 | name="%commands.uml2sd.scrolldown"> | |
801 | </command> | |
802 | <command | |
803 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
804 | description="%commands.uml2sd.scrollleft.description" | |
805 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDLeft" | |
806 | name="%commands.uml2sd.scrollleft"> | |
807 | </command> | |
808 | <command | |
809 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
810 | description="%commands.uml2sd.scrollright.description" | |
811 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDRight" | |
812 | name="%commands.uml2sd.scrollright"> | |
813 | </command> | |
d04ec5a7 MK |
814 | <command |
815 | description="%command.batch_import.description" | |
816 | id="org.eclipse.linuxtools.tmf.ui.batch_import" | |
817 | name="%command.batch_import"> | |
818 | </command> | |
be222f56 | 819 | </extension> |
be222f56 PT |
820 | <extension |
821 | point="org.eclipse.ui.handlers"> | |
822 | <handler | |
823 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.ImportTraceHandler" | |
6151d86c PT |
824 | commandId="org.eclipse.ui.file.import"> |
825 | <activeWhen> | |
826 | <and> | |
827 | <count | |
828 | value="1"> | |
829 | </count> | |
e54c68b7 FC |
830 | <iterate |
831 | ifEmpty="false" | |
832 | operator="and"> | |
6151d86c PT |
833 | <instanceof |
834 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
835 | </instanceof> | |
836 | </iterate> | |
837 | </and> | |
838 | </activeWhen> | |
be222f56 PT |
839 | </handler> |
840 | <handler | |
841 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.RefreshHandler" | |
6151d86c PT |
842 | commandId="org.eclipse.ui.file.refresh"> |
843 | <activeWhen> | |
844 | <and> | |
845 | <count | |
846 | value="1"> | |
847 | </count> | |
e54c68b7 FC |
848 | <iterate |
849 | ifEmpty="false" | |
850 | operator="and"> | |
6151d86c PT |
851 | <or> |
852 | <instanceof | |
853 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
854 | </instanceof> | |
855 | <instanceof | |
856 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder"> | |
857 | </instanceof> | |
858 | <instanceof | |
859 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
860 | </instanceof> | |
861 | </or> | |
862 | </iterate> | |
863 | </and> | |
864 | </activeWhen> | |
be222f56 PT |
865 | </handler> |
866 | <handler | |
867 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.OpenTraceHandler" | |
6151d86c PT |
868 | commandId="org.eclipse.ui.navigate.openResource"> |
869 | <activeWhen> | |
870 | <and> | |
871 | <count | |
872 | value="1"> | |
873 | </count> | |
e54c68b7 FC |
874 | <iterate |
875 | operator="and"> | |
6151d86c PT |
876 | <instanceof |
877 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
878 | </instanceof> | |
879 | </iterate> | |
880 | </and> | |
881 | </activeWhen> | |
be222f56 PT |
882 | </handler> |
883 | <handler | |
6151d86c PT |
884 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.OpenExperimentHandler" |
885 | commandId="org.eclipse.ui.navigate.openResource"> | |
886 | <activeWhen> | |
887 | <and> | |
888 | <count | |
889 | value="1"> | |
890 | </count> | |
e54c68b7 FC |
891 | <iterate |
892 | operator="and"> | |
6151d86c PT |
893 | <instanceof |
894 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
895 | </instanceof> | |
896 | </iterate> | |
897 | </and> | |
898 | </activeWhen> | |
be222f56 PT |
899 | </handler> |
900 | <handler | |
6151d86c PT |
901 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.CopyTraceHandler" |
902 | commandId="org.eclipse.ui.edit.copy"> | |
903 | <activeWhen> | |
904 | <and> | |
905 | <count | |
906 | value="1"> | |
907 | </count> | |
e54c68b7 FC |
908 | <iterate |
909 | operator="and"> | |
6151d86c PT |
910 | <instanceof |
911 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
912 | </instanceof> | |
913 | </iterate> | |
914 | </and> | |
915 | </activeWhen> | |
be222f56 PT |
916 | </handler> |
917 | <handler | |
6151d86c PT |
918 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.CopyExperimentHandler" |
919 | commandId="org.eclipse.ui.edit.copy"> | |
920 | <activeWhen> | |
921 | <and> | |
922 | <count | |
923 | value="1"> | |
924 | </count> | |
e54c68b7 FC |
925 | <iterate |
926 | operator="and"> | |
6151d86c PT |
927 | <instanceof |
928 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
929 | </instanceof> | |
930 | </iterate> | |
931 | </and> | |
932 | </activeWhen> | |
be222f56 PT |
933 | </handler> |
934 | <handler | |
6151d86c PT |
935 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.RenameTraceHandler" |
936 | commandId="org.eclipse.ui.edit.rename"> | |
937 | <activeWhen> | |
938 | <and> | |
939 | <count | |
940 | value="1"> | |
941 | </count> | |
e54c68b7 FC |
942 | <iterate |
943 | operator="and"> | |
6151d86c PT |
944 | <instanceof |
945 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
946 | </instanceof> | |
947 | </iterate> | |
948 | </and> | |
949 | </activeWhen> | |
be222f56 PT |
950 | </handler> |
951 | <handler | |
6151d86c PT |
952 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.RenameExperimentHandler" |
953 | commandId="org.eclipse.ui.edit.rename"> | |
954 | <activeWhen> | |
955 | <and> | |
956 | <count | |
957 | value="1"> | |
958 | </count> | |
e54c68b7 FC |
959 | <iterate |
960 | operator="and"> | |
6151d86c PT |
961 | <instanceof |
962 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
963 | </instanceof> | |
964 | </iterate> | |
965 | </and> | |
966 | </activeWhen> | |
be222f56 PT |
967 | </handler> |
968 | <handler | |
6151d86c PT |
969 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteTraceHandler" |
970 | commandId="org.eclipse.ui.edit.delete"> | |
971 | <activeWhen> | |
e54c68b7 FC |
972 | <iterate |
973 | ifEmpty="false" | |
974 | operator="and"> | |
975 | <instanceof | |
976 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
977 | </instanceof> | |
978 | </iterate> | |
6151d86c | 979 | </activeWhen> |
be222f56 PT |
980 | </handler> |
981 | <handler | |
6151d86c PT |
982 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteExperimentHandler" |
983 | commandId="org.eclipse.ui.edit.delete"> | |
984 | <activeWhen> | |
e54c68b7 FC |
985 | <iterate |
986 | ifEmpty="false" | |
987 | operator="and"> | |
988 | <instanceof | |
989 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
990 | </instanceof> | |
991 | </iterate> | |
6151d86c | 992 | </activeWhen> |
be222f56 PT |
993 | </handler> |
994 | <handler | |
6151d86c PT |
995 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteTraceSupplementaryFilesHandler" |
996 | commandId="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files"> | |
997 | <activeWhen> | |
998 | <and> | |
999 | <count | |
1000 | value="1"> | |
1001 | </count> | |
e54c68b7 FC |
1002 | <iterate |
1003 | operator="and"> | |
6151d86c PT |
1004 | <instanceof |
1005 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
1006 | </instanceof> | |
1007 | </iterate> | |
1008 | </and> | |
1009 | </activeWhen> | |
be222f56 PT |
1010 | </handler> |
1011 | <handler | |
6151d86c PT |
1012 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteExperimentSupplementaryFilesHandler" |
1013 | commandId="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files"> | |
1014 | <activeWhen> | |
1015 | <and> | |
1016 | <count | |
1017 | value="1"> | |
1018 | </count> | |
e54c68b7 FC |
1019 | <iterate |
1020 | operator="and"> | |
6151d86c PT |
1021 | <instanceof |
1022 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
1023 | </instanceof> | |
1024 | </iterate> | |
1025 | </and> | |
1026 | </activeWhen> | |
be222f56 PT |
1027 | </handler> |
1028 | <handler | |
6151d86c PT |
1029 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.NewExperimentHandler" |
1030 | commandId="org.eclipse.linuxtools.tmf.ui.command.new_experiment"> | |
1031 | <activeWhen> | |
1032 | <and> | |
1033 | <count | |
1034 | value="1"> | |
1035 | </count> | |
e54c68b7 FC |
1036 | <iterate |
1037 | operator="and"> | |
6151d86c PT |
1038 | <instanceof |
1039 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder"> | |
1040 | </instanceof> | |
1041 | </iterate> | |
1042 | </and> | |
1043 | </activeWhen> | |
be222f56 PT |
1044 | </handler> |
1045 | <handler | |
6151d86c PT |
1046 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SelectTraceTypeHandler" |
1047 | commandId="org.eclipse.linuxtools.tmf.ui.command.select_trace_type"> | |
1048 | <activeWhen> | |
e54c68b7 FC |
1049 | <iterate |
1050 | ifEmpty="false" | |
1051 | operator="and"> | |
1052 | <instanceof | |
1053 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
1054 | </instanceof> | |
1055 | </iterate> | |
6151d86c | 1056 | </activeWhen> |
be222f56 PT |
1057 | </handler> |
1058 | <handler | |
6151d86c PT |
1059 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SelectTracesHandler" |
1060 | commandId="org.eclipse.linuxtools.tmf.ui.command.select_traces"> | |
1061 | <activeWhen> | |
1062 | <and> | |
1063 | <count | |
1064 | value="1"> | |
1065 | </count> | |
e54c68b7 FC |
1066 | <iterate |
1067 | operator="and"> | |
6151d86c PT |
1068 | <instanceof |
1069 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
1070 | </instanceof> | |
1071 | </iterate> | |
1072 | </and> | |
1073 | </activeWhen> | |
be222f56 | 1074 | </handler> |
be222f56 PT |
1075 | <handler |
1076 | class="org.eclipse.linuxtools.internal.tmf.ui.commands.ManageCustomParsersCommandHandler" | |
1077 | commandId="org.eclipse.linuxtools.tmf.ui.command.managecustomparsers"> | |
1078 | </handler> | |
1079 | <handler | |
1080 | class="org.eclipse.linuxtools.internal.tmf.ui.editors.handlers.AddBookmarkHandler" | |
1081 | commandId="org.eclipse.ui.edit.addBookmark"> | |
1082 | <activeWhen> | |
cf6af39c PT |
1083 | <and> |
1084 | <with | |
1085 | variable="activePart"> | |
1086 | <instanceof | |
1087 | value="org.eclipse.linuxtools.tmf.ui.editors.TmfEventsEditor"> | |
1088 | </instanceof> | |
1089 | </with> | |
1090 | <count | |
1091 | value="1"> | |
1092 | </count> | |
1093 | <iterate | |
1094 | ifEmpty="false" | |
1095 | operator="and"> | |
1096 | <instanceof | |
1097 | value="org.eclipse.linuxtools.tmf.core.event.ITmfEvent"> | |
1098 | </instanceof> | |
1099 | </iterate> | |
1100 | </and> | |
be222f56 PT |
1101 | </activeWhen> |
1102 | </handler> | |
d04ec5a7 MK |
1103 | <handler |
1104 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.BatchImportTraceHandler" | |
1105 | commandId="org.eclipse.linuxtools.tmf.ui.batch_import"> | |
1106 | <activeWhen> | |
1107 | <and> | |
1108 | <count | |
1109 | value="1"> | |
1110 | </count> | |
1111 | <iterate | |
1112 | ifEmpty="false" | |
1113 | operator="and"> | |
1114 | <instanceof | |
1115 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
1116 | </instanceof> | |
1117 | </iterate> | |
1118 | </and> | |
1119 | </activeWhen> | |
1120 | </handler> | |
be222f56 | 1121 | </extension> |
6151d86c PT |
1122 | <extension point="org.eclipse.ui.bindings"> |
1123 | <key | |
1124 | sequence="ALT+R" | |
1125 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1126 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.GoToMessage" | |
1127 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1128 | </key> | |
1129 | <key | |
1130 | sequence="SHIFT+ALT+END" | |
1131 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1132 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeEnd" | |
1133 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1134 | </key> | |
1135 | <key | |
1136 | sequence="SHIFT+ALT+HOME" | |
1137 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1138 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeStart" | |
1139 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1140 | </key> | |
1141 | <key | |
1142 | sequence="SHIFT+ALT+ARROW_UP" | |
1143 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1144 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDUp" | |
1145 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1146 | </key> | |
1147 | <key | |
1148 | sequence="SHIFT+ALT+ARROW_DOWN" | |
1149 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1150 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDDown" | |
1151 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1152 | </key> | |
1153 | <key | |
1154 | sequence="SHIFT+ALT+ARROW_LEFT" | |
1155 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1156 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDLeft" | |
1157 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1158 | </key> | |
1159 | <key | |
1160 | sequence="SHIFT+ALT+ARROW_RIGHT" | |
1161 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1162 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDRight" | |
1163 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1164 | </key> | |
1165 | </extension> | |
be222f56 PT |
1166 | <extension |
1167 | point="org.eclipse.core.contenttype.contentTypes"> | |
1168 | <content-type | |
1169 | id="org.eclipse.linuxtools.tmf.ui.content-type.trace" | |
1170 | name="%contenttype.trace" | |
1171 | priority="normal"> | |
1172 | </content-type> | |
1173 | </extension> | |
1174 | <extension | |
1175 | point="org.eclipse.ui.contexts"> | |
1176 | <context | |
1177 | id="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1178 | name="%contexts.uml2sd"> | |
1179 | </context> | |
1180 | </extension> | |
1181 | <extension | |
1182 | point="org.eclipse.ui.preferencePages"> | |
1183 | <page | |
1184 | class="org.eclipse.linuxtools.internal.tmf.ui.preferences.TmfTracingPreferencePage" | |
1185 | id="org.eclipse.linuxtools.tmf.ui.TmfTracingPreferences" | |
1186 | name="%preference.page.trace.name"> | |
1187 | </page> | |
1188 | <page | |
1189 | category="org.eclipse.linuxtools.tmf.ui.TmfTracingPreferences" | |
1190 | class="org.eclipse.linuxtools.tmf.ui.views.uml2sd.preferences.SDViewerPage" | |
1191 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.preferences.SDViewerPage" | |
1192 | name="%preference.page.uml2sd.name"> | |
1193 | </page> | |
f8177ba2 FC |
1194 | <page |
1195 | category="org.eclipse.linuxtools.tmf.ui.TmfTracingPreferences" | |
1196 | class="org.eclipse.linuxtools.tmf.ui.properties.TmfTimestampFormatPage" | |
1197 | id="org.eclipse.linuxtools.tmf.ui.preferences.timestamp.format" | |
1198 | name="%preferences.page.timestamp.format"> | |
1199 | </page> | |
be222f56 PT |
1200 | </extension> |
1201 | <extension | |
1202 | point="org.eclipse.linuxtools.tmf.ui.uml2SDLoader"> | |
1203 | <uml2SDLoader | |
1204 | class="org.eclipse.linuxtools.tmf.ui.views.uml2sd.loader.TmfUml2SDSyncLoader" | |
1205 | default="true" | |
1206 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.impl.TmfUml2SDSyncLoader" | |
1207 | name="TMF UML2SD Loader" | |
1208 | view="org.eclipse.linuxtools.tmf.ui.tmfUml2SDSyncView"> | |
1209 | </uml2SDLoader> | |
1210 | </extension> | |
1211 | <!--extension | |
1212 | point="org.eclipse.core.expressions.propertyTesters"> | |
1213 | <propertyTester | |
1214 | class="org.eclipse.linuxtools.tmf.ui.project.handlers.PropertyTester" | |
1215 | id="org.eclipse.linuxtools.tmf.ui.propertyTester.isInTraceFolder" | |
1216 | namespace="org.eclipse.linuxtools.tmf.ui.propertyTester" | |
1217 | properties="isInTraceFolder" | |
1218 | type="org.eclipse.jface.viewers.ISelection"> | |
1219 | </propertyTester> | |
1220 | </extension --> | |
1221 | <extension | |
1222 | point="org.eclipse.core.expressions.propertyTesters"> | |
1223 | <propertyTester | |
1224 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.TracePropertyTester" | |
1225 | id="org.eclipse.linuxtools.tmf.ui.tracePropertyTester" | |
1226 | namespace="org.eclipse.linuxtools.tmf.ui" | |
2dd0c429 | 1227 | properties="isExperimentTrace,hasSupplementaryFiles,traceType" |
be222f56 PT |
1228 | type="org.eclipse.linuxtools.tmf.ui.project.model.TmfProjectModelElement"> |
1229 | </propertyTester> | |
1230 | </extension> | |
1231 | <extension | |
1232 | point="org.eclipse.linuxtools.tmf.ui.tracetype"> | |
1233 | <category | |
1234 | id="org.eclipse.linuxtools.tmf.ui.category.ctf" | |
1235 | name="%tracetype.category.ctf"> | |
1236 | </category> | |
1237 | <type | |
1238 | category="org.eclipse.linuxtools.tmf.ui.category.ctf" | |
1239 | event_type="org.eclipse.linuxtools.tmf.core.ctfadaptor.CtfTmfEvent" | |
1240 | icon="icons/eview16/events_view.gif" | |
1241 | id="org.eclipse.linuxtools.tmf.ui.type.ctf" | |
1242 | name="%tracetype.type.ctf" | |
1243 | trace_type="org.eclipse.linuxtools.tmf.core.ctfadaptor.CtfTmfTrace"> | |
1244 | </type> | |
1245 | </extension> | |
1169a815 BH |
1246 | <extension |
1247 | point="org.eclipse.ui.navigator.linkHelper"> | |
1248 | <linkHelper | |
1249 | class="org.eclipse.linuxtools.internal.tmf.ui.project.model.TmfEditorLinkHelper" | |
1250 | id="org.eclipse.linuxtools.internal.tmf.ui.project.model.TmfEditorLinkHelper"> | |
1251 | <editorInputEnablement> | |
1252 | <instanceof value="org.eclipse.ui.IFileEditorInput"/> | |
1253 | </editorInputEnablement> | |
1254 | <selectionEnablement> | |
1255 | <or> | |
1256 | <instanceof | |
1257 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
1258 | </instanceof> | |
1259 | <instanceof | |
1260 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
1261 | </instanceof> | |
1262 | </or> | |
1263 | </selectionEnablement> | |
1264 | </linkHelper> | |
1265 | </extension> | |
be222f56 PT |
1266 | |
1267 | </plugin> |