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"> | |
be222f56 | 29 | </view> |
7692e512 AM |
30 | <view |
31 | allowMultiple="false" | |
32 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
33 | class="org.eclipse.linuxtools.tmf.ui.views.statesystem.TmfStateSystemExplorer" | |
34 | icon="icons/eview16/events_view.gif" | |
35 | id="org.eclipse.linuxtools.tmf.ui.views.ssvisualizer" | |
36 | name="%ssvisualizer.view.name" | |
37 | restorable="true"> | |
38 | </view> | |
be222f56 PT |
39 | <view |
40 | allowMultiple="false" | |
41 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
42 | class="org.eclipse.linuxtools.tmf.ui.views.colors.ColorsView" | |
43 | icon="icons/eview16/colors_view.gif" | |
44 | id="org.eclipse.linuxtools.tmf.ui.views.colors" | |
45 | name="%colors.view.name" | |
46 | restorable="true"> | |
47 | </view> | |
48 | <view | |
49 | allowMultiple="false" | |
50 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
51 | class="org.eclipse.linuxtools.tmf.ui.views.filter.FilterView" | |
52 | icon="icons/eview16/filters_view.gif" | |
53 | id="org.eclipse.linuxtools.tmf.ui.views.filter" | |
54 | name="%filters.view.name" | |
55 | restorable="true"> | |
56 | </view> | |
57 | <view | |
58 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
59 | class="org.eclipse.linuxtools.tmf.ui.views.uml2sd.SDView" | |
60 | icon="icons/eview16/sequencediagram_view.gif" | |
61 | id="org.eclipse.linuxtools.tmf.ui.tmfUml2SDSyncView" | |
62 | name="%uml2sd.view.name" | |
63 | restorable="true"> | |
64 | </view> | |
65 | <view | |
66 | allowMultiple="false" | |
67 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
68 | class="org.eclipse.linuxtools.tmf.ui.views.statistics.TmfStatisticsView" | |
69 | icon="icons/eview16/statistics_view.gif" | |
70 | id="org.eclipse.linuxtools.tmf.ui.views.statistics" | |
71 | name="%statistics.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.histogram.HistogramView" | |
78 | icon="icons/eview16/histogram.gif" | |
79 | id="org.eclipse.linuxtools.tmf.ui.views.histogram" | |
80 | name="%histogram.view.name" | |
81 | restorable="true"> | |
82 | </view> | |
e8251298 PT |
83 | <view |
84 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
85 | class="org.eclipse.linuxtools.tmf.ui.views.callstack.CallStackView" | |
86 | icon="icons/eview16/callstack_view.gif" | |
87 | id="org.eclipse.linuxtools.tmf.ui.views.callstack" | |
88 | name="%callstack.view.name" | |
89 | restorable="true"> | |
90 | </view> | |
e73a4ba5 GB |
91 | <view |
92 | allowMultiple="false" | |
93 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
94 | class="org.eclipse.linuxtools.tmf.ui.views.synchronization.TmfSynchronizationView" | |
95 | icon="icons/eview16/synced.gif" | |
96 | id="org.eclipse.linuxtools.tmf.ui.views.synchronization" | |
97 | name="%synchronization.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> | |
6e651d8b MAL |
167 | <wizard |
168 | category="org.eclipse.linuxtools.tmf.import.category" | |
169 | class="org.eclipse.linuxtools.internal.tmf.ui.project.wizards.tracepkg.importexport.ImportTracePackageWizard" | |
170 | icon="icons/etool16/import.gif" | |
171 | id="org.eclipse.linuxtools.tmf.ui.trace.import.package.wizard" | |
172 | name="%project.import.wizard.name.tracepkg"> | |
173 | </wizard> | |
be222f56 PT |
174 | </extension> |
175 | <extension | |
176 | id="org.eclipse.linuxtools.tmf.project.nature" | |
177 | point="org.eclipse.core.resources.natures"> | |
178 | <runtime> | |
179 | <run | |
180 | class="org.eclipse.linuxtools.tmf.core.TmfProjectNature"> | |
181 | </run> | |
182 | </runtime> | |
183 | </extension> | |
184 | <extension | |
185 | point="org.eclipse.ui.ide.projectNatureImages"> | |
186 | <image | |
187 | icon="icons/ovr16/trace_nature_ovr.gif" | |
188 | id="org.eclipse.linuxtools.tmf.ui.nature.image" | |
189 | natureId="org.eclipse.linuxtools.tmf.project.nature"> | |
190 | </image> | |
191 | </extension> | |
192 | <extension | |
193 | point="org.eclipse.ui.navigator.navigatorContent"> | |
194 | <navigatorContent | |
195 | activeByDefault="true" | |
196 | contentProvider="org.eclipse.linuxtools.tmf.ui.project.model.TmfNavigatorContentProvider" | |
197 | icon="icons/eview16/tracing_pers.gif" | |
198 | id="org.eclipse.linuxtools.tmf.ui.navigator.content" | |
199 | labelProvider="org.eclipse.linuxtools.tmf.ui.project.model.TmfNavigatorLabelProvider" | |
200 | name="%navigatorContent.name" | |
201 | priority="normal"> | |
202 | <triggerPoints> | |
203 | <or> | |
204 | <and> | |
205 | <instanceof | |
206 | value="org.eclipse.core.resources.IProject"> | |
207 | </instanceof> | |
208 | <test | |
209 | property="org.eclipse.core.resources.projectNature" | |
210 | value="org.eclipse.linuxtools.tmf.project.nature"> | |
211 | </test> | |
212 | </and> | |
213 | <instanceof | |
214 | value="org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement"> | |
215 | </instanceof> | |
216 | </or> | |
217 | </triggerPoints> | |
218 | <possibleChildren> | |
219 | <or> | |
220 | <instanceof | |
221 | value="org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement"> | |
222 | </instanceof> | |
223 | <instanceof | |
224 | value="org.eclipse.core.resources.IResource"> | |
225 | </instanceof> | |
226 | </or></possibleChildren> | |
227 | <override | |
228 | policy="InvokeAlwaysRegardlessOfSuppressedExt" | |
229 | suppressedExtensionId="org.eclipse.ui.navigator.resourceContent"> | |
230 | </override> | |
231 | <actionProvider | |
232 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.TmfActionProvider" | |
233 | id="org.eclipse.linuxtools.tmf.ui.navigator.actions.provider"> | |
234 | <enablement> | |
235 | <or> | |
236 | <instanceof | |
237 | value="org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement"> | |
238 | </instanceof> | |
239 | </or> | |
240 | </enablement> | |
241 | </actionProvider> | |
242 | <dropAssistant | |
243 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DropAdapterAssistant" | |
244 | id="org.eclipse.linuxtools.tmf.ui.navigator.dropAssistant"> | |
245 | <possibleDropTargets> | |
246 | <or> | |
247 | <and> | |
248 | <instanceof | |
249 | value="org.eclipse.core.resources.IProject"> | |
250 | </instanceof> | |
251 | <test | |
252 | property="org.eclipse.core.resources.projectNature" | |
253 | value="org.eclipse.linuxtools.tmf.project.nature"> | |
254 | </test> | |
255 | </and> | |
256 | <instanceof | |
257 | value="org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement"> | |
258 | </instanceof> | |
259 | </or> | |
260 | </possibleDropTargets> | |
261 | </dropAssistant> | |
262 | <commonWizard | |
263 | menuGroupId="org.eclipse.linuxtools.tmf.ui.views.ui.wizards.menuGroupId" | |
264 | type="new" | |
265 | wizardId="org.eclipse.linuxtools.tmf.ui.views.ui.wizards.newProject"> | |
ecf3bc29 MAL |
266 | <enablement> |
267 | <with variable="activeWorkbenchWindow.activePerspective"> | |
268 | <equals | |
269 | value="org.eclipse.linuxtools.tmf.ui.perspective"> | |
270 | </equals> | |
271 | </with> | |
272 | </enablement> | |
be222f56 PT |
273 | </commonWizard> |
274 | </navigatorContent> | |
275 | </extension> | |
276 | <extension | |
277 | point="org.eclipse.ui.navigator.viewer"> | |
278 | <viewerContentBinding | |
279 | viewerId="org.eclipse.ui.navigator.ProjectExplorer"> | |
280 | <includes> | |
281 | <contentExtension | |
282 | pattern="org.eclipse.linuxtools.tmf.ui.navigator.content"> | |
283 | </contentExtension> | |
284 | <contentExtension | |
285 | pattern="org.eclipse.ui.navigator.resources.filters.*"> | |
286 | </contentExtension> | |
1169a815 BH |
287 | <contentExtension |
288 | pattern="org.eclipse.linuxtools.internal.tmf.ui.project.model.TmfEditorLinkHelper"> | |
289 | </contentExtension> | |
be222f56 PT |
290 | </includes> |
291 | </viewerContentBinding> | |
292 | </extension> | |
293 | <extension | |
294 | point="org.eclipse.ui.decorators"> | |
295 | <decorator | |
296 | icon="icons/ovr16/trace_folder_ovr.png" | |
297 | id="org.eclipse.linuxtools.tmf.ui.trace_folder.decorator" | |
298 | label="Trace Folder" | |
299 | lightweight="true" | |
300 | location="TOP_RIGHT" | |
301 | state="true"> | |
302 | <enablement> | |
303 | <objectClass | |
304 | name="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
305 | </objectClass> | |
306 | </enablement> | |
307 | </decorator> | |
308 | <decorator | |
309 | icon="icons/ovr16/experiment_folder_ovr.png" | |
310 | id="org.eclipse.linuxtools.tmf.ui.experiment_folder.decorator" | |
311 | label="Trace Experiment Folder" | |
312 | lightweight="true" | |
313 | location="TOP_RIGHT" | |
314 | state="true"> | |
315 | <enablement> | |
316 | <objectClass | |
317 | name="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder"> | |
318 | </objectClass> | |
319 | </enablement> | |
320 | </decorator> | |
321 | <decorator | |
322 | icon="icons/ovr16/link_ovr.gif" | |
323 | id="org.eclipse.linuxtools.tmf.ui.linked_trace.decorator" | |
324 | label="Linked Trace" | |
325 | lightweight="true" | |
326 | location="BOTTOM_RIGHT" | |
327 | state="true"> | |
328 | <enablement> | |
329 | <and> | |
330 | <objectClass | |
331 | name="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
332 | </objectClass> | |
333 | <objectState | |
334 | name="isLinked" | |
335 | value="true"> | |
336 | </objectState> | |
337 | </and> | |
338 | </enablement> | |
339 | </decorator> | |
340 | </extension> | |
341 | <extension | |
342 | point="org.eclipse.ui.menus"> | |
6151d86c PT |
343 | <menuContribution |
344 | locationURI="popup:org.eclipse.ui.popup.any?after=additions"> | |
be222f56 | 345 | <command |
6151d86c PT |
346 | commandId="org.eclipse.ui.file.import" |
347 | label="%command.import" | |
348 | mnemonic="%command.import.mnemonic" | |
349 | style="push"> | |
be222f56 PT |
350 | <visibleWhen |
351 | checkEnabled="false"> | |
352 | <with | |
353 | variable="selection"> | |
354 | <count | |
355 | value="1"> | |
356 | </count> | |
357 | <iterate | |
be222f56 PT |
358 | operator="and"> |
359 | <instanceof | |
360 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
361 | </instanceof> | |
362 | </iterate> | |
363 | </with> | |
364 | </visibleWhen> | |
365 | </command> | |
d04ec5a7 MK |
366 | <command |
367 | commandId="org.eclipse.linuxtools.tmf.ui.batch_import" | |
368 | label="%command.batch_import" | |
369 | mnemonic="%command.batch_import.mnemonic" | |
370 | style="push"> | |
371 | <visibleWhen | |
372 | checkEnabled="false"> | |
373 | <with | |
374 | variable="selection"> | |
375 | <count | |
376 | value="1"> | |
377 | </count> | |
378 | <iterate | |
379 | operator="and"> | |
380 | <instanceof | |
381 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
382 | </instanceof> | |
383 | </iterate> | |
384 | </with> | |
385 | </visibleWhen> | |
386 | </command> | |
6151d86c PT |
387 | <separator |
388 | name="org.eclipse.linuxtools.tmf.ui.separator1" | |
389 | visible="true"> | |
390 | </separator> | |
be222f56 | 391 | <command |
6151d86c PT |
392 | commandId="org.eclipse.ui.navigate.openResource" |
393 | disabledIcon="/icons/dlcl16/open.gif" | |
394 | icon="/icons/elcl16/open.gif" | |
395 | label="%command.open" | |
396 | mnemonic="%command.open.mnemonic" | |
397 | style="push"> | |
be222f56 PT |
398 | <visibleWhen |
399 | checkEnabled="false"> | |
400 | <with | |
401 | variable="selection"> | |
402 | <count | |
403 | value="1"> | |
404 | </count> | |
405 | <iterate | |
406 | ifEmpty="false" | |
407 | operator="and"> | |
6151d86c PT |
408 | <or> |
409 | <instanceof | |
410 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
411 | </instanceof> | |
412 | <instanceof | |
413 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
414 | </instanceof> | |
c068a752 GB |
415 | <instanceof |
416 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfAnalysisOutputElement"> | |
417 | </instanceof> | |
6151d86c | 418 | </or> |
be222f56 PT |
419 | </iterate> |
420 | </with> | |
421 | </visibleWhen> | |
422 | </command> | |
423 | <command | |
6151d86c | 424 | commandId="org.eclipse.ui.edit.copy" |
3f10c5b9 PT |
425 | disabledIcon="icons/dtool16/copy_edit.gif" |
426 | icon="icons/etool16/copy_edit.gif" | |
6151d86c PT |
427 | label="%command.copy" |
428 | mnemonic="%command.copy.mnemonic" | |
429 | style="push"> | |
be222f56 PT |
430 | <visibleWhen |
431 | checkEnabled="false"> | |
432 | <with | |
433 | variable="selection"> | |
434 | <count | |
435 | value="1"> | |
436 | </count> | |
437 | <iterate | |
438 | ifEmpty="false" | |
439 | operator="and"> | |
6151d86c PT |
440 | <or> |
441 | <instanceof | |
442 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
443 | </instanceof> | |
444 | <instanceof | |
445 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
446 | </instanceof> | |
447 | </or> | |
be222f56 PT |
448 | </iterate> |
449 | </with> | |
450 | </visibleWhen> | |
451 | </command> | |
452 | <command | |
6151d86c PT |
453 | commandId="org.eclipse.ui.edit.rename" |
454 | disabledIcon="/icons/dlcl16/rename.gif" | |
455 | icon="/icons/elcl16/rename.gif" | |
456 | label="%command.rename" | |
457 | mnemonic="%command.rename.mnemonic" | |
458 | style="push"> | |
be222f56 PT |
459 | <visibleWhen |
460 | checkEnabled="false"> | |
461 | <with | |
462 | variable="selection"> | |
463 | <count | |
464 | value="1"> | |
465 | </count> | |
466 | <iterate | |
467 | ifEmpty="false" | |
468 | operator="and"> | |
6151d86c PT |
469 | <or> |
470 | <instanceof | |
471 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
472 | </instanceof> | |
473 | <instanceof | |
474 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
475 | </instanceof> | |
476 | </or> | |
be222f56 PT |
477 | </iterate> |
478 | </with> | |
479 | </visibleWhen> | |
480 | </command> | |
481 | <command | |
6151d86c | 482 | commandId="org.eclipse.ui.edit.delete" |
3f10c5b9 PT |
483 | disabledIcon="icons/dtool16/delete.gif" |
484 | icon="icons/etool16/delete.gif" | |
6151d86c PT |
485 | label="%command.delete" |
486 | mnemonic="%command.delete.mnemonic" | |
487 | style="push"> | |
be222f56 PT |
488 | <visibleWhen |
489 | checkEnabled="false"> | |
490 | <with | |
491 | variable="selection"> | |
492 | <iterate | |
493 | ifEmpty="false" | |
494 | operator="and"> | |
6151d86c PT |
495 | <or> |
496 | <and> | |
497 | <instanceof | |
498 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
499 | </instanceof> | |
500 | <not> | |
501 | <test | |
502 | forcePluginActivation="true" | |
503 | property="org.eclipse.linuxtools.tmf.ui.isExperimentTrace"> | |
504 | </test> | |
505 | </not> | |
506 | </and> | |
be222f56 | 507 | <instanceof |
6151d86c | 508 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> |
be222f56 | 509 | </instanceof> |
6151d86c | 510 | </or> |
be222f56 PT |
511 | </iterate> |
512 | </with> | |
513 | </visibleWhen> | |
514 | </command> | |
515 | <command | |
6151d86c | 516 | commandId="org.eclipse.ui.edit.delete" |
3f10c5b9 PT |
517 | disabledIcon="icons/dtool16/delete.gif" |
518 | icon="icons/etool16/delete.gif" | |
6151d86c PT |
519 | label="%command.remove" |
520 | mnemonic="%command.remove.mnemonic" | |
521 | style="push"> | |
be222f56 PT |
522 | <visibleWhen |
523 | checkEnabled="false"> | |
524 | <with | |
525 | variable="selection"> | |
526 | <iterate | |
527 | ifEmpty="false" | |
528 | operator="and"> | |
529 | <and> | |
530 | <instanceof | |
531 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
532 | </instanceof> | |
533 | <test | |
534 | forcePluginActivation="true" | |
535 | property="org.eclipse.linuxtools.tmf.ui.isExperimentTrace"> | |
536 | </test> | |
537 | </and> | |
538 | </iterate> | |
539 | </with> | |
540 | </visibleWhen> | |
541 | </command> | |
542 | <separator | |
543 | name="org.eclipse.linuxtools.tmf.ui.separator2" | |
544 | visible="true"> | |
545 | </separator> | |
546 | <command | |
6151d86c | 547 | commandId="org.eclipse.linuxtools.tmf.ui.command.new_experiment" |
be222f56 PT |
548 | disabledIcon="icons/dtool16/new.gif" |
549 | icon="icons/etool16/new.gif" | |
6151d86c PT |
550 | label="%command.new_experiment" |
551 | mnemonic="%command.new_experiment.mnemonic" | |
be222f56 | 552 | style="push" |
6151d86c | 553 | tooltip="%command.new_experiment.description"> |
be222f56 PT |
554 | <visibleWhen |
555 | checkEnabled="false"> | |
556 | <with | |
557 | variable="selection"> | |
558 | <count | |
559 | value="1"> | |
560 | </count> | |
561 | <iterate | |
562 | ifEmpty="false" | |
563 | operator="and"> | |
564 | <instanceof | |
565 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder"> | |
566 | </instanceof> | |
567 | </iterate> | |
568 | </with> | |
569 | </visibleWhen> | |
570 | </command> | |
be222f56 | 571 | <command |
6151d86c PT |
572 | commandId="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files" |
573 | label="%command.delete_suppl_files" | |
574 | mnemonic="%command.delete_suppl_files.mnemonic" | |
be222f56 | 575 | style="push" |
6151d86c | 576 | tooltip="%command.delete_suppl_files.description"> |
be222f56 PT |
577 | <visibleWhen |
578 | checkEnabled="false"> | |
579 | <with | |
580 | variable="selection"> | |
6151d86c PT |
581 | <and> |
582 | <count | |
583 | value="1"> | |
584 | </count> | |
585 | <iterate | |
586 | ifEmpty="false" | |
587 | operator="and"> | |
588 | <and> | |
589 | <or> | |
590 | <instanceof | |
591 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
592 | </instanceof> | |
593 | <instanceof | |
594 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
595 | </instanceof> | |
596 | </or> | |
597 | <test | |
598 | forcePluginActivation="true" | |
599 | property="org.eclipse.linuxtools.tmf.ui.hasSupplementaryFiles"> | |
600 | </test> | |
601 | </and> | |
602 | </iterate> | |
603 | </and> | |
be222f56 PT |
604 | </with> |
605 | </visibleWhen> | |
606 | </command> | |
6e651d8b MAL |
607 | <command |
608 | commandId="org.eclipse.linuxtools.tmf.ui.command.exporttracepkg" | |
609 | icon="icons/etool16/export.gif" | |
610 | label="%command.export_trace_package" | |
611 | mnemonic="%command.export_trace_package.mnemonic" | |
612 | style="push" | |
613 | tooltip="%command.export_trace_package.description"> | |
614 | <visibleWhen | |
615 | checkEnabled="false"> | |
616 | <with | |
617 | variable="selection"> | |
618 | <and> | |
619 | <count | |
620 | value="1"> | |
621 | </count> | |
622 | <iterate | |
623 | ifEmpty="false" | |
624 | operator="and"> | |
625 | <instanceof | |
626 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
627 | </instanceof> | |
628 | </iterate> | |
629 | </and> | |
630 | </with> | |
631 | </visibleWhen> | |
632 | </command> | |
633 | <command | |
634 | commandId="org.eclipse.linuxtools.tmf.ui.command.importtracepkg" | |
635 | label="%command.import_trace_package" | |
636 | mnemonic="%command.import_trace_package.mnemonic" | |
637 | style="push" | |
638 | tooltip="%command.import_trace_package.description"> | |
639 | <visibleWhen | |
640 | checkEnabled="false"> | |
641 | <with | |
642 | variable="selection"> | |
643 | <and> | |
644 | <count | |
645 | value="1"> | |
646 | </count> | |
647 | <iterate | |
648 | ifEmpty="false" | |
649 | operator="and"> | |
650 | <instanceof | |
651 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
652 | </instanceof> | |
653 | </iterate> | |
654 | </and> | |
655 | </with> | |
656 | </visibleWhen> | |
657 | </command> | |
6151d86c PT |
658 | <separator |
659 | name="org.eclipse.linuxtools.tmf.ui.separator3" | |
660 | visible="true"> | |
661 | </separator> | |
587660fc PT |
662 | <command |
663 | commandId="org.eclipse.linuxtools.tmf.ui.command.managecustomparsers" | |
664 | icon="icons/etool16/customparser_wizard.gif" | |
665 | id="org.eclipse.linuxtools.tmf.ui.menu.managecustomparsers" | |
666 | style="push"> | |
667 | <visibleWhen | |
668 | checkEnabled="false"> | |
669 | <with | |
670 | variable="selection"> | |
671 | <count | |
672 | value="1"> | |
673 | </count> | |
674 | <iterate | |
675 | operator="and"> | |
676 | <instanceof | |
677 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
678 | </instanceof> | |
679 | </iterate> | |
680 | </with> | |
681 | </visibleWhen> | |
682 | </command> | |
6151d86c PT |
683 | <menu |
684 | label="%command.select_trace_type" | |
685 | mnemonic="%command.select_trace_type.mnemonic" | |
686 | tooltip="%command.select_trace_type.description"> | |
687 | <dynamic | |
688 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SelectTraceTypeContributionItem" | |
689 | id="org.eclipse.linuxtools.tmf.ui.command.select_trace_type.dynamic"> | |
690 | </dynamic> | |
587660fc PT |
691 | <separator |
692 | name="org.eclipse.linuxtools.tmf.ui.separator6" | |
693 | visible="true"> | |
694 | </separator> | |
695 | <command | |
696 | commandId="org.eclipse.linuxtools.tmf.ui.command.managecustomparsers" | |
697 | icon="icons/etool16/customparser_wizard.gif" | |
698 | style="push"> | |
699 | </command> | |
be222f56 PT |
700 | <visibleWhen |
701 | checkEnabled="false"> | |
702 | <with | |
703 | variable="selection"> | |
be222f56 PT |
704 | <iterate |
705 | ifEmpty="false" | |
706 | operator="and"> | |
707 | <instanceof | |
6151d86c | 708 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> |
be222f56 PT |
709 | </instanceof> |
710 | </iterate> | |
711 | </with> | |
712 | </visibleWhen> | |
6151d86c | 713 | </menu> |
be222f56 | 714 | <separator |
6151d86c | 715 | name="org.eclipse.linuxtools.tmf.ui.separator4" |
be222f56 PT |
716 | visible="true"> |
717 | </separator> | |
718 | <command | |
6151d86c | 719 | commandId="org.eclipse.linuxtools.tmf.ui.command.select_traces" |
36a65820 | 720 | icon="icons/obj16/add_obj.gif" |
6151d86c PT |
721 | label="%command.select_traces" |
722 | mnemonic="%command.select_traces.mnemonic" | |
be222f56 | 723 | style="push" |
6151d86c | 724 | tooltip="%commands.select_traces.description"> |
be222f56 PT |
725 | <visibleWhen |
726 | checkEnabled="false"> | |
727 | <with | |
728 | variable="selection"> | |
729 | <count | |
730 | value="1"> | |
731 | </count> | |
732 | <iterate | |
733 | ifEmpty="false" | |
734 | operator="and"> | |
735 | <instanceof | |
736 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
737 | </instanceof> | |
738 | </iterate> | |
739 | </with> | |
740 | </visibleWhen> | |
741 | </command> | |
e73a4ba5 GB |
742 | <command |
743 | commandId="org.eclipse.linuxtools.tmf.ui.command.synchronize_traces" | |
744 | icon="icons/obj16/add_obj.gif" | |
745 | label="%command.synchronize_traces" | |
746 | mnemonic="%command.synchronize_traces.mnemonic" | |
747 | style="push" | |
748 | tooltip="%commands.synchronize_traces.description"> | |
749 | <visibleWhen | |
750 | checkEnabled="false"> | |
751 | <with | |
752 | variable="selection"> | |
753 | <count | |
754 | value="1"> | |
755 | </count> | |
756 | <iterate | |
757 | ifEmpty="false" | |
758 | operator="and"> | |
759 | <instanceof | |
760 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
761 | </instanceof> | |
762 | </iterate> | |
763 | </with> | |
764 | </visibleWhen> | |
765 | </command> | |
6151d86c PT |
766 | <separator |
767 | name="org.eclipse.linuxtools.tmf.ui.separator5" | |
768 | visible="true"> | |
769 | </separator> | |
be222f56 | 770 | <command |
6151d86c PT |
771 | commandId="org.eclipse.ui.file.refresh" |
772 | label="%command.refresh" | |
773 | mnemonic="%command.refresh.mnemonic" | |
774 | style="push"> | |
be222f56 PT |
775 | <visibleWhen |
776 | checkEnabled="false"> | |
777 | <with | |
778 | variable="selection"> | |
779 | <count | |
780 | value="1"> | |
781 | </count> | |
782 | <iterate | |
783 | ifEmpty="false" | |
784 | operator="and"> | |
6151d86c PT |
785 | <or> |
786 | <instanceof | |
787 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
788 | </instanceof> | |
789 | <instanceof | |
790 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder"> | |
791 | </instanceof> | |
792 | <instanceof | |
793 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
794 | </instanceof> | |
795 | </or> | |
be222f56 PT |
796 | </iterate> |
797 | </with> | |
798 | </visibleWhen> | |
799 | </command> | |
c068a752 GB |
800 | <command |
801 | commandId="org.eclipse.linuxtools.tmf.ui.command.analysis_help" | |
802 | icon="icons/dlcl16/open.gif" | |
803 | label="%command.analysis_help" | |
804 | mnemonic="%command.analysis_help.mnemonic" | |
805 | style="push" | |
806 | tooltip="%command.analysis_help.description"> | |
807 | <visibleWhen | |
808 | checkEnabled="false"> | |
809 | <with | |
810 | variable="selection"> | |
811 | <count | |
812 | value="1"> | |
813 | </count> | |
814 | <iterate | |
815 | ifEmpty="false" | |
816 | operator="and"> | |
817 | <instanceof | |
818 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfAnalysisElement"> | |
819 | </instanceof> | |
820 | </iterate> | |
821 | </with> | |
822 | </visibleWhen> | |
823 | </command> | |
be222f56 PT |
824 | </menuContribution> |
825 | </extension> | |
826 | <extension | |
827 | point="org.eclipse.ui.commands"> | |
828 | <category | |
6151d86c PT |
829 | description="%commands.category.description" |
830 | id="org.eclipse.linuxtools.tmf.ui.commands.category" | |
831 | name="%commands.category.name"> | |
be222f56 PT |
832 | </category> |
833 | <command | |
6151d86c PT |
834 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.category" |
835 | description="%command.new_experiment.description" | |
836 | id="org.eclipse.linuxtools.tmf.ui.command.new_experiment" | |
837 | name="%command.new_experiment"> | |
be222f56 | 838 | </command> |
c068a752 GB |
839 | <command |
840 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.category" | |
841 | description="%command.analysis_help.description" | |
842 | id="org.eclipse.linuxtools.tmf.ui.command.analysis_help" | |
843 | name="%command.analysis_help"> | |
844 | </command> | |
be222f56 | 845 | <command |
6151d86c PT |
846 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.category" |
847 | description="%command.select_trace_type.description" | |
848 | id="org.eclipse.linuxtools.tmf.ui.command.select_trace_type" | |
849 | name="%command.select_trace_type"> | |
be222f56 | 850 | <commandParameter |
6151d86c | 851 | id="org.eclipse.linuxtools.tmf.ui.commandparameter.select_trace_type.bundle" |
be222f56 PT |
852 | name="%commands.trace.select_trace_type.bundle" |
853 | optional="false"> | |
854 | </commandParameter> | |
855 | <commandParameter | |
6151d86c | 856 | id="org.eclipse.linuxtools.tmf.ui.commandparameter.select_trace_type.type" |
be222f56 PT |
857 | name="%commands.trace.select_trace_type.type" |
858 | optional="false"> | |
859 | </commandParameter> | |
860 | <commandParameter | |
6151d86c | 861 | id="org.eclipse.linuxtools.tmf.ui.commandparameter.select_trace_type.icon" |
be222f56 PT |
862 | name="%commands.trace.select_trace_type.icon" |
863 | optional="false"> | |
864 | </commandParameter> | |
865 | </command> | |
866 | <command | |
6151d86c PT |
867 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.category" |
868 | id="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files" | |
869 | name="%command.delete_suppl_files"> | |
be222f56 | 870 | </command> |
6e651d8b MAL |
871 | <command |
872 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.category" | |
873 | id="org.eclipse.linuxtools.tmf.ui.command.exporttracepkg" | |
874 | name="%command.export_trace_package"> | |
875 | </command> | |
876 | <command | |
877 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.category" | |
878 | id="org.eclipse.linuxtools.tmf.ui.command.importtracepkg" | |
879 | name="%command.import_trace_package"> | |
880 | </command> | |
be222f56 | 881 | <command |
6151d86c PT |
882 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.category" |
883 | description="%command.select_traces.description" | |
884 | id="org.eclipse.linuxtools.tmf.ui.command.select_traces" | |
885 | name="%command.select_traces"> | |
be222f56 | 886 | </command> |
e73a4ba5 GB |
887 | <command |
888 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.category" | |
889 | description="%command.synchronize_traces.description" | |
890 | id="org.eclipse.linuxtools.tmf.ui.command.synchronize_traces" | |
891 | name="%command.synchronize_traces"> | |
892 | </command> | |
be222f56 PT |
893 | <category |
894 | description="%commands.parser.category.description" | |
895 | id="org.eclipse.linuxtools.tmf.ui.commands.parser.category" | |
896 | name="%commands.parser.category.name"> | |
897 | </category> | |
898 | <command | |
899 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.parser.category" | |
900 | description="%commands.parser.manage.description" | |
901 | id="org.eclipse.linuxtools.tmf.ui.command.managecustomparsers" | |
902 | name="%commands.parser.manage"> | |
903 | </command> | |
904 | <category | |
905 | description="%commands.uml2sd.category.name" | |
906 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
907 | name="%commands.uml2sd.category.name"> | |
908 | </category> | |
909 | <command | |
910 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
911 | description="%commands.uml2sd.goto.description" | |
912 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.GoToMessage" | |
913 | name="%commands.uml2sd.goto"> | |
914 | </command> | |
915 | <command | |
916 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
917 | description="%commands.uml2sd.showend.description" | |
918 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeEnd" | |
919 | name="%commands.uml2sd.showend"> | |
920 | </command> | |
921 | <command | |
922 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
923 | description="%commands.uml2sd.showstart.description" | |
924 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeStart" | |
925 | name="%commands.uml2sd.showstart"> | |
926 | </command> | |
927 | <command | |
928 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
929 | description="%commands.uml2sd.scrollup.description" | |
930 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDUp" | |
931 | name="%commands.uml2sd.scrollup"> | |
932 | </command> | |
933 | <command | |
934 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
935 | description="%commands.uml2sd.scrolldown.description" | |
936 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDDown" | |
937 | name="%commands.uml2sd.scrolldown"> | |
938 | </command> | |
939 | <command | |
940 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
941 | description="%commands.uml2sd.scrollleft.description" | |
942 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDLeft" | |
943 | name="%commands.uml2sd.scrollleft"> | |
944 | </command> | |
945 | <command | |
946 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
947 | description="%commands.uml2sd.scrollright.description" | |
948 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDRight" | |
949 | name="%commands.uml2sd.scrollright"> | |
950 | </command> | |
d04ec5a7 MK |
951 | <command |
952 | description="%command.batch_import.description" | |
953 | id="org.eclipse.linuxtools.tmf.ui.batch_import" | |
954 | name="%command.batch_import"> | |
955 | </command> | |
d3de0920 XR |
956 | <command |
957 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.category" | |
958 | description="%command.export_to_text.description" | |
959 | id="org.eclipse.linuxtools.tmf.ui.exportToText" | |
960 | name="%command.export_to_text"> | |
961 | </command> | |
be222f56 | 962 | </extension> |
be222f56 PT |
963 | <extension |
964 | point="org.eclipse.ui.handlers"> | |
965 | <handler | |
966 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.ImportTraceHandler" | |
6151d86c PT |
967 | commandId="org.eclipse.ui.file.import"> |
968 | <activeWhen> | |
969 | <and> | |
970 | <count | |
971 | value="1"> | |
972 | </count> | |
e54c68b7 FC |
973 | <iterate |
974 | ifEmpty="false" | |
975 | operator="and"> | |
6151d86c PT |
976 | <instanceof |
977 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
978 | </instanceof> | |
979 | </iterate> | |
980 | </and> | |
981 | </activeWhen> | |
be222f56 PT |
982 | </handler> |
983 | <handler | |
984 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.RefreshHandler" | |
6151d86c PT |
985 | commandId="org.eclipse.ui.file.refresh"> |
986 | <activeWhen> | |
987 | <and> | |
988 | <count | |
989 | value="1"> | |
990 | </count> | |
e54c68b7 FC |
991 | <iterate |
992 | ifEmpty="false" | |
993 | operator="and"> | |
6151d86c PT |
994 | <or> |
995 | <instanceof | |
996 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
997 | </instanceof> | |
998 | <instanceof | |
999 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder"> | |
1000 | </instanceof> | |
1001 | <instanceof | |
1002 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
1003 | </instanceof> | |
1004 | </or> | |
1005 | </iterate> | |
1006 | </and> | |
1007 | </activeWhen> | |
be222f56 PT |
1008 | </handler> |
1009 | <handler | |
1010 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.OpenTraceHandler" | |
6151d86c PT |
1011 | commandId="org.eclipse.ui.navigate.openResource"> |
1012 | <activeWhen> | |
1013 | <and> | |
1014 | <count | |
1015 | value="1"> | |
1016 | </count> | |
e54c68b7 FC |
1017 | <iterate |
1018 | operator="and"> | |
6151d86c PT |
1019 | <instanceof |
1020 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
1021 | </instanceof> | |
1022 | </iterate> | |
1023 | </and> | |
1024 | </activeWhen> | |
be222f56 PT |
1025 | </handler> |
1026 | <handler | |
6151d86c PT |
1027 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.OpenExperimentHandler" |
1028 | commandId="org.eclipse.ui.navigate.openResource"> | |
1029 | <activeWhen> | |
1030 | <and> | |
1031 | <count | |
1032 | value="1"> | |
1033 | </count> | |
e54c68b7 FC |
1034 | <iterate |
1035 | operator="and"> | |
6151d86c PT |
1036 | <instanceof |
1037 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
1038 | </instanceof> | |
1039 | </iterate> | |
1040 | </and> | |
1041 | </activeWhen> | |
be222f56 | 1042 | </handler> |
c068a752 GB |
1043 | <handler |
1044 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.OpenAnalysisHelpHandler" | |
1045 | commandId="org.eclipse.linuxtools.tmf.ui.command.analysis_help"> | |
1046 | <activeWhen> | |
1047 | <and> | |
1048 | <count | |
1049 | value="1"> | |
1050 | </count> | |
1051 | <iterate | |
1052 | operator="and"> | |
1053 | <instanceof | |
1054 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfAnalysisElement"> | |
1055 | </instanceof> | |
1056 | </iterate> | |
1057 | </and> | |
1058 | </activeWhen> | |
1059 | </handler> | |
1060 | <handler | |
1061 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.OpenAnalysisOutputHandler" | |
1062 | commandId="org.eclipse.ui.navigate.openResource"> | |
1063 | <activeWhen> | |
1064 | <and> | |
1065 | <count | |
1066 | value="1"> | |
1067 | </count> | |
1068 | <iterate | |
1069 | operator="and"> | |
1070 | <instanceof | |
1071 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfAnalysisOutputElement"> | |
1072 | </instanceof> | |
1073 | </iterate> | |
1074 | </and> | |
1075 | </activeWhen> | |
1076 | </handler> | |
be222f56 | 1077 | <handler |
6151d86c PT |
1078 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.CopyTraceHandler" |
1079 | commandId="org.eclipse.ui.edit.copy"> | |
1080 | <activeWhen> | |
1081 | <and> | |
1082 | <count | |
1083 | value="1"> | |
1084 | </count> | |
e54c68b7 FC |
1085 | <iterate |
1086 | operator="and"> | |
6151d86c PT |
1087 | <instanceof |
1088 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
1089 | </instanceof> | |
1090 | </iterate> | |
1091 | </and> | |
1092 | </activeWhen> | |
be222f56 PT |
1093 | </handler> |
1094 | <handler | |
6151d86c PT |
1095 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.CopyExperimentHandler" |
1096 | commandId="org.eclipse.ui.edit.copy"> | |
1097 | <activeWhen> | |
1098 | <and> | |
1099 | <count | |
1100 | value="1"> | |
1101 | </count> | |
e54c68b7 FC |
1102 | <iterate |
1103 | operator="and"> | |
6151d86c PT |
1104 | <instanceof |
1105 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
1106 | </instanceof> | |
1107 | </iterate> | |
1108 | </and> | |
1109 | </activeWhen> | |
be222f56 PT |
1110 | </handler> |
1111 | <handler | |
6151d86c PT |
1112 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.RenameTraceHandler" |
1113 | commandId="org.eclipse.ui.edit.rename"> | |
1114 | <activeWhen> | |
1115 | <and> | |
1116 | <count | |
1117 | value="1"> | |
1118 | </count> | |
e54c68b7 FC |
1119 | <iterate |
1120 | operator="and"> | |
6151d86c PT |
1121 | <instanceof |
1122 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
1123 | </instanceof> | |
1124 | </iterate> | |
1125 | </and> | |
1126 | </activeWhen> | |
be222f56 PT |
1127 | </handler> |
1128 | <handler | |
6151d86c PT |
1129 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.RenameExperimentHandler" |
1130 | commandId="org.eclipse.ui.edit.rename"> | |
1131 | <activeWhen> | |
1132 | <and> | |
1133 | <count | |
1134 | value="1"> | |
1135 | </count> | |
e54c68b7 FC |
1136 | <iterate |
1137 | operator="and"> | |
6151d86c PT |
1138 | <instanceof |
1139 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
1140 | </instanceof> | |
1141 | </iterate> | |
1142 | </and> | |
1143 | </activeWhen> | |
be222f56 PT |
1144 | </handler> |
1145 | <handler | |
6151d86c PT |
1146 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteTraceHandler" |
1147 | commandId="org.eclipse.ui.edit.delete"> | |
1148 | <activeWhen> | |
e54c68b7 FC |
1149 | <iterate |
1150 | ifEmpty="false" | |
1151 | operator="and"> | |
1152 | <instanceof | |
1153 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
1154 | </instanceof> | |
1155 | </iterate> | |
6151d86c | 1156 | </activeWhen> |
be222f56 PT |
1157 | </handler> |
1158 | <handler | |
6151d86c PT |
1159 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteExperimentHandler" |
1160 | commandId="org.eclipse.ui.edit.delete"> | |
1161 | <activeWhen> | |
e54c68b7 FC |
1162 | <iterate |
1163 | ifEmpty="false" | |
1164 | operator="and"> | |
1165 | <instanceof | |
1166 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
1167 | </instanceof> | |
1168 | </iterate> | |
6151d86c | 1169 | </activeWhen> |
be222f56 PT |
1170 | </handler> |
1171 | <handler | |
6151d86c PT |
1172 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteTraceSupplementaryFilesHandler" |
1173 | commandId="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files"> | |
1174 | <activeWhen> | |
1175 | <and> | |
1176 | <count | |
1177 | value="1"> | |
1178 | </count> | |
e54c68b7 FC |
1179 | <iterate |
1180 | operator="and"> | |
6151d86c PT |
1181 | <instanceof |
1182 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
1183 | </instanceof> | |
1184 | </iterate> | |
1185 | </and> | |
1186 | </activeWhen> | |
be222f56 | 1187 | </handler> |
6e651d8b MAL |
1188 | <handler |
1189 | class="org.eclipse.linuxtools.internal.tmf.ui.project.wizards.tracepkg.importexport.ExportTracePackageHandler" | |
1190 | commandId="org.eclipse.linuxtools.tmf.ui.command.exporttracepkg"> | |
1191 | <activeWhen> | |
1192 | <and> | |
1193 | <count | |
1194 | value="1"> | |
1195 | </count> | |
1196 | <iterate | |
1197 | operator="and"> | |
1198 | <instanceof | |
1199 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
1200 | </instanceof> | |
1201 | </iterate> | |
1202 | </and> | |
1203 | </activeWhen> | |
1204 | </handler> | |
1205 | <handler | |
1206 | class="org.eclipse.linuxtools.internal.tmf.ui.project.wizards.tracepkg.importexport.ImportTracePackageHandler" | |
1207 | commandId="org.eclipse.linuxtools.tmf.ui.command.importtracepkg"> | |
1208 | <activeWhen> | |
1209 | <and> | |
1210 | <count | |
1211 | value="1"> | |
1212 | </count> | |
1213 | <iterate | |
1214 | operator="and"> | |
1215 | <instanceof | |
1216 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
1217 | </instanceof> | |
1218 | </iterate> | |
1219 | </and> | |
1220 | </activeWhen> | |
1221 | </handler> | |
be222f56 | 1222 | <handler |
6151d86c PT |
1223 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteExperimentSupplementaryFilesHandler" |
1224 | commandId="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files"> | |
1225 | <activeWhen> | |
1226 | <and> | |
1227 | <count | |
1228 | value="1"> | |
1229 | </count> | |
e54c68b7 FC |
1230 | <iterate |
1231 | operator="and"> | |
6151d86c PT |
1232 | <instanceof |
1233 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
1234 | </instanceof> | |
1235 | </iterate> | |
1236 | </and> | |
1237 | </activeWhen> | |
be222f56 PT |
1238 | </handler> |
1239 | <handler | |
6151d86c PT |
1240 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.NewExperimentHandler" |
1241 | commandId="org.eclipse.linuxtools.tmf.ui.command.new_experiment"> | |
1242 | <activeWhen> | |
1243 | <and> | |
1244 | <count | |
1245 | value="1"> | |
1246 | </count> | |
e54c68b7 FC |
1247 | <iterate |
1248 | operator="and"> | |
6151d86c PT |
1249 | <instanceof |
1250 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder"> | |
1251 | </instanceof> | |
1252 | </iterate> | |
1253 | </and> | |
1254 | </activeWhen> | |
be222f56 PT |
1255 | </handler> |
1256 | <handler | |
6151d86c PT |
1257 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SelectTraceTypeHandler" |
1258 | commandId="org.eclipse.linuxtools.tmf.ui.command.select_trace_type"> | |
1259 | <activeWhen> | |
e54c68b7 FC |
1260 | <iterate |
1261 | ifEmpty="false" | |
1262 | operator="and"> | |
1263 | <instanceof | |
1264 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
1265 | </instanceof> | |
1266 | </iterate> | |
6151d86c | 1267 | </activeWhen> |
be222f56 PT |
1268 | </handler> |
1269 | <handler | |
6151d86c PT |
1270 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SelectTracesHandler" |
1271 | commandId="org.eclipse.linuxtools.tmf.ui.command.select_traces"> | |
1272 | <activeWhen> | |
1273 | <and> | |
1274 | <count | |
1275 | value="1"> | |
1276 | </count> | |
e54c68b7 FC |
1277 | <iterate |
1278 | operator="and"> | |
6151d86c PT |
1279 | <instanceof |
1280 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
1281 | </instanceof> | |
1282 | </iterate> | |
1283 | </and> | |
1284 | </activeWhen> | |
be222f56 | 1285 | </handler> |
e73a4ba5 GB |
1286 | <handler |
1287 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SynchronizeTracesHandler" | |
1288 | commandId="org.eclipse.linuxtools.tmf.ui.command.synchronize_traces"> | |
1289 | <activeWhen> | |
1290 | <and> | |
1291 | <count | |
1292 | value="1"> | |
1293 | </count> | |
1294 | <iterate | |
1295 | operator="and"> | |
1296 | <instanceof | |
1297 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
1298 | </instanceof> | |
1299 | </iterate> | |
1300 | </and> | |
1301 | </activeWhen> | |
1302 | </handler> | |
be222f56 PT |
1303 | <handler |
1304 | class="org.eclipse.linuxtools.internal.tmf.ui.commands.ManageCustomParsersCommandHandler" | |
1305 | commandId="org.eclipse.linuxtools.tmf.ui.command.managecustomparsers"> | |
1306 | </handler> | |
1307 | <handler | |
1308 | class="org.eclipse.linuxtools.internal.tmf.ui.editors.handlers.AddBookmarkHandler" | |
1309 | commandId="org.eclipse.ui.edit.addBookmark"> | |
1310 | <activeWhen> | |
cf6af39c PT |
1311 | <and> |
1312 | <with | |
1313 | variable="activePart"> | |
1314 | <instanceof | |
1315 | value="org.eclipse.linuxtools.tmf.ui.editors.TmfEventsEditor"> | |
1316 | </instanceof> | |
1317 | </with> | |
1318 | <count | |
1319 | value="1"> | |
1320 | </count> | |
1321 | <iterate | |
1322 | ifEmpty="false" | |
1323 | operator="and"> | |
1324 | <instanceof | |
1325 | value="org.eclipse.linuxtools.tmf.core.event.ITmfEvent"> | |
1326 | </instanceof> | |
1327 | </iterate> | |
1328 | </and> | |
be222f56 PT |
1329 | </activeWhen> |
1330 | </handler> | |
d04ec5a7 MK |
1331 | <handler |
1332 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.BatchImportTraceHandler" | |
1333 | commandId="org.eclipse.linuxtools.tmf.ui.batch_import"> | |
1334 | <activeWhen> | |
1335 | <and> | |
1336 | <count | |
1337 | value="1"> | |
1338 | </count> | |
1339 | <iterate | |
1340 | ifEmpty="false" | |
1341 | operator="and"> | |
1342 | <instanceof | |
1343 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
1344 | </instanceof> | |
1345 | </iterate> | |
1346 | </and> | |
1347 | </activeWhen> | |
1348 | </handler> | |
d3de0920 XR |
1349 | <handler |
1350 | class="org.eclipse.linuxtools.internal.tmf.ui.commands.ExportToTextCommandHandler" | |
1351 | commandId="org.eclipse.linuxtools.tmf.ui.exportToText"> | |
1352 | </handler> | |
be222f56 | 1353 | </extension> |
6151d86c PT |
1354 | <extension point="org.eclipse.ui.bindings"> |
1355 | <key | |
1356 | sequence="ALT+R" | |
1357 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1358 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.GoToMessage" | |
1359 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1360 | </key> | |
1361 | <key | |
1362 | sequence="SHIFT+ALT+END" | |
1363 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1364 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeEnd" | |
1365 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1366 | </key> | |
1367 | <key | |
1368 | sequence="SHIFT+ALT+HOME" | |
1369 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1370 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeStart" | |
1371 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1372 | </key> | |
1373 | <key | |
1374 | sequence="SHIFT+ALT+ARROW_UP" | |
1375 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1376 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDUp" | |
1377 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1378 | </key> | |
1379 | <key | |
1380 | sequence="SHIFT+ALT+ARROW_DOWN" | |
1381 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1382 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDDown" | |
1383 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1384 | </key> | |
1385 | <key | |
1386 | sequence="SHIFT+ALT+ARROW_LEFT" | |
1387 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1388 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDLeft" | |
1389 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1390 | </key> | |
1391 | <key | |
1392 | sequence="SHIFT+ALT+ARROW_RIGHT" | |
1393 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1394 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDRight" | |
1395 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1396 | </key> | |
1397 | </extension> | |
be222f56 PT |
1398 | <extension |
1399 | point="org.eclipse.core.contenttype.contentTypes"> | |
1400 | <content-type | |
1401 | id="org.eclipse.linuxtools.tmf.ui.content-type.trace" | |
1402 | name="%contenttype.trace" | |
1403 | priority="normal"> | |
1404 | </content-type> | |
1405 | </extension> | |
1406 | <extension | |
1407 | point="org.eclipse.ui.contexts"> | |
1408 | <context | |
1409 | id="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1410 | name="%contexts.uml2sd"> | |
1411 | </context> | |
1412 | </extension> | |
1413 | <extension | |
1414 | point="org.eclipse.ui.preferencePages"> | |
1415 | <page | |
1416 | class="org.eclipse.linuxtools.internal.tmf.ui.preferences.TmfTracingPreferencePage" | |
1417 | id="org.eclipse.linuxtools.tmf.ui.TmfTracingPreferences" | |
1418 | name="%preference.page.trace.name"> | |
1419 | </page> | |
1420 | <page | |
1421 | category="org.eclipse.linuxtools.tmf.ui.TmfTracingPreferences" | |
1422 | class="org.eclipse.linuxtools.tmf.ui.views.uml2sd.preferences.SDViewerPage" | |
1423 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.preferences.SDViewerPage" | |
1424 | name="%preference.page.uml2sd.name"> | |
1425 | </page> | |
f8177ba2 FC |
1426 | <page |
1427 | category="org.eclipse.linuxtools.tmf.ui.TmfTracingPreferences" | |
1428 | class="org.eclipse.linuxtools.tmf.ui.properties.TmfTimestampFormatPage" | |
1429 | id="org.eclipse.linuxtools.tmf.ui.preferences.timestamp.format" | |
1430 | name="%preferences.page.timestamp.format"> | |
1431 | </page> | |
be222f56 PT |
1432 | </extension> |
1433 | <extension | |
1434 | point="org.eclipse.linuxtools.tmf.ui.uml2SDLoader"> | |
1435 | <uml2SDLoader | |
1436 | class="org.eclipse.linuxtools.tmf.ui.views.uml2sd.loader.TmfUml2SDSyncLoader" | |
1437 | default="true" | |
1438 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.impl.TmfUml2SDSyncLoader" | |
1439 | name="TMF UML2SD Loader" | |
1440 | view="org.eclipse.linuxtools.tmf.ui.tmfUml2SDSyncView"> | |
1441 | </uml2SDLoader> | |
1442 | </extension> | |
1443 | <!--extension | |
1444 | point="org.eclipse.core.expressions.propertyTesters"> | |
1445 | <propertyTester | |
1446 | class="org.eclipse.linuxtools.tmf.ui.project.handlers.PropertyTester" | |
1447 | id="org.eclipse.linuxtools.tmf.ui.propertyTester.isInTraceFolder" | |
1448 | namespace="org.eclipse.linuxtools.tmf.ui.propertyTester" | |
1449 | properties="isInTraceFolder" | |
1450 | type="org.eclipse.jface.viewers.ISelection"> | |
1451 | </propertyTester> | |
1452 | </extension --> | |
1453 | <extension | |
1454 | point="org.eclipse.core.expressions.propertyTesters"> | |
1455 | <propertyTester | |
1456 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.TracePropertyTester" | |
1457 | id="org.eclipse.linuxtools.tmf.ui.tracePropertyTester" | |
1458 | namespace="org.eclipse.linuxtools.tmf.ui" | |
2dd0c429 | 1459 | properties="isExperimentTrace,hasSupplementaryFiles,traceType" |
be222f56 PT |
1460 | type="org.eclipse.linuxtools.tmf.ui.project.model.TmfProjectModelElement"> |
1461 | </propertyTester> | |
1462 | </extension> | |
1463 | <extension | |
1464 | point="org.eclipse.linuxtools.tmf.ui.tracetype"> | |
1465 | <category | |
1466 | id="org.eclipse.linuxtools.tmf.ui.category.ctf" | |
1467 | name="%tracetype.category.ctf"> | |
1468 | </category> | |
1469 | <type | |
1470 | category="org.eclipse.linuxtools.tmf.ui.category.ctf" | |
1471 | event_type="org.eclipse.linuxtools.tmf.core.ctfadaptor.CtfTmfEvent" | |
1472 | icon="icons/eview16/events_view.gif" | |
1473 | id="org.eclipse.linuxtools.tmf.ui.type.ctf" | |
1474 | name="%tracetype.type.ctf" | |
1475 | trace_type="org.eclipse.linuxtools.tmf.core.ctfadaptor.CtfTmfTrace"> | |
1476 | </type> | |
1477 | </extension> | |
1169a815 BH |
1478 | <extension |
1479 | point="org.eclipse.ui.navigator.linkHelper"> | |
1480 | <linkHelper | |
1481 | class="org.eclipse.linuxtools.internal.tmf.ui.project.model.TmfEditorLinkHelper" | |
1482 | id="org.eclipse.linuxtools.internal.tmf.ui.project.model.TmfEditorLinkHelper"> | |
1483 | <editorInputEnablement> | |
1484 | <instanceof value="org.eclipse.ui.IFileEditorInput"/> | |
1485 | </editorInputEnablement> | |
1486 | <selectionEnablement> | |
1487 | <or> | |
1488 | <instanceof | |
1489 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
1490 | </instanceof> | |
1491 | <instanceof | |
1492 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
1493 | </instanceof> | |
1494 | </or> | |
1495 | </selectionEnablement> | |
1496 | </linkHelper> | |
1497 | </extension> | |
6e651d8b MAL |
1498 | <extension |
1499 | point="org.eclipse.ui.exportWizards"> | |
1500 | <wizard | |
1501 | category="org.eclipse.linuxtools.tmf.export.category" | |
1502 | class="org.eclipse.linuxtools.internal.tmf.ui.project.wizards.tracepkg.importexport.ExportTracePackageWizard" | |
1503 | icon="icons/etool16/export.gif" | |
1504 | id="org.eclipse.linuxtools.tmf.ui.trace.export.package.wizard" | |
1505 | name="%project.export.wizard.name.tracepkg"> | |
1506 | </wizard> | |
1507 | <category | |
1508 | id="org.eclipse.linuxtools.tmf.export.category" | |
1509 | name="%project.new.category.name"> | |
1510 | </category> | |
1511 | </extension> | |
be222f56 | 1512 | </plugin> |