| 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.timeframe.TimeFrameView" |
| 25 | icon="icons/eview16/time_frame_view.gif" |
| 26 | id="org.eclipse.linuxtools.lttng.ui.views.timeframe" |
| 27 | name="%timeframe.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.controlflow.ControlFlowView" |
| 34 | icon="icons/eview16/control_flow_view.gif" |
| 35 | id="org.eclipse.linuxtools.lttng.ui.views.controlflow" |
| 36 | name="%controlflow.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.resources.ResourcesView" |
| 43 | icon="icons/eview16/resources_view.gif" |
| 44 | id="org.eclipse.linuxtools.lttng.ui.views.resources" |
| 45 | name="%resources.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.statistics.StatisticsView" |
| 52 | icon="icons/eview16/statistics_view.gif" |
| 53 | id="org.eclipse.linuxtools.lttng.ui.views.statistics" |
| 54 | name="%statistics.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.latency.LatencyView" |
| 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> |
| 66 | </extension> |
| 67 | <extension |
| 68 | point="org.eclipse.ui.newWizards"> |
| 69 | <wizard |
| 70 | category="org.eclipse.linuxtools.tmf.ui.wizards.new" |
| 71 | class="org.eclipse.linuxtools.internal.lttng.ui.project.dialogs.NewLTTngProjectWizard" |
| 72 | descriptionImage="icons/obj16/garland16.png" |
| 73 | finalPerspective="org.eclipse.linuxtools.lttng.ui.perspective" |
| 74 | icon="icons/obj16/garland16.png" |
| 75 | id="org.eclipse.linuxtools.lttng.ui.views.ui.wizards.newProject" |
| 76 | name="%project.new.wizard.name" |
| 77 | project="true"> |
| 78 | <description> |
| 79 | %project.new.wizard.description |
| 80 | </description> |
| 81 | </wizard> |
| 82 | </extension> |
| 83 | <extension |
| 84 | id="org.eclipse.linuxtools.lttng.LTTngProjectNature" |
| 85 | point="org.eclipse.core.resources.natures"> |
| 86 | <runtime> |
| 87 | <run |
| 88 | class="org.eclipse.linuxtools.internal.lttng.core.LTTngProjectNature"> |
| 89 | </run> |
| 90 | </runtime> |
| 91 | </extension> |
| 92 | <extension |
| 93 | id="org.eclipse.linuxtools.lttng.ui.actionSets" |
| 94 | point="org.eclipse.ui.actionSets"> |
| 95 | <actionSet |
| 96 | description="%action.set.description" |
| 97 | id="org.eclipse.linuxtools.lttng.ui.actionSet" |
| 98 | label="%action.set.label" |
| 99 | visible="true"> |
| 100 | </actionSet> |
| 101 | </extension> |
| 102 | |
| 103 | <!-- ======================================= --> |
| 104 | <!-- SubSystem Configuration --> |
| 105 | <!-- ======================================= --> |
| 106 | <extension point="org.eclipse.rse.core.subsystemConfigurations"> |
| 107 | <configuration |
| 108 | category="users" |
| 109 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.subsystems.TraceSubSystemConfiguration" |
| 110 | description="%lttng.rse.subsystem.config.description" |
| 111 | icon="icons/obj16/garland16.gif" |
| 112 | iconlive="icons/obj16/garland16-live.gif" |
| 113 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.subsystems.TraceSubSystemConfiguration" |
| 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" |
| 129 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.systemType" |
| 130 | label="%lttng.rse.subsystem.type.name" |
| 131 | name="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.systemType" |
| 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"> |
| 133 | </systemType> |
| 134 | </extension> |
| 135 | |
| 136 | <!-- ======================================= --> |
| 137 | <!-- Remote Object Popup Menu Actions --> |
| 138 | <!-- ======================================= --> |
| 139 | <extension point="org.eclipse.ui.popupMenus"> |
| 140 | <objectContribution |
| 141 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.deletetrace" |
| 142 | objectClass="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
| 143 | <action |
| 144 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.DeleteTrace" |
| 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 |
| 154 | name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
| 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" |
| 166 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.importtrace" |
| 167 | objectClass="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
| 168 | <action |
| 169 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.ImportToProject" |
| 170 | enablesFor="*" |
| 171 | icon="icons/elcl16/import_trace.gif" |
| 172 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.action1" |
| 173 | label="%action.import.label" |
| 174 | menubarPath="additions" |
| 175 | tooltip="%action.import.tooltip"> |
| 176 | <enablement> |
| 177 | <and> |
| 178 | <objectClass |
| 179 | name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
| 180 | </objectClass> |
| 181 | <objectState |
| 182 | name="canImport" |
| 183 | value="yes"> |
| 184 | </objectState> |
| 185 | </and> |
| 186 | </enablement> |
| 187 | </action> |
| 188 | </objectContribution> |
| 189 | <objectContribution |
| 190 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.createnewtrace" |
| 191 | objectClass="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TargetResource"> |
| 192 | <action |
| 193 | label="%action.newtrace.label" |
| 194 | tooltip="%action.newtrace.tooltip" |
| 195 | icon="icons/elcl16/new_trace.gif" |
| 196 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.CreateNewTrace" |
| 197 | menubarPath="additions" |
| 198 | enablesFor="1" |
| 199 | id="actions.trace.new"> |
| 200 | <enablement> |
| 201 | <and> |
| 202 | <objectClass name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TargetResource"/> |
| 203 | <objectState name="canCreateNewTrace" value="yes"/> |
| 204 | </and> |
| 205 | </enablement> |
| 206 | </action> |
| 207 | </objectContribution> |
| 208 | <objectContribution |
| 209 | objectClass="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource" |
| 210 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.configuretrace"> |
| 211 | <action |
| 212 | label="%action.configuretrace.label" |
| 213 | tooltip="%action.configuretrace.tooltip" |
| 214 | icon="icons/elcl16/configure_trace.gif" |
| 215 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.ConfigureTrace" |
| 216 | menubarPath="additions" |
| 217 | enablesFor="1" |
| 218 | id="actions.trace.configure"> |
| 219 | <enablement> |
| 220 | <and> |
| 221 | <objectClass name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"/> |
| 222 | <objectState name="canConfigure" value="yes"/> |
| 223 | </and> |
| 224 | </enablement> |
| 225 | </action> |
| 226 | </objectContribution> |
| 227 | <objectContribution |
| 228 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.stoptrace" |
| 229 | objectClass="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
| 230 | <action |
| 231 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.StopTrace" |
| 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 |
| 241 | name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
| 242 | </objectClass> |
| 243 | <objectState |
| 244 | name="canStop" |
| 245 | value="yes"> |
| 246 | </objectState> |
| 247 | </and> |
| 248 | </enablement> |
| 249 | </action> |
| 250 | </objectContribution> |
| 251 | <objectContribution |
| 252 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.pausetrace" |
| 253 | objectClass="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
| 254 | <action |
| 255 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.PauseTrace" |
| 256 | enablesFor="*" |
| 257 | icon="icons/elcl16/pause_trace.gif" |
| 258 | id="actions.trace.pause" |
| 259 | label="%action.pause.label" |
| 260 | menubarPath="additions" |
| 261 | tooltip="%action.pause.tooltip"> |
| 262 | <enablement> |
| 263 | <and> |
| 264 | <objectClass |
| 265 | name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
| 266 | </objectClass> |
| 267 | <objectState |
| 268 | name="canPause" |
| 269 | value="yes"> |
| 270 | </objectState> |
| 271 | </and> |
| 272 | </enablement> |
| 273 | </action> |
| 274 | </objectContribution> |
| 275 | <objectContribution |
| 276 | objectClass="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource" |
| 277 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.starttrace"> |
| 278 | <action |
| 279 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.StartTrace" |
| 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> |
| 288 | <objectClass name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"/> |
| 289 | <objectState name="canStart" value="yes"/> |
| 290 | </and> |
| 291 | </enablement> |
| 292 | </action> |
| 293 | </objectContribution> |
| 294 | |
| 295 | <objectContribution |
| 296 | objectClass="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TargetResource" |
| 297 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.configuremarkers"> |
| 298 | <action |
| 299 | label="%action.configuremarkers.label" |
| 300 | tooltip="%action.configuremarkers.tooltip" |
| 301 | icon="icons/elcl16/configure_markers.gif" |
| 302 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.ConfigureMarkers" |
| 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 |
| 319 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.viewContribution.stop" |
| 320 | targetID="org.eclipse.rse.ui.view.systemView"> |
| 321 | <action |
| 322 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.StopTrace" |
| 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 |
| 334 | name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
| 335 | </objectClass> |
| 336 | <objectState |
| 337 | name="canStop" |
| 338 | value="yes"> |
| 339 | </objectState> |
| 340 | </and> |
| 341 | </enablement> |
| 342 | </action> |
| 343 | </viewContribution> |
| 344 | |
| 345 | <viewContribution |
| 346 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.viewContribution.pause" |
| 347 | targetID="org.eclipse.rse.ui.view.systemView"> |
| 348 | <action |
| 349 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.PauseTrace" |
| 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 |
| 361 | name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
| 362 | </objectClass> |
| 363 | <objectState |
| 364 | name="canPause" |
| 365 | value="yes"> |
| 366 | </objectState> |
| 367 | </and> |
| 368 | </enablement> |
| 369 | </action> |
| 370 | </viewContribution> |
| 371 | |
| 372 | <viewContribution |
| 373 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.viewContribution.start" |
| 374 | targetID="org.eclipse.rse.ui.view.systemView"> |
| 375 | <action |
| 376 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.StartTrace" |
| 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 |
| 388 | name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
| 389 | </objectClass> |
| 390 | <objectState |
| 391 | name="canStart" |
| 392 | value="yes"> |
| 393 | </objectState> |
| 394 | </and> |
| 395 | </enablement> |
| 396 | </action> |
| 397 | </viewContribution> |
| 398 | |
| 399 | </extension> |
| 400 | <extension |
| 401 | point="org.eclipse.ui.propertyPages"> |
| 402 | <page |
| 403 | class="org.eclipse.linuxtools.internal.lttng.ui.project.dialogs.TraceLibraryPathPropertyPage" |
| 404 | id="org.eclipse.linuxtools.lttng.ui.propertyPage.libPath" |
| 405 | name="%project.propertyPage.tracelibPath"> |
| 406 | <filter name="nature" |
| 407 | value="org.eclipse.linuxtools.lttng.LTTngProjectNature" /> |
| 408 | <enabledWhen> |
| 409 | <adapt type="org.eclipse.core.resources.IProject"> |
| 410 | </adapt> |
| 411 | </enabledWhen> |
| 412 | </page> |
| 413 | </extension> |
| 414 | |
| 415 | <extension |
| 416 | point="org.eclipse.linuxtools.tmf.ui.tracetype"> |
| 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" |
| 423 | event_type="org.eclipse.linuxtools.internal.lttng.core.event.LttngEvent" |
| 424 | icon="icons/obj16/tux2.png" |
| 425 | id="org.eclipse.linuxtools.lttng.tracetype.kernel" |
| 426 | name="%tracetype.type.kernel" |
| 427 | trace_type="org.eclipse.linuxtools.internal.lttng.core.trace.LTTngTrace"> |
| 428 | <eventsTableType |
| 429 | class="org.eclipse.linuxtools.internal.lttng.ui.views.events.EventsTable"> |
| 430 | </eventsTableType> |
| 431 | </type> |
| 432 | </extension> |
| 433 | |
| 434 | </plugin> |