analysis.lami: Implementation of LAMI plugins
[deliverable/tracecompass.git] / analysis / org.eclipse.tracecompass.analysis.lami.ui / plugin.xml
CommitLineData
4208b510
AM
1<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.4"?>
3<!--
4 Copyright (c) 2016 EfficiOS Inc. and others
5
6 All rights reserved. This program and the accompanying materials
7 are made available under the terms of the Eclipse Public License v1.0
8 which accompanies this distribution, and is available at
9 http://www.eclipse.org/legal/epl-v10.html
10 -->
11
12<plugin>
13 <extension
14 point="org.eclipse.ui.handlers">
15 <handler
16 class="org.eclipse.tracecompass.internal.provisional.analysis.lami.ui.handler.RunAnalysisHandler"
17 commandId="org.eclipse.tracecompass.tmf.ui.command.analysis_run">
18 <activeWhen>
19 <and>
20 <count
21 value="1">
22 </count>
23 <iterate
24 operator="and">
25 <instanceof
26 value="org.eclipse.tracecompass.tmf.ui.project.model.TmfOnDemandAnalysisElement">
27 </instanceof>
28 </iterate>
29 </and>
30 </activeWhen>
31 </handler>
32 <handler
33 class="org.eclipse.tracecompass.internal.provisional.analysis.lami.ui.handler.OpenReportHandler"
34 commandId="org.eclipse.tracecompass.tmf.ui.command.report_open">
35 <activeWhen>
36 <and>
37 <iterate
38 ifEmpty="false"
39 operator="and">
40 <instanceof
41 value="org.eclipse.tracecompass.tmf.ui.project.model.TmfReportElement">
42 </instanceof>
43 </iterate>
44 </and>
45 </activeWhen>
46 </handler>
47 <handler
48 class="org.eclipse.tracecompass.internal.provisional.analysis.lami.ui.handler.DeleteReportHandler"
49 commandId="org.eclipse.tracecompass.tmf.ui.command.report_delete">
50 <activeWhen>
51 <and>
52 <iterate
53 ifEmpty="false"
54 operator="and">
55 <instanceof
56 value="org.eclipse.tracecompass.tmf.ui.project.model.TmfReportElement">
57 </instanceof>
58 </iterate>
59 </and>
60 </activeWhen>
61 </handler>
62 </extension>
63 <extension
64 point="org.eclipse.ui.commands">
65 <command
66 categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"
67 description="%command.analysis_run.description"
68 id="org.eclipse.tracecompass.tmf.ui.command.analysis_run"
69 name="%command.analysis_run">
70 </command>
71 <command
72 categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"
73 description="%command.report_open.description"
74 id="org.eclipse.tracecompass.tmf.ui.command.report_open"
75 name="%command.report_open">
76 </command>
77 <command
78 categoryId="org.eclipse.linuxtools.tmf.ui.commands.category"
79 description="%command.report_delete.description"
80 id="org.eclipse.tracecompass.tmf.ui.command.report_delete"
81 name="%command.report_delete">
82 </command>
83 </extension>
84 <extension
85 point="org.eclipse.ui.menus">
86 <menuContribution
87 locationURI="popup:org.eclipse.ui.popup.any?after=additions">
88 <command
89 commandId="org.eclipse.tracecompass.tmf.ui.command.analysis_run"
90 label="%command.analysis_run"
91 mnemonic="%command.analysis_run.mnemonic"
92 style="push"
93 tooltip="%command.analysis_run.description">
94 <visibleWhen
95 checkEnabled="false">
96 <with
97 variable="selection">
98 <count
99 value="1">
100 </count>
101 <iterate>
102 <instanceof
103 value="org.eclipse.tracecompass.tmf.ui.project.model.TmfOnDemandAnalysisElement">
104 </instanceof>
105 </iterate>
106 </with>
107 </visibleWhen>
108 </command>
109 </menuContribution>
110 <menuContribution
111 allPopups="false"
112 locationURI="popup:org.eclipse.ui.popup.any?after=additions">
113 <command
114 commandId="org.eclipse.tracecompass.tmf.ui.command.report_open"
115 label="%command.report_open"
116 mnemonic="%command.report_open.mnemonic"
117 style="push"
118 tooltip="%command.report_open.description">
119 <visibleWhen
120 checkEnabled="false">
121 <with
122 variable="selection">
123 <iterate
124 ifEmpty="false">
125 <instanceof
126 value="org.eclipse.tracecompass.tmf.ui.project.model.TmfReportElement">
127 </instanceof>
128 </iterate>
129 </with>
130 </visibleWhen>
131 </command>
132 <command
133 commandId="org.eclipse.tracecompass.tmf.ui.command.report_delete"
134 label="%command.report_delete"
135 mnemonic="%command.report_delete.mnemonic"
136 style="push"
137 tooltip="%command.report_delete.description">
138 <visibleWhen
139 checkEnabled="false">
140 <with
141 variable="selection">
142 <iterate
143 ifEmpty="false">
144 <instanceof
145 value="org.eclipse.tracecompass.tmf.ui.project.model.TmfReportElement">
146 </instanceof>
147 </iterate>
148 </with>
149 </visibleWhen>
150 </command>
151 </menuContribution>
152 </extension>
153 <extension
154 point="org.eclipse.ui.views">
155 <view
156 allowMultiple="true"
157 category="org.eclipse.linuxtools.tmf.ui.views.category"
158 class="org.eclipse.tracecompass.internal.provisional.analysis.lami.ui.views.LamiReportView"
159 id="org.eclipse.tracecompass.analysis.lami.views.reportview"
160 name="%analysis.report.view"
161 restorable="false">
162 </view>
163 </extension>
164
165</plugin>
This page took 0.031159 seconds and 5 git commands to generate.