Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Khouzam2010-03-11 14:19:38 -0500
committerMarc Khouzam2010-03-11 14:19:38 -0500
commit6b01652bf697413cce73acd6d634cde3ab3c7d02 (patch)
tree65abae24b889f0ebe648066c2b44a4e416107bc3 /debug/org.eclipse.cdt.debug.ui/plugin.xml
parent438a83dada05ac581688ed2d3bc6667159fcbf23 (diff)
downloadorg.eclipse.cdt-6b01652bf697413cce73acd6d634cde3ab3c7d02.tar.gz
org.eclipse.cdt-6b01652bf697413cce73acd6d634cde3ab3c7d02.tar.xz
org.eclipse.cdt-6b01652bf697413cce73acd6d634cde3ab3c7d02.zip
[249223] Make ResumeWithoutSignal retargettable. Add ResumeWithoutSignal action to DSF-GDB, but this is not complete because DSF-GDB does not handle the signal stuff yet.
Diffstat (limited to 'debug/org.eclipse.cdt.debug.ui/plugin.xml')
-rw-r--r--debug/org.eclipse.cdt.debug.ui/plugin.xml118
1 files changed, 83 insertions, 35 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui/plugin.xml b/debug/org.eclipse.cdt.debug.ui/plugin.xml
index 2557f83f32..96e49400b1 100644
--- a/debug/org.eclipse.cdt.debug.ui/plugin.xml
+++ b/debug/org.eclipse.cdt.debug.ui/plugin.xml
@@ -264,16 +264,6 @@
label="%GlobalMoveToLineAction.label"
menubarPath="org.eclipse.ui.run/stepGroup"/>
<action
- id="org.eclipse.cdt.debug.internal.ui.actions.SignalZeroWorkbenchActionDelegate"
- class="org.eclipse.cdt.debug.internal.ui.actions.SignalZeroWorkbenchActionDelegate"
- disabledIcon="icons/dlcl16/signal0_co.gif"
- icon="icons/elcl16/signal0_co.gif"
- helpContextId="resume_without_signal_action_context"
- label="%SignalZeroAction.label"
- menubarPath="org.eclipse.ui.run/stepGroup"
- tooltip="%SignalZeroAction.tooltip">
- </action>
- <action
id="org.eclipse.cdt.debug.ui.internal.actions.RestartActionDelegate"
class="org.eclipse.cdt.debug.internal.ui.actions.RestartActionDelegate"
disabledIcon="icons/dlcl16/restart.gif"
@@ -284,6 +274,39 @@
</action>
</actionSet>
</extension>
+ <extension
+ point="org.eclipse.ui.menus">
+ <menuContribution
+ locationURI="menu:org.eclipse.ui.run?endof=stepGroup">
+ <command
+ commandId="org.eclipse.cdt.debug.ui.command.resumeWithoutSignal"
+ disabledIcon="icons/dlcl16/signal0_co.gif"
+ helpContextId="resume_without_signal_action_context"
+ icon="icons/elcl16/signal0_co.gif"
+ label="%ResumeWithoutSignal.label"
+ style="push"
+ tooltip="%ResumeWithoutSignal.tooltip">
+ <visibleWhen
+ checkEnabled="false">
+ <reference
+ definitionId="org.eclipse.cdt.debug.ui.testIsDebugActionSetActive">
+ </reference>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ <menuContribution
+ locationURI="popup:org.eclipse.debug.ui.DebugView?after=threadGroup">
+ <command
+ commandId="org.eclipse.cdt.debug.ui.command.resumeWithoutSignal"
+ disabledIcon="icons/dlcl16/signal0_co.gif"
+ helpContextId="resume_without_signal_action_context"
+ icon="icons/elcl16/signal0_co.gif"
+ label="%ResumeWithoutSignal.label"
+ style="push"
+ tooltip="%ResumeWithoutSignal.tooltip">
+ </command>
+ </menuContribution>
+ </extension>
<extension
point="org.eclipse.ui.menus">
@@ -392,27 +415,6 @@
</pluginState>
</enablement>
</action>
- <action
- helpContextId="signal_zero_action_context"
- enablesFor="1"
- label="%SignalZeroAction.label"
- tooltip="%SignalZeroAction.tooltip"
- icon="icons/elcl16/signal0_co.gif"
- class="org.eclipse.cdt.debug.internal.ui.actions.SignalZeroWorkbenchActionDelegate"
- menubarPath="threadGroup"
- id="org.eclipse.cdt.debug.internal.ui.actions.SignalZeroWorkbenchActionDelegate">
- <enablement>
- <and>
- <pluginState
- id="org.eclipse.cdt.debug.ui"
- value="activated">
- </pluginState>
- <objectClass
- name="org.eclipse.cdt.debug.core.model.IResumeWithoutSignal">
- </objectClass>
- </and>
- </enablement>
- </action>
</viewerContribution>
<viewerContribution
targetID="#CEditorRulerContext"
@@ -607,10 +609,6 @@
</action>
</objectContribution>
<objectContribution
- objectClass="org.eclipse.cdt.debug.core.model.IResumeWithoutSignal"
- id="org.eclipse.cdt.debug.ui.DebugTargetActions">
- </objectContribution>
- <objectContribution
objectClass="org.eclipse.cdt.debug.core.model.ICastToType"
id="org.eclipse.cdt.debug.ui.VariableActions">
<action
@@ -1571,6 +1569,27 @@
type="org.eclipse.debug.internal.ui.viewers.model.provisional.IModelProxyFactory">
</adapter>
</factory>
+ <factory
+ adaptableType="org.eclipse.cdt.debug.core.model.ICStackFrame"
+ class="org.eclipse.cdt.debug.internal.ui.actions.RetargettableActionAdapterFactory">
+ <adapter
+ type="org.eclipse.cdt.debug.core.model.IResumeWithoutSignalHandler">
+ </adapter>
+ </factory>
+ <factory
+ adaptableType="org.eclipse.cdt.debug.core.model.ICThread"
+ class="org.eclipse.cdt.debug.internal.ui.actions.RetargettableActionAdapterFactory">
+ <adapter
+ type="org.eclipse.cdt.debug.core.model.IResumeWithoutSignalHandler">
+ </adapter>
+ </factory>
+ <factory
+ adaptableType="org.eclipse.cdt.debug.core.model.ICDebugTarget"
+ class="org.eclipse.cdt.debug.internal.ui.actions.RetargettableActionAdapterFactory">
+ <adapter
+ type="org.eclipse.cdt.debug.core.model.IResumeWithoutSignalHandler">
+ </adapter>
+ </factory>
</extension>
<extension
point="org.eclipse.ui.themes">
@@ -2038,6 +2057,18 @@
id="org.eclipse.cdt.debug.ui.command.saveTraceData"
name="%SaveTraceData.name">
</command>
+ <category
+ description="%RunControlCategory.description"
+ id="org.eclipse.cdt.debug.ui.category.runControl"
+ name="%RunControlCategory.name">
+ </category>
+ <command
+ categoryId="org.eclipse.cdt.debug.ui.category.runControl"
+ description="%ResumeWithoutSignal.description"
+ helpContextId="resume_without_signal_action_context"
+ id="org.eclipse.cdt.debug.ui.command.resumeWithoutSignal"
+ name="%ResumeWithoutSignal.name">
+ </command>
</extension>
<extension
point="org.eclipse.ui.handlers">
@@ -2073,6 +2104,11 @@
class="org.eclipse.cdt.debug.internal.ui.commands.SaveTraceDataCommandHandler"
commandId="org.eclipse.cdt.debug.ui.command.saveTraceData">
</handler>
+ <handler
+ class="org.eclipse.cdt.debug.internal.ui.commands.ResumeWithoutSignalCommandHandler"
+ commandId="org.eclipse.cdt.debug.ui.command.resumeWithoutSignal"
+ helpContextId="resume_without_signal_action_context">
+ </handler>
</extension>
<extension
point="org.eclipse.core.expressions.definitions">
@@ -2118,6 +2154,18 @@
</iterate>
</with>
</definition>
+ <definition
+ id="org.eclipse.cdt.debug.ui.testIsDebugActionSetActive">
+ <with
+ variable="activeContexts">
+ <iterate
+ operator="or">
+ <equals
+ value="org.eclipse.cdt.debug.ui.debugActionSet">
+ </equals>
+ </iterate>
+ </with>
+ </definition>
</extension>
<extension
point="org.eclipse.ui.bindings">

Back to the top