Commit | Line | Data |
---|---|---|
6e512b93 ASL |
1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <?eclipse version="3.4"?> | |
3 | <plugin> | |
4 | <extension | |
f9673903 | 5 | id="org.eclipse.linuxtools.lttng.ui.perspective" |
6e512b93 ASL |
6 | point="org.eclipse.ui.perspectives"> |
7 | <perspective | |
638eac44 | 8 | class="org.eclipse.linuxtools.internal.lttng.ui.views.PerspectiveFactory" |
1595249b | 9 | icon="icons/obj16/garland16.png" |
6e512b93 | 10 | id="org.eclipse.linuxtools.lttng.ui.perspective" |
b9763f53 | 11 | name="%perspective.category.name"> |
6e512b93 ASL |
12 | </perspective> |
13 | </extension> | |
14 | <extension | |
15 | id="org.eclipse.linuxtools.lttng.ui.views" | |
6e512b93 ASL |
16 | point="org.eclipse.ui.views"> |
17 | <category | |
18 | id="org.eclipse.linuxtools.lttng.ui.views.category" | |
b9763f53 | 19 | name="%views.category.name"> |
6e512b93 | 20 | </category> |
6e512b93 ASL |
21 | <view |
22 | allowMultiple="false" | |
23 | category="org.eclipse.linuxtools.lttng.ui.views.category" | |
638eac44 | 24 | class="org.eclipse.linuxtools.internal.lttng.ui.views.timeframe.TimeFrameView" |
e8d771d5 | 25 | icon="icons/eview16/time_frame_view.gif" |
6e512b93 | 26 | id="org.eclipse.linuxtools.lttng.ui.views.timeframe" |
b9763f53 | 27 | name="%timeframe.view.name" |
6e512b93 ASL |
28 | restorable="true"> |
29 | </view> | |
30 | <view | |
31 | allowMultiple="false" | |
32 | category="org.eclipse.linuxtools.lttng.ui.views.category" | |
638eac44 | 33 | class="org.eclipse.linuxtools.internal.lttng.ui.views.controlflow.ControlFlowView" |
e8d771d5 | 34 | icon="icons/eview16/control_flow_view.gif" |
6e512b93 | 35 | id="org.eclipse.linuxtools.lttng.ui.views.controlflow" |
b9763f53 | 36 | name="%controlflow.view.name" |
6e512b93 ASL |
37 | restorable="true"> |
38 | </view> | |
39 | <view | |
40 | allowMultiple="false" | |
41 | category="org.eclipse.linuxtools.lttng.ui.views.category" | |
638eac44 | 42 | class="org.eclipse.linuxtools.internal.lttng.ui.views.resources.ResourcesView" |
e8d771d5 | 43 | icon="icons/eview16/resources_view.gif" |
6e512b93 | 44 | id="org.eclipse.linuxtools.lttng.ui.views.resources" |
b9763f53 | 45 | name="%resources.view.name" |
6e512b93 ASL |
46 | restorable="true"> |
47 | </view> | |
48 | <view | |
49 | allowMultiple="false" | |
50 | category="org.eclipse.linuxtools.lttng.ui.views.category" | |
638eac44 | 51 | class="org.eclipse.linuxtools.internal.lttng.ui.views.statistics.StatisticsView" |
e8d771d5 | 52 | icon="icons/eview16/statistics_view.gif" |
6e512b93 | 53 | id="org.eclipse.linuxtools.lttng.ui.views.statistics" |
b9763f53 | 54 | name="%statistics.view.name" |
6e512b93 ASL |
55 | restorable="true"> |
56 | </view> | |
fbd124dd BH |
57 | <view |
58 | allowMultiple="false" | |
59 | category="org.eclipse.linuxtools.lttng.ui.views.category" | |
638eac44 | 60 | class="org.eclipse.linuxtools.internal.lttng.ui.views.latency.LatencyView" |
fbd124dd BH |
61 | icon="icons/eview16/graph.gif" |
62 | id="org.eclipse.linuxtools.lttng.ui.views.latency" | |
63 | name="%latency.view.name" | |
64 | restorable="true"> | |
65 | </view> | |
6e512b93 ASL |
66 | </extension> |
67 | <extension | |
6e512b93 ASL |
68 | point="org.eclipse.ui.newWizards"> |
69 | <category | |
70 | id="org.eclipse.linuxtools.lttng.ui.wizards.new" | |
b9763f53 | 71 | name="%wizard.category.name"> |
6e512b93 ASL |
72 | </category> |
73 | <wizard | |
74 | category="org.eclipse.linuxtools.lttng.ui.wizards.new" | |
638eac44 | 75 | class="org.eclipse.linuxtools.internal.lttng.ui.project.dialogs.NewLTTngProjectWizard" |
e8d771d5 | 76 | descriptionImage="icons/obj16/garland16.png" |
6e512b93 | 77 | finalPerspective="org.eclipse.linuxtools.lttng.ui.perspective" |
e8d771d5 | 78 | icon="icons/obj16/garland16.png" |
6e512b93 | 79 | id="org.eclipse.linuxtools.lttng.ui.views.ui.wizards.newProject" |
b9763f53 | 80 | name="%project.new.wizard.name" |
6e512b93 ASL |
81 | project="true"> |
82 | <description> | |
b9763f53 | 83 | %project.new.wizard.description |
6e512b93 ASL |
84 | </description> |
85 | </wizard> | |
86 | </extension> | |
87 | <extension | |
12c155f5 | 88 | id="org.eclipse.linuxtools.lttng.LTTngProjectNature" |
5e7ce884 FC |
89 | point="org.eclipse.core.resources.natures"> |
90 | <runtime> | |
91 | <run | |
0977b009 | 92 | class="org.eclipse.linuxtools.internal.lttng.core.LTTngProjectNature"> |
5e7ce884 FC |
93 | </run> |
94 | </runtime> | |
95 | </extension> | |
96 | <extension | |
2fbfb67b | 97 | id="org.eclipse.linuxtools.lttng.ui.actionSets" |
5e7ce884 FC |
98 | point="org.eclipse.ui.actionSets"> |
99 | <actionSet | |
b9763f53 | 100 | description="%action.set.description" |
2fbfb67b | 101 | id="org.eclipse.linuxtools.lttng.ui.actionSet" |
b9763f53 | 102 | label="%action.set.label" |
2fbfb67b | 103 | visible="true"> |
5e7ce884 FC |
104 | </actionSet> |
105 | </extension> | |
6e512b93 | 106 | |
e8d771d5 BH |
107 | <!-- ======================================= --> |
108 | <!-- SubSystem Configuration --> | |
109 | <!-- ======================================= --> | |
110 | <extension point="org.eclipse.rse.core.subsystemConfigurations"> | |
111 | <configuration | |
112 | category="users" | |
ae5e0fbf | 113 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.subsystems.TraceSubSystemConfiguration" |
e8d771d5 BH |
114 | description="%lttng.rse.subsystem.config.description" |
115 | icon="icons/obj16/garland16.gif" | |
116 | iconlive="icons/obj16/garland16-live.gif" | |
ae5e0fbf | 117 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.subsystems.TraceSubSystemConfiguration" |
e8d771d5 BH |
118 | name="%lttng.rse.subsystem.config.name" |
119 | systemTypeIds="org.eclipse.tm.tcf.rse.systemType" | |
120 | vendor="%Bundle-Vendor"> | |
121 | </configuration> | |
122 | </extension> | |
123 | ||
124 | <!-- ======================================= --> | |
125 | <!-- SubSystem Type Description --> | |
126 | <!-- ======================================= --> | |
127 | <extension | |
128 | point="org.eclipse.rse.core.systemTypes"> | |
129 | <systemType | |
130 | description="%lttng.rse.subsystem.type.description" | |
131 | icon="icons/obj16/systemlttng.gif" | |
132 | iconLive="icons/obj16/systemlttng-live.gif" | |
ae5e0fbf | 133 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.systemType" |
e8d771d5 | 134 | label="%lttng.rse.subsystem.type.name" |
ae5e0fbf FC |
135 | name="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.systemType" |
136 | subsystemConfigurationIds="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.subsystems.TraceSubSystemConfiguration;org.eclipse.tm.tcf.rse.Processes;org.eclipse.tm.tcf.rse.Shells;org.eclipse.tm.tcf.rse.Files;org.eclipse.tm.tcf.rse.Terminals"> | |
e8d771d5 BH |
137 | </systemType> |
138 | </extension> | |
139 | ||
140 | <!-- ======================================= --> | |
141 | <!-- Remote Object Popup Menu Actions --> | |
142 | <!-- ======================================= --> | |
143 | <extension point="org.eclipse.ui.popupMenus"> | |
144 | <objectContribution | |
ae5e0fbf | 145 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.deletetrace" |
5945cec9 | 146 | objectClass="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
e8d771d5 | 147 | <action |
638eac44 | 148 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.DeleteTrace" |
e8d771d5 BH |
149 | enablesFor="*" |
150 | icon="icons/elcl16/delete_trace.gif" | |
151 | id="actions.trace.delete" | |
152 | label="%action.delete.label" | |
153 | menubarPath="additions" | |
154 | tooltip="%action.delete.tooltip"> | |
155 | <enablement> | |
156 | <and> | |
157 | <objectClass | |
5945cec9 | 158 | name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
e8d771d5 BH |
159 | </objectClass> |
160 | <objectState | |
161 | name="canDelete" | |
162 | value="yes"> | |
163 | </objectState> | |
164 | </and> | |
165 | </enablement> | |
166 | </action> | |
167 | </objectContribution> | |
168 | <objectContribution | |
169 | adaptable="false" | |
ae5e0fbf | 170 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.importtrace" |
5945cec9 | 171 | objectClass="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
e8d771d5 | 172 | <action |
638eac44 | 173 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.ImportToProject" |
e8d771d5 BH |
174 | enablesFor="*" |
175 | icon="icons/elcl16/import_trace.gif" | |
ae5e0fbf | 176 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.action1" |
e8d771d5 BH |
177 | label="%action.import.label" |
178 | menubarPath="additions" | |
179 | tooltip="%action.import.tooltip"> | |
180 | <enablement> | |
181 | <and> | |
182 | <objectClass | |
5945cec9 | 183 | name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
e8d771d5 BH |
184 | </objectClass> |
185 | <objectState | |
186 | name="canImport" | |
187 | value="yes"> | |
188 | </objectState> | |
189 | </and> | |
190 | </enablement> | |
191 | </action> | |
192 | </objectContribution> | |
193 | <objectContribution | |
ae5e0fbf | 194 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.createnewtrace" |
5945cec9 | 195 | objectClass="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TargetResource"> |
e8d771d5 BH |
196 | <action |
197 | label="%action.newtrace.label" | |
198 | tooltip="%action.newtrace.tooltip" | |
199 | icon="icons/elcl16/new_trace.gif" | |
638eac44 | 200 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.CreateNewTrace" |
e8d771d5 BH |
201 | menubarPath="additions" |
202 | enablesFor="1" | |
203 | id="actions.trace.new"> | |
204 | <enablement> | |
205 | <and> | |
5945cec9 | 206 | <objectClass name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TargetResource"/> |
e8d771d5 BH |
207 | <objectState name="canCreateNewTrace" value="yes"/> |
208 | </and> | |
209 | </enablement> | |
210 | </action> | |
211 | </objectContribution> | |
212 | <objectContribution | |
5945cec9 FC |
213 | objectClass="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource" |
214 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.configuretrace"> | |
e8d771d5 BH |
215 | <action |
216 | label="%action.configuretrace.label" | |
217 | tooltip="%action.configuretrace.tooltip" | |
218 | icon="icons/elcl16/configure_trace.gif" | |
638eac44 | 219 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.ConfigureTrace" |
e8d771d5 BH |
220 | menubarPath="additions" |
221 | enablesFor="1" | |
222 | id="actions.trace.configure"> | |
223 | <enablement> | |
224 | <and> | |
5945cec9 | 225 | <objectClass name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"/> |
e8d771d5 BH |
226 | <objectState name="canConfigure" value="yes"/> |
227 | </and> | |
228 | </enablement> | |
229 | </action> | |
230 | </objectContribution> | |
231 | <objectContribution | |
ae5e0fbf | 232 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.stoptrace" |
5945cec9 | 233 | objectClass="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
e8d771d5 | 234 | <action |
638eac44 | 235 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.StopTrace" |
e8d771d5 BH |
236 | enablesFor="*" |
237 | icon="icons/elcl16/stop_trace.gif" | |
238 | id="actions.trace.stop" | |
239 | label="%action.stop.label" | |
240 | menubarPath="additions" | |
241 | tooltip="%action.stop.tooltip"> | |
242 | <enablement> | |
243 | <and> | |
244 | <objectClass | |
5945cec9 | 245 | name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
e8d771d5 BH |
246 | </objectClass> |
247 | <objectState | |
248 | name="canStop" | |
249 | value="yes"> | |
250 | </objectState> | |
251 | </and> | |
252 | </enablement> | |
253 | </action> | |
254 | </objectContribution> | |
255 | <objectContribution | |
ae5e0fbf | 256 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.pausetrace" |
5945cec9 | 257 | objectClass="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
e8d771d5 | 258 | <action |
638eac44 | 259 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.PauseTrace" |
e8d771d5 BH |
260 | enablesFor="*" |
261 | icon="icons/elcl16/pause_trace.gif" | |
262 | id="actions.trace.pause" | |
263 | label="%action.pause.label" | |
264 | menubarPath="additions" | |
1b70b6dc | 265 | tooltip="%action.pause.tooltip"> |
e8d771d5 BH |
266 | <enablement> |
267 | <and> | |
268 | <objectClass | |
5945cec9 | 269 | name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
e8d771d5 BH |
270 | </objectClass> |
271 | <objectState | |
272 | name="canPause" | |
273 | value="yes"> | |
274 | </objectState> | |
275 | </and> | |
276 | </enablement> | |
277 | </action> | |
278 | </objectContribution> | |
279 | <objectContribution | |
5945cec9 | 280 | objectClass="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource" |
ae5e0fbf | 281 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.starttrace"> |
e8d771d5 | 282 | <action |
638eac44 | 283 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.StartTrace" |
e8d771d5 BH |
284 | enablesFor="*" |
285 | icon="icons/elcl16/start_trace.gif" | |
286 | id="actions.trace.start" | |
287 | label="%action.start.label" | |
288 | menubarPath="additions" | |
289 | tooltip="%action.start.tooltip"> | |
290 | <enablement> | |
291 | <and> | |
5945cec9 | 292 | <objectClass name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"/> |
e8d771d5 BH |
293 | <objectState name="canStart" value="yes"/> |
294 | </and> | |
295 | </enablement> | |
296 | </action> | |
297 | </objectContribution> | |
298 | ||
299 | <objectContribution | |
5945cec9 | 300 | objectClass="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TargetResource" |
ae5e0fbf | 301 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.configuremarkers"> |
e8d771d5 BH |
302 | <action |
303 | label="%action.configuremarkers.label" | |
304 | tooltip="%action.configuremarkers.tooltip" | |
305 | icon="icons/elcl16/configure_markers.gif" | |
638eac44 | 306 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.ConfigureMarkers" |
e8d771d5 BH |
307 | menubarPath="additions" |
308 | enablesFor="1" | |
309 | id="actions.markers.configure"> | |
310 | </action> | |
311 | </objectContribution> | |
312 | ||
313 | </extension> | |
314 | ||
315 | <!-- ======================================= --> | |
316 | <!-- Remote System View Contributions --> | |
317 | <!-- ======================================= --> | |
318 | <extension | |
319 | point="org.eclipse.ui.viewActions"> | |
320 | ||
321 | ||
322 | <viewContribution | |
ae5e0fbf | 323 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.viewContribution.stop" |
e8d771d5 BH |
324 | targetID="org.eclipse.rse.ui.view.systemView"> |
325 | <action | |
638eac44 | 326 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.StopTrace" |
e8d771d5 BH |
327 | enablesFor="*" |
328 | icon="icons/elcl16/stop_trace.gif" | |
329 | id="actions.trace.stop" | |
330 | label="%action.stop.label" | |
331 | menubarPath="additions" | |
332 | style="push" | |
333 | toolbarPath="additions" | |
334 | tooltip="%action.stop.tooltip"> | |
335 | <enablement> | |
336 | <and> | |
337 | <objectClass | |
5945cec9 | 338 | name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
e8d771d5 BH |
339 | </objectClass> |
340 | <objectState | |
341 | name="canStop" | |
342 | value="yes"> | |
343 | </objectState> | |
344 | </and> | |
345 | </enablement> | |
346 | </action> | |
347 | </viewContribution> | |
348 | ||
349 | <viewContribution | |
ae5e0fbf | 350 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.viewContribution.pause" |
e8d771d5 BH |
351 | targetID="org.eclipse.rse.ui.view.systemView"> |
352 | <action | |
638eac44 | 353 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.PauseTrace" |
e8d771d5 BH |
354 | enablesFor="*" |
355 | icon="icons/elcl16/pause_trace.gif" | |
356 | id="actions.trace.pause" | |
357 | label="%action.pause.label" | |
358 | menubarPath="additions" | |
359 | style="push" | |
360 | toolbarPath="additions" | |
361 | tooltip="%action.pause.tooltip"> | |
362 | <enablement> | |
363 | <and> | |
364 | <objectClass | |
5945cec9 | 365 | name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
e8d771d5 BH |
366 | </objectClass> |
367 | <objectState | |
368 | name="canPause" | |
369 | value="yes"> | |
370 | </objectState> | |
371 | </and> | |
372 | </enablement> | |
373 | </action> | |
374 | </viewContribution> | |
375 | ||
376 | <viewContribution | |
ae5e0fbf | 377 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.viewContribution.start" |
e8d771d5 BH |
378 | targetID="org.eclipse.rse.ui.view.systemView"> |
379 | <action | |
638eac44 | 380 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.StartTrace" |
e8d771d5 BH |
381 | enablesFor="*" |
382 | icon="icons/elcl16/start_trace.gif" | |
383 | id="actions.trace.start" | |
384 | label="%action.start.label" | |
385 | menubarPath="additions" | |
386 | style="push" | |
387 | toolbarPath="additions" | |
388 | tooltip="%action.start.tooltip"> | |
389 | <enablement> | |
390 | <and> | |
391 | <objectClass | |
5945cec9 | 392 | name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
e8d771d5 BH |
393 | </objectClass> |
394 | <objectState | |
395 | name="canStart" | |
396 | value="yes"> | |
397 | </objectState> | |
398 | </and> | |
399 | </enablement> | |
400 | </action> | |
401 | </viewContribution> | |
402 | ||
403 | </extension> | |
a3767fd9 FC |
404 | <extension |
405 | point="org.eclipse.ui.propertyPages"> | |
406 | <page | |
638eac44 | 407 | class="org.eclipse.linuxtools.internal.lttng.ui.project.dialogs.TraceLibraryPathPropertyPage" |
a3767fd9 FC |
408 | id="org.eclipse.linuxtools.lttng.ui.propertyPage.libPath" |
409 | name="%project.propertyPage.tracelibPath"> | |
410 | <filter name="nature" | |
12c155f5 | 411 | value="org.eclipse.linuxtools.lttng.LTTngProjectNature" /> |
a3767fd9 FC |
412 | <enabledWhen> |
413 | <adapt type="org.eclipse.core.resources.IProject"> | |
414 | </adapt> | |
415 | </enabledWhen> | |
416 | </page> | |
417 | </extension> | |
e8d771d5 | 418 | |
12c155f5 FC |
419 | <extension |
420 | point="org.eclipse.linuxtools.tmf.tracetype"> | |
421 | <category | |
422 | id="org.eclipse.linuxtools.lttng.ui.category.lttng" | |
423 | name="%tracetype.category.lttng"> | |
424 | </category> | |
425 | <type | |
426 | category="org.eclipse.linuxtools.lttng.ui.category.lttng" | |
5945cec9 | 427 | event_type="org.eclipse.linuxtools.internal.lttng.core.event.LttngEvent" |
9501fb58 | 428 | icon="icons/obj16/tux2.png" |
12c155f5 FC |
429 | id="org.eclipse.linuxtools.lttng.tracetype.kernel" |
430 | name="%tracetype.type.kernel" | |
5945cec9 | 431 | trace_type="org.eclipse.linuxtools.internal.lttng.core.trace.LTTngTrace"> |
828e5592 | 432 | <eventsTableType |
638eac44 | 433 | class="org.eclipse.linuxtools.internal.lttng.ui.views.events.EventsTable"> |
828e5592 | 434 | </eventsTableType> |
12c155f5 FC |
435 | </type> |
436 | </extension> | |
437 | ||
6e512b93 | 438 | </plugin> |