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