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