mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Added enablement condition to some actions.
This commit is contained in:
parent
d66eda2a42
commit
a0eb6d4b36
2 changed files with 64 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2002-11-19 Mikhail Khodjaiants
|
||||||
|
Added enablement condition to some actions.
|
||||||
|
*plugin.xml
|
||||||
|
|
||||||
2002-11-19 Mikhail Khodjaiants
|
2002-11-19 Mikhail Khodjaiants
|
||||||
Fix for bug 26693.
|
Fix for bug 26693.
|
||||||
* SwitchToDisassemblyActionDelegate.java
|
* SwitchToDisassemblyActionDelegate.java
|
||||||
|
|
|
@ -273,6 +273,12 @@
|
||||||
class="org.eclipse.cdt.debug.internal.ui.actions.CBreakpointPropertiesRulerActionDelegate"
|
class="org.eclipse.cdt.debug.internal.ui.actions.CBreakpointPropertiesRulerActionDelegate"
|
||||||
menubarPath="debug"
|
menubarPath="debug"
|
||||||
id="org.eclipse.cdt.debug.internal.ui.actions.CBreakpointPropertiesRulerActionDelegate">
|
id="org.eclipse.cdt.debug.internal.ui.actions.CBreakpointPropertiesRulerActionDelegate">
|
||||||
|
<enablement>
|
||||||
|
<pluginState
|
||||||
|
id="org.eclipse.cdt.debug.ui"
|
||||||
|
value="activated">
|
||||||
|
</pluginState>
|
||||||
|
</enablement>
|
||||||
</action>
|
</action>
|
||||||
<action
|
<action
|
||||||
label="%EnableBreakpoint.label"
|
label="%EnableBreakpoint.label"
|
||||||
|
@ -280,6 +286,12 @@
|
||||||
class="org.eclipse.cdt.debug.internal.ui.actions.EnableDisableBreakpointRulerActionDelegate"
|
class="org.eclipse.cdt.debug.internal.ui.actions.EnableDisableBreakpointRulerActionDelegate"
|
||||||
menubarPath="debug"
|
menubarPath="debug"
|
||||||
id="org.eclipse.cdt.debug.internal.ui.actions.EnableDisableBreakpointRulerActionDelegate">
|
id="org.eclipse.cdt.debug.internal.ui.actions.EnableDisableBreakpointRulerActionDelegate">
|
||||||
|
<enablement>
|
||||||
|
<pluginState
|
||||||
|
id="org.eclipse.cdt.debug.ui"
|
||||||
|
value="activated">
|
||||||
|
</pluginState>
|
||||||
|
</enablement>
|
||||||
</action>
|
</action>
|
||||||
<action
|
<action
|
||||||
label="%AddBreakpoint.label"
|
label="%AddBreakpoint.label"
|
||||||
|
@ -287,6 +299,12 @@
|
||||||
class="org.eclipse.cdt.debug.internal.ui.actions.ManageBreakpointRulerActionDelegate"
|
class="org.eclipse.cdt.debug.internal.ui.actions.ManageBreakpointRulerActionDelegate"
|
||||||
menubarPath="debug"
|
menubarPath="debug"
|
||||||
id="org.eclipse.cdt.debug.internal.ui.actions.ManageBreakpointRulerActionDelegate">
|
id="org.eclipse.cdt.debug.internal.ui.actions.ManageBreakpointRulerActionDelegate">
|
||||||
|
<enablement>
|
||||||
|
<pluginState
|
||||||
|
id="org.eclipse.cdt.debug.ui"
|
||||||
|
value="activated">
|
||||||
|
</pluginState>
|
||||||
|
</enablement>
|
||||||
</action>
|
</action>
|
||||||
</viewerContribution>
|
</viewerContribution>
|
||||||
<viewerContribution
|
<viewerContribution
|
||||||
|
@ -332,6 +350,12 @@
|
||||||
menubarPath="additions"
|
menubarPath="additions"
|
||||||
enablesFor="1"
|
enablesFor="1"
|
||||||
id="org.eclipse.cdt.debug.internal.ui.actions.CBreakpointPropertiesAction">
|
id="org.eclipse.cdt.debug.internal.ui.actions.CBreakpointPropertiesAction">
|
||||||
|
<enablement>
|
||||||
|
<pluginState
|
||||||
|
id="org.eclipse.cdt.debug.ui"
|
||||||
|
value="activated">
|
||||||
|
</pluginState>
|
||||||
|
</enablement>
|
||||||
</action>
|
</action>
|
||||||
</objectContribution>
|
</objectContribution>
|
||||||
<viewerContribution
|
<viewerContribution
|
||||||
|
@ -388,6 +412,12 @@
|
||||||
helpContextId="restart_action_context"
|
helpContextId="restart_action_context"
|
||||||
label="%RestartAction.label"
|
label="%RestartAction.label"
|
||||||
tooltip="%RestartAction.tooltip">
|
tooltip="%RestartAction.tooltip">
|
||||||
|
<enablement>
|
||||||
|
<pluginState
|
||||||
|
value="activated"
|
||||||
|
id="org.eclipse.cdt.debug.ui">
|
||||||
|
</pluginState>
|
||||||
|
</enablement>
|
||||||
</action>
|
</action>
|
||||||
<action
|
<action
|
||||||
id="org.eclipse.cdt.debug.internal.ui.actions.ShowFullPathsAction"
|
id="org.eclipse.cdt.debug.internal.ui.actions.ShowFullPathsAction"
|
||||||
|
@ -399,6 +429,12 @@
|
||||||
helpContextId="show_full_paths_action_context"
|
helpContextId="show_full_paths_action_context"
|
||||||
label="%ShowFullPathsAction.label"
|
label="%ShowFullPathsAction.label"
|
||||||
tooltip="%ShowFullPathsAction.tooltip">
|
tooltip="%ShowFullPathsAction.tooltip">
|
||||||
|
<enablement>
|
||||||
|
<pluginState
|
||||||
|
id="org.eclipse.cdt.debug.ui"
|
||||||
|
value="activated">
|
||||||
|
</pluginState>
|
||||||
|
</enablement>
|
||||||
</action>
|
</action>
|
||||||
<action
|
<action
|
||||||
toolbarPath="renderGroup"
|
toolbarPath="renderGroup"
|
||||||
|
@ -411,6 +447,12 @@
|
||||||
helpContextId="switch_to_disassembly_action_context"
|
helpContextId="switch_to_disassembly_action_context"
|
||||||
label="%SwitchToDisassemblyAction.label"
|
label="%SwitchToDisassemblyAction.label"
|
||||||
tooltip="%SwitchToDisassemblyAction.tooltip">
|
tooltip="%SwitchToDisassemblyAction.tooltip">
|
||||||
|
<enablement>
|
||||||
|
<pluginState
|
||||||
|
value="activated"
|
||||||
|
id="org.eclipse.cdt.debug.ui">
|
||||||
|
</pluginState>
|
||||||
|
</enablement>
|
||||||
</action>
|
</action>
|
||||||
<action
|
<action
|
||||||
toolbarPath="renderGroup"
|
toolbarPath="renderGroup"
|
||||||
|
@ -423,6 +465,12 @@
|
||||||
helpContextId="show_debugger_console_action_context"
|
helpContextId="show_debugger_console_action_context"
|
||||||
label="%ShowDebuggerConsoleAction.label"
|
label="%ShowDebuggerConsoleAction.label"
|
||||||
tooltip="%ShowDebuggerConsoleAction.tooltip">
|
tooltip="%ShowDebuggerConsoleAction.tooltip">
|
||||||
|
<enablement>
|
||||||
|
<pluginState
|
||||||
|
id="org.eclipse.cdt.debug.ui"
|
||||||
|
value="activated">
|
||||||
|
</pluginState>
|
||||||
|
</enablement>
|
||||||
</action>
|
</action>
|
||||||
</viewContribution>
|
</viewContribution>
|
||||||
<viewContribution
|
<viewContribution
|
||||||
|
@ -438,6 +486,12 @@
|
||||||
helpContextId="show_full_paths_action_context"
|
helpContextId="show_full_paths_action_context"
|
||||||
label="%ShowFullPathsAction.label"
|
label="%ShowFullPathsAction.label"
|
||||||
tooltip="%ShowFullPathsAction.tooltip">
|
tooltip="%ShowFullPathsAction.tooltip">
|
||||||
|
<enablement>
|
||||||
|
<pluginState
|
||||||
|
id="org.eclipse.cdt.debug.ui"
|
||||||
|
value="activated">
|
||||||
|
</pluginState>
|
||||||
|
</enablement>
|
||||||
</action>
|
</action>
|
||||||
</viewContribution>
|
</viewContribution>
|
||||||
<viewContribution
|
<viewContribution
|
||||||
|
@ -473,6 +527,12 @@
|
||||||
class="org.eclipse.cdt.debug.internal.ui.actions.ManageBreakpointRulerActionDelegate"
|
class="org.eclipse.cdt.debug.internal.ui.actions.ManageBreakpointRulerActionDelegate"
|
||||||
actionID="RulerDoubleClick"
|
actionID="RulerDoubleClick"
|
||||||
id="org.eclipse.cdt.debug.ui.CEditor.ManageBreakpointRulerAction">
|
id="org.eclipse.cdt.debug.ui.CEditor.ManageBreakpointRulerAction">
|
||||||
|
<enablement>
|
||||||
|
<pluginState
|
||||||
|
id="org.eclipse.cdt.debug.ui"
|
||||||
|
value="activated">
|
||||||
|
</pluginState>
|
||||||
|
</enablement>
|
||||||
</action>
|
</action>
|
||||||
</editorContribution>
|
</editorContribution>
|
||||||
</extension>
|
</extension>
|
||||||
|
|
Loading…
Add table
Reference in a new issue