| 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 | <category |
| 70 | id="org.eclipse.linuxtools.lttng.ui.wizards.new" |
| 71 | name="%wizard.category.name"> |
| 72 | </category> |
| 73 | <wizard |
| 74 | category="org.eclipse.linuxtools.lttng.ui.wizards.new" |
| 75 | class="org.eclipse.linuxtools.internal.lttng.ui.project.dialogs.NewLTTngProjectWizard" |
| 76 | descriptionImage="icons/obj16/garland16.png" |
| 77 | finalPerspective="org.eclipse.linuxtools.lttng.ui.perspective" |
| 78 | icon="icons/obj16/garland16.png" |
| 79 | id="org.eclipse.linuxtools.lttng.ui.views.ui.wizards.newProject" |
| 80 | name="%project.new.wizard.name" |
| 81 | project="true"> |
| 82 | <description> |
| 83 | %project.new.wizard.description |
| 84 | </description> |
| 85 | </wizard> |
| 86 | </extension> |
| 87 | <extension |
| 88 | id="org.eclipse.linuxtools.lttng.LTTngProjectNature" |
| 89 | point="org.eclipse.core.resources.natures"> |
| 90 | <runtime> |
| 91 | <run |
| 92 | class="org.eclipse.linuxtools.internal.lttng.core.LTTngProjectNature"> |
| 93 | </run> |
| 94 | </runtime> |
| 95 | </extension> |
| 96 | <extension |
| 97 | id="org.eclipse.linuxtools.lttng.ui.actionSets" |
| 98 | point="org.eclipse.ui.actionSets"> |
| 99 | <actionSet |
| 100 | description="%action.set.description" |
| 101 | id="org.eclipse.linuxtools.lttng.ui.actionSet" |
| 102 | label="%action.set.label" |
| 103 | visible="true"> |
| 104 | </actionSet> |
| 105 | </extension> |
| 106 | |
| 107 | <!-- ======================================= --> |
| 108 | <!-- SubSystem Configuration --> |
| 109 | <!-- ======================================= --> |
| 110 | <extension point="org.eclipse.rse.core.subsystemConfigurations"> |
| 111 | <configuration |
| 112 | category="users" |
| 113 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.subsystems.TraceSubSystemConfiguration" |
| 114 | description="%lttng.rse.subsystem.config.description" |
| 115 | icon="icons/obj16/garland16.gif" |
| 116 | iconlive="icons/obj16/garland16-live.gif" |
| 117 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.subsystems.TraceSubSystemConfiguration" |
| 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" |
| 133 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.systemType" |
| 134 | label="%lttng.rse.subsystem.type.name" |
| 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"> |
| 137 | </systemType> |
| 138 | </extension> |
| 139 | |
| 140 | <!-- ======================================= --> |
| 141 | <!-- Remote Object Popup Menu Actions --> |
| 142 | <!-- ======================================= --> |
| 143 | <extension point="org.eclipse.ui.popupMenus"> |
| 144 | <objectContribution |
| 145 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.deletetrace" |
| 146 | objectClass="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
| 147 | <action |
| 148 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.DeleteTrace" |
| 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 |
| 158 | name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
| 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" |
| 170 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.importtrace" |
| 171 | objectClass="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
| 172 | <action |
| 173 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.ImportToProject" |
| 174 | enablesFor="*" |
| 175 | icon="icons/elcl16/import_trace.gif" |
| 176 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.action1" |
| 177 | label="%action.import.label" |
| 178 | menubarPath="additions" |
| 179 | tooltip="%action.import.tooltip"> |
| 180 | <enablement> |
| 181 | <and> |
| 182 | <objectClass |
| 183 | name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
| 184 | </objectClass> |
| 185 | <objectState |
| 186 | name="canImport" |
| 187 | value="yes"> |
| 188 | </objectState> |
| 189 | </and> |
| 190 | </enablement> |
| 191 | </action> |
| 192 | </objectContribution> |
| 193 | <objectContribution |
| 194 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.createnewtrace" |
| 195 | objectClass="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TargetResource"> |
| 196 | <action |
| 197 | label="%action.newtrace.label" |
| 198 | tooltip="%action.newtrace.tooltip" |
| 199 | icon="icons/elcl16/new_trace.gif" |
| 200 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.CreateNewTrace" |
| 201 | menubarPath="additions" |
| 202 | enablesFor="1" |
| 203 | id="actions.trace.new"> |
| 204 | <enablement> |
| 205 | <and> |
| 206 | <objectClass name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TargetResource"/> |
| 207 | <objectState name="canCreateNewTrace" value="yes"/> |
| 208 | </and> |
| 209 | </enablement> |
| 210 | </action> |
| 211 | </objectContribution> |
| 212 | <objectContribution |
| 213 | objectClass="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource" |
| 214 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.configuretrace"> |
| 215 | <action |
| 216 | label="%action.configuretrace.label" |
| 217 | tooltip="%action.configuretrace.tooltip" |
| 218 | icon="icons/elcl16/configure_trace.gif" |
| 219 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.ConfigureTrace" |
| 220 | menubarPath="additions" |
| 221 | enablesFor="1" |
| 222 | id="actions.trace.configure"> |
| 223 | <enablement> |
| 224 | <and> |
| 225 | <objectClass name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"/> |
| 226 | <objectState name="canConfigure" value="yes"/> |
| 227 | </and> |
| 228 | </enablement> |
| 229 | </action> |
| 230 | </objectContribution> |
| 231 | <objectContribution |
| 232 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.stoptrace" |
| 233 | objectClass="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
| 234 | <action |
| 235 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.StopTrace" |
| 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 |
| 245 | name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
| 246 | </objectClass> |
| 247 | <objectState |
| 248 | name="canStop" |
| 249 | value="yes"> |
| 250 | </objectState> |
| 251 | </and> |
| 252 | </enablement> |
| 253 | </action> |
| 254 | </objectContribution> |
| 255 | <objectContribution |
| 256 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.pausetrace" |
| 257 | objectClass="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
| 258 | <action |
| 259 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.PauseTrace" |
| 260 | enablesFor="*" |
| 261 | icon="icons/elcl16/pause_trace.gif" |
| 262 | id="actions.trace.pause" |
| 263 | label="%action.pause.label" |
| 264 | menubarPath="additions" |
| 265 | tooltip="%action.pause.tooltip"> |
| 266 | <enablement> |
| 267 | <and> |
| 268 | <objectClass |
| 269 | name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
| 270 | </objectClass> |
| 271 | <objectState |
| 272 | name="canPause" |
| 273 | value="yes"> |
| 274 | </objectState> |
| 275 | </and> |
| 276 | </enablement> |
| 277 | </action> |
| 278 | </objectContribution> |
| 279 | <objectContribution |
| 280 | objectClass="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource" |
| 281 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.starttrace"> |
| 282 | <action |
| 283 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.StartTrace" |
| 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> |
| 292 | <objectClass name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"/> |
| 293 | <objectState name="canStart" value="yes"/> |
| 294 | </and> |
| 295 | </enablement> |
| 296 | </action> |
| 297 | </objectContribution> |
| 298 | |
| 299 | <objectContribution |
| 300 | objectClass="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TargetResource" |
| 301 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.configuremarkers"> |
| 302 | <action |
| 303 | label="%action.configuremarkers.label" |
| 304 | tooltip="%action.configuremarkers.tooltip" |
| 305 | icon="icons/elcl16/configure_markers.gif" |
| 306 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.ConfigureMarkers" |
| 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 |
| 323 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.viewContribution.stop" |
| 324 | targetID="org.eclipse.rse.ui.view.systemView"> |
| 325 | <action |
| 326 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.StopTrace" |
| 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 |
| 338 | name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
| 339 | </objectClass> |
| 340 | <objectState |
| 341 | name="canStop" |
| 342 | value="yes"> |
| 343 | </objectState> |
| 344 | </and> |
| 345 | </enablement> |
| 346 | </action> |
| 347 | </viewContribution> |
| 348 | |
| 349 | <viewContribution |
| 350 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.viewContribution.pause" |
| 351 | targetID="org.eclipse.rse.ui.view.systemView"> |
| 352 | <action |
| 353 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.PauseTrace" |
| 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 |
| 365 | name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
| 366 | </objectClass> |
| 367 | <objectState |
| 368 | name="canPause" |
| 369 | value="yes"> |
| 370 | </objectState> |
| 371 | </and> |
| 372 | </enablement> |
| 373 | </action> |
| 374 | </viewContribution> |
| 375 | |
| 376 | <viewContribution |
| 377 | id="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.viewContribution.start" |
| 378 | targetID="org.eclipse.rse.ui.view.systemView"> |
| 379 | <action |
| 380 | class="org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.actions.StartTrace" |
| 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 |
| 392 | name="org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResource"> |
| 393 | </objectClass> |
| 394 | <objectState |
| 395 | name="canStart" |
| 396 | value="yes"> |
| 397 | </objectState> |
| 398 | </and> |
| 399 | </enablement> |
| 400 | </action> |
| 401 | </viewContribution> |
| 402 | |
| 403 | </extension> |
| 404 | <extension |
| 405 | point="org.eclipse.ui.propertyPages"> |
| 406 | <page |
| 407 | class="org.eclipse.linuxtools.internal.lttng.ui.project.dialogs.TraceLibraryPathPropertyPage" |
| 408 | id="org.eclipse.linuxtools.lttng.ui.propertyPage.libPath" |
| 409 | name="%project.propertyPage.tracelibPath"> |
| 410 | <filter name="nature" |
| 411 | value="org.eclipse.linuxtools.lttng.LTTngProjectNature" /> |
| 412 | <enabledWhen> |
| 413 | <adapt type="org.eclipse.core.resources.IProject"> |
| 414 | </adapt> |
| 415 | </enabledWhen> |
| 416 | </page> |
| 417 | </extension> |
| 418 | |
| 419 | <extension |
| 420 | point="org.eclipse.linuxtools.tmf.ui.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" |
| 427 | event_type="org.eclipse.linuxtools.internal.lttng.core.event.LttngEvent" |
| 428 | icon="icons/obj16/tux2.png" |
| 429 | id="org.eclipse.linuxtools.lttng.tracetype.kernel" |
| 430 | name="%tracetype.type.kernel" |
| 431 | trace_type="org.eclipse.linuxtools.internal.lttng.core.trace.LTTngTrace"> |
| 432 | <eventsTableType |
| 433 | class="org.eclipse.linuxtools.internal.lttng.ui.views.events.EventsTable"> |
| 434 | </eventsTableType> |
| 435 | </type> |
| 436 | </extension> |
| 437 | |
| 438 | </plugin> |