Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Swartz2010-04-14 09:02:19 -0400
committerEd Swartz2010-04-14 09:02:19 -0400
commitf20d66d3197b5ec0bf835e1b62a6d9912bc38342 (patch)
treee052e9c71b66619c8cc10188d8ceeb4ab693d71e /debug/org.eclipse.cdt.debug.ui/plugin.xml
parentee3a2444d159e281356c6e0204c680dd3437b187 (diff)
downloadorg.eclipse.cdt-f20d66d3197b5ec0bf835e1b62a6d9912bc38342.tar.gz
org.eclipse.cdt-f20d66d3197b5ec0bf835e1b62a6d9912bc38342.tar.xz
org.eclipse.cdt-f20d66d3197b5ec0bf835e1b62a6d9912bc38342.zip
Commit fix for bug 248610, add "View Memory" support to DSF (Stephen Chong)
Diffstat (limited to 'debug/org.eclipse.cdt.debug.ui/plugin.xml')
-rw-r--r--debug/org.eclipse.cdt.debug.ui/plugin.xml41
1 files changed, 27 insertions, 14 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui/plugin.xml b/debug/org.eclipse.cdt.debug.ui/plugin.xml
index dbfcebff69..eb94cfd6cd 100644
--- a/debug/org.eclipse.cdt.debug.ui/plugin.xml
+++ b/debug/org.eclipse.cdt.debug.ui/plugin.xml
@@ -326,6 +326,13 @@
</menu>
</menuContribution>
<menuContribution
+ locationURI="popup:org.eclipse.debug.ui.VariableView?after=variableGroup">
+ <command
+ commandId="org.eclipse.cdt.debug.ui.commands.viewMemory"
+ label="%command.viewMemory.name">
+ </command>
+ </menuContribution>
+ <menuContribution
locationURI="popup:org.eclipse.debug.ui.RegisterView?after=variableGroup">
<menu
id="org.eclipse.cdt.debug.ui.registerView_CVariableFormatMenu"
@@ -551,20 +558,6 @@
</viewerContribution>
<objectContribution
- objectClass="org.eclipse.cdt.debug.core.model.ICVariable"
- id="org.eclipse.cdt.debug.ui.CVariableActions">
- <action
- label="%viewMemory.label"
- helpContextId="view_memory_context"
- class="org.eclipse.cdt.debug.internal.ui.actions.ViewMemoryActionDelegate"
- menubarPath="variableGroup"
- enablesFor="+"
- id="org.eclipse.cdt.debug.ui.actions.ViewMemoryAction">
- </action>
- </objectContribution>
-
-
- <objectContribution
objectClass="org.eclipse.cdt.debug.core.model.ICSignal"
id="org.eclipse.cdt.debug.ui.SignalActions">
<action
@@ -1886,6 +1879,12 @@
id="org.eclipse.cdt.debug.ui.command.resumeWithoutSignal"
name="%ResumeWithoutSignal.name">
</command>
+ <command
+ id="org.eclipse.cdt.debug.ui.commands.viewMemory"
+ description="%command.viewMemory.description"
+ helpContextId="view_memory_context"
+ name="%command.viewMemory.name">
+ </command>
</extension>
<extension
point="org.eclipse.ui.handlers">
@@ -1926,6 +1925,20 @@
commandId="org.eclipse.cdt.debug.ui.command.resumeWithoutSignal"
helpContextId="resume_without_signal_action_context">
</handler>
+ <handler
+ class="org.eclipse.cdt.debug.internal.ui.commands.ViewMemoryHandler"
+ commandId="org.eclipse.cdt.debug.ui.commands.viewMemory">
+ <activeWhen>
+ <with variable="selection">
+ <iterate operator="and">
+ <instanceof value="org.eclipse.cdt.debug.core.model.ICVariable">
+ </instanceof>
+ </iterate>
+ <count value="+">
+ </count>
+ </with>
+ </activeWhen>
+ </handler>
</extension>
<extension
point="org.eclipse.core.expressions.definitions">

Back to the top