aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamilo Bernal2013-02-25 12:16:29 (EST)
committerRoland Grunberg2013-02-26 12:05:58 (EST)
commit6c350dc39846aa12e3d9d6424739de434f29b352 (patch)
treeda2570f3c20ba340369532cc2ee718584e3b89ec
parent0dfecf7c902e7ada46d998d76a9998bf1f81c901 (diff)
downloadorg.eclipse.linuxtools-6c350dc39846aa12e3d9d6424739de434f29b352.zip
org.eclipse.linuxtools-6c350dc39846aa12e3d9d6424739de434f29b352.tar.gz
org.eclipse.linuxtools-6c350dc39846aa12e3d9d6424739de434f29b352.tar.bz2
Create perf save session command extension.refs/changes/25/10625/4
This allows for referencing of the commandId field in the menu contribution extension. Change-Id: Icabd1ec1e5cd3b080eeaffe29fbbee32ada14cbf Reviewed-on: https://git.eclipse.org/r/10625 Tested-by: Hudson CI Reviewed-by: Roland Grunberg <rgrunber@redhat.com> IP-Clean: Roland Grunberg <rgrunber@redhat.com> Tested-by: Roland Grunberg <rgrunber@redhat.com>
-rw-r--r--perf/org.eclipse.linuxtools.perf/plugin.xml11
1 files changed, 6 insertions, 5 deletions
diff --git a/perf/org.eclipse.linuxtools.perf/plugin.xml b/perf/org.eclipse.linuxtools.perf/plugin.xml
index e4303fc..03d437a 100644
--- a/perf/org.eclipse.linuxtools.perf/plugin.xml
+++ b/perf/org.eclipse.linuxtools.perf/plugin.xml
@@ -168,10 +168,11 @@
</menuContribution>
</extension>
<extension
- point="org.eclipse.ui.handlers">
- <handler
- class="org.eclipse.linuxtools.internal.perf.ui.PerfSaveSessionHandler"
- commandId="org.eclipse.linuxtools.perf.SaveData">
- </handler>
+ point="org.eclipse.ui.commands">
+ <command
+ defaultHandler="org.eclipse.linuxtools.internal.perf.ui.PerfSaveSessionHandler"
+ id="org.eclipse.linuxtools.perf.SaveData"
+ name="Save Current Session">
+ </command>
</extension>
</plugin>