--- a/plugins/org.symbian.tools.wrttools.product/plugin.xml Thu Sep 02 16:34:16 2010 -0700
+++ b/plugins/org.symbian.tools.wrttools.product/plugin.xml Fri Sep 03 13:25:57 2010 -0700
@@ -250,6 +250,9 @@
<showInPart
id="org.eclipse.ui.navigator.ProjectExplorer">
</showInPart>
+ <actionSet
+ id="org.symbian.tools.tmwtools.debug.core.mainActions">
+ </actionSet>
</perspectiveExtension>
<perspectiveExtension
targetID="org.eclipse.debug.ui.DebugPerspective">
@@ -260,6 +263,9 @@
id="org.symbian.tools.wrttools.mainPerspective">
</perspectiveShortcut>
<actionSet
+ id="org.symbian.tools.tmwtools.debug.core.mainActions">
+ </actionSet>
+ <actionSet
id="org.eclipse.debug.ui.breakpointActionSet">
</actionSet>
<actionSet
@@ -269,6 +275,72 @@
id="org.symbian.tools.tmwtools.debug.core.mainActions">
</actionSet>
</perspectiveExtension>
-
+ </extension>
+ <extension
+ point="org.eclipse.ui.actionSets">
+ <actionSet
+ description="Actions for Mobile Web debugging"
+ id="org.symbian.tools.tmwtools.debug.core.mainActions"
+ label="Mobile Web Debug">
+ <action
+ class="org.symbian.tools.wrttools.product.actions.DebugAction"
+ helpContextId="debug_last_action_context"
+ icon="icons/debug_exc.gif"
+ id="org.symbian.tools.tmwtools.debug.core.debug"
+ label="Debug"
+ menubarPath="org.eclipse.ui.run/relaunchGroup"
+ style="push"
+ toolbarPath="debug">
+ </action>
+ </actionSet>
+ </extension>
+ <extension
+ point="org.eclipse.ui.popupMenus">
+ <objectContribution
+ id="org.symbian.tools.tmwtools.debug.core.context"
+ objectClass="java.lang.Object">
+ <enablement>
+ <or>
+ <and>
+ <not>
+ <with
+ variable="org.eclipse.core.runtime.Platform">
+ <test
+ args="org.eclipse.debug.core"
+ property="org.eclipse.core.runtime.bundleState"
+ value="ACTIVE">
+ </test>
+ </with>
+ </not>
+ <adapt
+ type="org.eclipse.core.resources.IResource">
+ </adapt>
+ </and>
+ <and>
+ <with
+ variable="org.eclipse.core.runtime.Platform">
+ <test
+ args="org.eclipse.debug.core"
+ property="org.eclipse.core.runtime.bundleState"
+ value="ACTIVE">
+ </test>
+ </with>
+ <test
+ property="org.eclipse.debug.core.launchable"
+ value="debug">
+ </test>
+ </and>
+ </or>
+ </enablement>
+ <action
+ class="org.symbian.tools.wrttools.product.actions.DebugAction"
+ enablesFor="+"
+ icon="icons/debug_exc.gif"
+ id="org.eclipse.debug.ui.contextualLaunch.debug.submenu"
+ label="Debug"
+ menubarPath="additions"
+ style="push">
+ </action>
+ </objectContribution>
</extension>
</plugin>