debuggercdi/com.nokia.cdt.debug.launch/plugin.xml
branchRCL_2_4
changeset 911 81a2e70a37d7
parent 828 17e718655d73
child 953 68b6a294ab01
--- a/debuggercdi/com.nokia.cdt.debug.launch/plugin.xml	Tue Feb 09 08:06:51 2010 -0600
+++ b/debuggercdi/com.nokia.cdt.debug.launch/plugin.xml	Tue Feb 09 15:35:02 2010 -0600
@@ -280,5 +280,41 @@
 
    <extension-point id="launchWizardExtension" name="Launch Wizard Page" schema="schema/launchWizardExtension.exsd"/>
    <extension-point id="launchCategoryExtension" name="Launch Category" schema="schema/launchCategoryExtension.exsd"/>
-
+
+   <!-- REMOVE THIS : just a hack for getting the new launch wizard into a toolbar -->
+
+   <extension
+         point="org.eclipse.ui.commands">
+      <category
+            id="com.nokia.cdt.debug.launch.commands.category"
+            name="Sample Category">
+      </category>
+      <command
+            categoryId="com.nokia.cdt.debug.launch.commands.category"
+            id="com.nokia.cdt.debug.launch.commands.sampleCommand"
+            name="Sample Command">
+      </command>
+   </extension>
+   <extension
+         point="org.eclipse.ui.handlers">
+      <handler
+            class="com.nokia.cdt.internal.debug.launch.newwizard.CommandRunLaunchWizard2"
+            commandId="com.nokia.cdt.debug.launch.commands.sampleCommand">
+      </handler>
+   </extension>
+   <extension
+         point="org.eclipse.ui.menus">
+      <menuContribution
+            locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
+         <toolbar
+               id="com.nokia.cdt.debug.launch.toolbars.sampleToolbar">
+            <command
+                  commandId="com.nokia.cdt.debug.launch.commands.sampleCommand"
+                  icon="icons/NewProjectAssist/debug.gif"
+                  id="com.nokia.cdt.debug.launch.toolbars.sampleCommand"
+                  tooltip="Show New Launch Wizard">
+            </command>
+         </toolbar>
+      </menuContribution>
+   </extension>
 </plugin>