1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

The Registers view has been contibuted and moved to the Eclipse platform.

This commit is contained in:
Mikhail Khodjaiants 2004-03-31 23:05:28 +00:00
parent fc5179e477
commit 6f76f7d816
2 changed files with 41 additions and 52 deletions

View file

@ -69,24 +69,24 @@
targetID="org.eclipse.debug.ui.DebugPerspective"> targetID="org.eclipse.debug.ui.DebugPerspective">
<view <view
relative="org.eclipse.debug.ui.VariableView" relative="org.eclipse.debug.ui.VariableView"
relationship="stack" id="org.eclipse.cdt.debug.ui.MemoryView"
id="org.eclipse.cdt.debug.ui.MemoryView"> relationship="stack">
</view> </view>
<viewShortcut <viewShortcut
id="org.eclipse.cdt.debug.ui.MemoryView"> id="org.eclipse.cdt.debug.ui.MemoryView">
</viewShortcut> </viewShortcut>
<view <view
relative="org.eclipse.debug.ui.VariableView" relative="org.eclipse.debug.ui.VariableView"
relationship="stack" id="org.eclipse.cdt.debug.ui.SharedLibrariesView"
id="org.eclipse.cdt.debug.ui.SharedLibrariesView"> relationship="stack">
</view> </view>
<viewShortcut <viewShortcut
id="org.eclipse.cdt.debug.ui.SharedLibrariesView"> id="org.eclipse.cdt.debug.ui.SharedLibrariesView">
</viewShortcut> </viewShortcut>
<view <view
relative="org.eclipse.debug.ui.VariableView" relative="org.eclipse.debug.ui.VariableView"
relationship="stack" id="org.eclipse.cdt.debug.ui.SignalsView"
id="org.eclipse.cdt.debug.ui.SignalsView"> relationship="stack">
</view> </view>
<viewShortcut <viewShortcut
id="org.eclipse.cdt.debug.ui.SignalsView"> id="org.eclipse.cdt.debug.ui.SignalsView">
@ -113,12 +113,6 @@
class="org.eclipse.cdt.debug.internal.ui.preferences.MemoryViewPreferencePage" class="org.eclipse.cdt.debug.internal.ui.preferences.MemoryViewPreferencePage"
id="org.eclipse.cdt.debug.ui.MemoryViewPreferencePage"> id="org.eclipse.cdt.debug.ui.MemoryViewPreferencePage">
</page> </page>
<page
name="%RegistersPreferencePage.name"
category="org.eclipse.debug.ui.DebugPreferencePage"
class="org.eclipse.cdt.debug.internal.ui.preferences.RegistersViewPreferencePage"
id="org.eclipse.cdt.debug.ui.RegistersViewPreferencePage">
</page>
<page <page
name="%CDebugPreferencePage.name" name="%CDebugPreferencePage.name"
category="org.eclipse.cdt.ui.preferences.CPluginPreferencePage" category="org.eclipse.cdt.ui.preferences.CPluginPreferencePage"
@ -304,8 +298,8 @@
</action> </action>
<action <action
label="%ShowFullPathsAction.label" label="%ShowFullPathsAction.label"
style="toggle"
icon="icons/full/clcl16/show_paths.gif" icon="icons/full/clcl16/show_paths.gif"
style="toggle"
helpContextId="show_full_paths_action_context" helpContextId="show_full_paths_action_context"
class="org.eclipse.cdt.debug.internal.ui.actions.ShowFullPathsAction" class="org.eclipse.cdt.debug.internal.ui.actions.ShowFullPathsAction"
menubarPath="renderGroup" menubarPath="renderGroup"
@ -319,8 +313,8 @@
</action> </action>
<action <action
label="%SwitchToDisassemblyAction.label" label="%SwitchToDisassemblyAction.label"
style="toggle"
icon="icons/full/clcl16/disassembly.gif" icon="icons/full/clcl16/disassembly.gif"
style="toggle"
helpContextId="switch_to_disassembly_action_context" helpContextId="switch_to_disassembly_action_context"
class="org.eclipse.cdt.debug.internal.ui.actions.SwitchToDisassemblyActionDelegate" class="org.eclipse.cdt.debug.internal.ui.actions.SwitchToDisassemblyActionDelegate"
menubarPath="renderGroup" menubarPath="renderGroup"
@ -335,8 +329,8 @@
</action> </action>
<action <action
label="%ShowDebuggerConsoleAction.label" label="%ShowDebuggerConsoleAction.label"
style="toggle"
icon="icons/full/clcl16/debugger_console.gif" icon="icons/full/clcl16/debugger_console.gif"
style="toggle"
helpContextId="show_debugger_console_action_context" helpContextId="show_debugger_console_action_context"
class="org.eclipse.cdt.debug.internal.ui.actions.DebuggerConsoleActionDelegate" class="org.eclipse.cdt.debug.internal.ui.actions.DebuggerConsoleActionDelegate"
menubarPath="renderGroup" menubarPath="renderGroup"
@ -474,8 +468,8 @@
id="org.eclipse.cdt.debug.ui.breakpointview.popupMenu"> id="org.eclipse.cdt.debug.ui.breakpointview.popupMenu">
<action <action
label="%ShowFullPathsAction.label" label="%ShowFullPathsAction.label"
style="toggle"
icon="icons/full/clcl16/show_paths.gif" icon="icons/full/clcl16/show_paths.gif"
style="toggle"
helpContextId="show_full_paths_action_context" helpContextId="show_full_paths_action_context"
class="org.eclipse.cdt.debug.internal.ui.actions.ShowFullPathsAction" class="org.eclipse.cdt.debug.internal.ui.actions.ShowFullPathsAction"
menubarPath="renderGroup" menubarPath="renderGroup"
@ -750,8 +744,8 @@
id="org.eclipse.cdt.debug.ui.SharedLibrariesViewPopupActions"> id="org.eclipse.cdt.debug.ui.SharedLibrariesViewPopupActions">
<action <action
label="%ShowFullPathsAction.label" label="%ShowFullPathsAction.label"
style="toggle"
icon="icons/full/clcl16/show_paths.gif" icon="icons/full/clcl16/show_paths.gif"
style="toggle"
helpContextId="show_full_paths_action_context" helpContextId="show_full_paths_action_context"
class="org.eclipse.cdt.debug.internal.ui.actions.ShowFullPathsAction" class="org.eclipse.cdt.debug.internal.ui.actions.ShowFullPathsAction"
menubarPath="renderGroup" menubarPath="renderGroup"
@ -771,8 +765,8 @@
label="%LoadSymbolsAction.label" label="%LoadSymbolsAction.label"
icon="icons/full/clcl16/load_symbols_co.gif" icon="icons/full/clcl16/load_symbols_co.gif"
helpContextId="load_symbols_action_context" helpContextId="load_symbols_action_context"
class="org.eclipse.cdt.debug.internal.ui.actions.LoadSymbolsActionDelegate"
tooltip="%LoadSymbolsAction.tooltip" tooltip="%LoadSymbolsAction.tooltip"
class="org.eclipse.cdt.debug.internal.ui.actions.LoadSymbolsActionDelegate"
menubarPath="sharedLibrariesGroup" menubarPath="sharedLibrariesGroup"
enablesFor="1" enablesFor="1"
id="org.eclipse.cdt.debug.internal.ui.actions.LoadSymbolsActionDelegate"> id="org.eclipse.cdt.debug.internal.ui.actions.LoadSymbolsActionDelegate">
@ -791,8 +785,8 @@
label="%SignalAction.label" label="%SignalAction.label"
icon="icons/full/clcl16/signal_co.gif" icon="icons/full/clcl16/signal_co.gif"
helpContextId="signal_action_context" helpContextId="signal_action_context"
class="org.eclipse.cdt.debug.internal.ui.actions.SignalActionDelegate"
tooltip="%SignalAction.tooltip" tooltip="%SignalAction.tooltip"
class="org.eclipse.cdt.debug.internal.ui.actions.SignalActionDelegate"
menubarPath="additions" menubarPath="additions"
enablesFor="1" enablesFor="1"
id="org.eclipse.cdt.debug.internal.ui.actions.SignalActionDelegate"> id="org.eclipse.cdt.debug.internal.ui.actions.SignalActionDelegate">
@ -829,8 +823,8 @@
<action <action
label="%RestoreDefaultTypeAction.label" label="%RestoreDefaultTypeAction.label"
helpContextId="restore_default_type_action_context" helpContextId="restore_default_type_action_context"
tooltip="%RestoreDefaultTypeAction.tooltip"
class="org.eclipse.cdt.debug.internal.ui.actions.RestoreDefaultTypeActionDelegate" class="org.eclipse.cdt.debug.internal.ui.actions.RestoreDefaultTypeActionDelegate"
tooltip="%RestoreDefaultTypeAction.tooltip"
menubarPath="additions" menubarPath="additions"
enablesFor="1" enablesFor="1"
id="org.eclipse.cdt.debug.internal.ui.actions.RestoreDefaultTypeActionDelegate"> id="org.eclipse.cdt.debug.internal.ui.actions.RestoreDefaultTypeActionDelegate">
@ -845,8 +839,8 @@
label="%CastToTypeAction.label" label="%CastToTypeAction.label"
icon="icons/full/clcl16/casttotype_co.gif" icon="icons/full/clcl16/casttotype_co.gif"
helpContextId="cast_to_type_action_context" helpContextId="cast_to_type_action_context"
tooltip="%CastToTypeAction.tooltip"
class="org.eclipse.cdt.debug.internal.ui.actions.CastToTypeActionDelegate" class="org.eclipse.cdt.debug.internal.ui.actions.CastToTypeActionDelegate"
tooltip="%CastToTypeAction.tooltip"
menubarPath="additions" menubarPath="additions"
enablesFor="1" enablesFor="1"
id="org.eclipse.cdt.debug.internal.ui.actions.CastToTypeActionDelegate"> id="org.eclipse.cdt.debug.internal.ui.actions.CastToTypeActionDelegate">
@ -861,8 +855,8 @@
label="%CastToArrayAction.label" label="%CastToArrayAction.label"
icon="icons/full/clcl16/showasarray_co.gif" icon="icons/full/clcl16/showasarray_co.gif"
helpContextId="cast_to_array_action_context" helpContextId="cast_to_array_action_context"
tooltip="%CastToArrayAction.tooltip"
class="org.eclipse.cdt.debug.internal.ui.actions.CastToArrayActionDelegate" class="org.eclipse.cdt.debug.internal.ui.actions.CastToArrayActionDelegate"
tooltip="%CastToArrayAction.tooltip"
menubarPath="additions" menubarPath="additions"
enablesFor="1" enablesFor="1"
id="org.eclipse.cdt.debug.internal.ui.actions.CastToArrayActionDelegate"> id="org.eclipse.cdt.debug.internal.ui.actions.CastToArrayActionDelegate">
@ -881,8 +875,8 @@
label="%ManageFunctionBreakpointAction.label" label="%ManageFunctionBreakpointAction.label"
icon="icons/full/obj16/funbrkp_obj.gif" icon="icons/full/obj16/funbrkp_obj.gif"
helpContextId="manage_function_breakpoint_action_context" helpContextId="manage_function_breakpoint_action_context"
tooltip="%ManageFunctionBreakpointAction.tooltip"
class="org.eclipse.cdt.debug.internal.ui.actions.ManageFunctionBreakpointActionDelegate" class="org.eclipse.cdt.debug.internal.ui.actions.ManageFunctionBreakpointActionDelegate"
tooltip="%ManageFunctionBreakpointAction.tooltip"
menubarPath="additions" menubarPath="additions"
enablesFor="1" enablesFor="1"
id="org.eclipse.cdt.debug.internal.ui.actions.ManageFunctionBreakpointActionDelegate"> id="org.eclipse.cdt.debug.internal.ui.actions.ManageFunctionBreakpointActionDelegate">
@ -901,8 +895,8 @@
label="%DisableVariablesAction.label" label="%DisableVariablesAction.label"
icon="icons/full/clcl16/disabled_co.gif" icon="icons/full/clcl16/disabled_co.gif"
helpContextId="disable_variables_action_context" helpContextId="disable_variables_action_context"
tooltip="%DisableVariablesAction.tooltip"
class="org.eclipse.cdt.debug.internal.ui.actions.DisableVariablesActionDelegate" class="org.eclipse.cdt.debug.internal.ui.actions.DisableVariablesActionDelegate"
tooltip="%DisableVariablesAction.tooltip"
menubarPath="variableGroup" menubarPath="variableGroup"
enablesFor="2+" enablesFor="2+"
id="org.eclipse.cdt.debug.internal.ui.actions.DisableVariablesActionDelegate"> id="org.eclipse.cdt.debug.internal.ui.actions.DisableVariablesActionDelegate">
@ -914,8 +908,8 @@
label="%EnableVariablesAction.label" label="%EnableVariablesAction.label"
icon="icons/full/clcl16/enabled_co.gif" icon="icons/full/clcl16/enabled_co.gif"
helpContextId="enable_variables_action_context" helpContextId="enable_variables_action_context"
tooltip="%EnableVariablesAction.tooltip"
class="org.eclipse.cdt.debug.internal.ui.actions.EnableVariablesActionDelegate" class="org.eclipse.cdt.debug.internal.ui.actions.EnableVariablesActionDelegate"
tooltip="%EnableVariablesAction.tooltip"
menubarPath="variableGroup" menubarPath="variableGroup"
enablesFor="2+" enablesFor="2+"
id="org.eclipse.cdt.debug.internal.ui.actions.EnableVariablesActionDelegate"> id="org.eclipse.cdt.debug.internal.ui.actions.EnableVariablesActionDelegate">
@ -938,8 +932,8 @@
disabledIcon="icons/full/dlcl16/restart.gif" disabledIcon="icons/full/dlcl16/restart.gif"
enablesFor="1" enablesFor="1"
icon="icons/full/elcl16/restart.gif" icon="icons/full/elcl16/restart.gif"
helpContextId="restart_action_context"
label="%RestartAction.label" label="%RestartAction.label"
helpContextId="restart_action_context"
tooltip="%RestartAction.tooltip"> tooltip="%RestartAction.tooltip">
<enablement> <enablement>
<pluginState <pluginState
@ -956,8 +950,8 @@
class="org.eclipse.cdt.debug.internal.ui.actions.ShowFullPathsAction" class="org.eclipse.cdt.debug.internal.ui.actions.ShowFullPathsAction"
disabledIcon="icons/full/dlcl16/show_paths.gif" disabledIcon="icons/full/dlcl16/show_paths.gif"
icon="icons/full/elcl16/show_parents.gif" icon="icons/full/elcl16/show_parents.gif"
helpContextId="show_full_paths_action_context"
label="%ShowFullPathsAction.label" label="%ShowFullPathsAction.label"
helpContextId="show_full_paths_action_context"
tooltip="%ShowFullPathsAction.tooltip"> tooltip="%ShowFullPathsAction.tooltip">
<enablement> <enablement>
<pluginState <pluginState
@ -975,8 +969,8 @@
disabledIcon="icons/full/dlcl16/disassembly.gif" disabledIcon="icons/full/dlcl16/disassembly.gif"
enablesFor="1" enablesFor="1"
icon="icons/full/elcl16/disassembly.gif" icon="icons/full/elcl16/disassembly.gif"
helpContextId="switch_to_disassembly_action_context"
label="%SwitchToDisassemblyAction.label" label="%SwitchToDisassemblyAction.label"
helpContextId="switch_to_disassembly_action_context"
tooltip="%SwitchToDisassemblyAction.tooltip"> tooltip="%SwitchToDisassemblyAction.tooltip">
<enablement> <enablement>
<pluginState <pluginState
@ -994,8 +988,8 @@
disabledIcon="icons/full/dlcl16/debugger_console.gif" disabledIcon="icons/full/dlcl16/debugger_console.gif"
enablesFor="1" enablesFor="1"
icon="icons/full/elcl16/debugger_console.gif" icon="icons/full/elcl16/debugger_console.gif"
helpContextId="show_debugger_console_action_context"
label="%ShowDebuggerConsoleAction.label" label="%ShowDebuggerConsoleAction.label"
helpContextId="show_debugger_console_action_context"
tooltip="%ShowDebuggerConsoleAction.tooltip"> tooltip="%ShowDebuggerConsoleAction.tooltip">
<enablement> <enablement>
<pluginState <pluginState
@ -1016,8 +1010,8 @@
class="org.eclipse.cdt.debug.internal.ui.actions.ShowFullPathsAction" class="org.eclipse.cdt.debug.internal.ui.actions.ShowFullPathsAction"
disabledIcon="icons/full/dlcl16/show_paths.gif" disabledIcon="icons/full/dlcl16/show_paths.gif"
icon="icons/full/elcl16/show_parents.gif" icon="icons/full/elcl16/show_parents.gif"
helpContextId="show_full_paths_action_context"
label="%ShowFullPathsAction.label" label="%ShowFullPathsAction.label"
helpContextId="show_full_paths_action_context"
tooltip="%ShowFullPathsAction.tooltip"> tooltip="%ShowFullPathsAction.tooltip">
<enablement> <enablement>
<pluginState <pluginState
@ -1038,8 +1032,8 @@
disabledIcon="icons/full/dlcl16/watch_globals.gif" disabledIcon="icons/full/dlcl16/watch_globals.gif"
enablesFor="1" enablesFor="1"
icon="icons/full/elcl16/watch_globals.gif" icon="icons/full/elcl16/watch_globals.gif"
helpContextId="add_globals_action_context"
label="%AddGlobalsAction.label" label="%AddGlobalsAction.label"
helpContextId="add_globals_action_context"
tooltip="%AddGlobalsAction.tooltip"> tooltip="%AddGlobalsAction.tooltip">
<enablement> <enablement>
<pluginState <pluginState
@ -1060,8 +1054,8 @@
class="org.eclipse.cdt.debug.internal.ui.actions.ShowFullPathsAction" class="org.eclipse.cdt.debug.internal.ui.actions.ShowFullPathsAction"
disabledIcon="icons/full/dlcl16/show_paths.gif" disabledIcon="icons/full/dlcl16/show_paths.gif"
icon="icons/full/elcl16/show_parents.gif" icon="icons/full/elcl16/show_parents.gif"
helpContextId="show_full_paths_action_context"
label="%ShowFullPathsAction.label" label="%ShowFullPathsAction.label"
helpContextId="show_full_paths_action_context"
tooltip="%ShowFullPathsAction.tooltip"> tooltip="%ShowFullPathsAction.tooltip">
<enablement> <enablement>
<pluginState <pluginState
@ -1151,20 +1145,20 @@
<extension <extension
point="org.eclipse.debug.core.statusHandlers"> point="org.eclipse.debug.core.statusHandlers">
<statusHandler <statusHandler
plugin="org.eclipse.cdt.debug.core"
code="10000" code="10000"
plugin="org.eclipse.cdt.debug.core"
class="org.eclipse.cdt.debug.internal.ui.QuestionStatusHandler" class="org.eclipse.cdt.debug.internal.ui.QuestionStatusHandler"
id="org.eclipse.cdt.debug.internal.ui.QuestionStatusHandler"> id="org.eclipse.cdt.debug.internal.ui.QuestionStatusHandler">
</statusHandler> </statusHandler>
<statusHandler <statusHandler
plugin="org.eclipse.cdt.debug.core"
code="10001" code="10001"
plugin="org.eclipse.cdt.debug.core"
class="org.eclipse.cdt.debug.internal.ui.InfoStatusHandler" class="org.eclipse.cdt.debug.internal.ui.InfoStatusHandler"
id="org.eclipse.cdt.debug.internal.ui.InfoStatusHandler"> id="org.eclipse.cdt.debug.internal.ui.InfoStatusHandler">
</statusHandler> </statusHandler>
<statusHandler <statusHandler
plugin="org.eclipse.cdt.debug.core"
code="10002" code="10002"
plugin="org.eclipse.cdt.debug.core"
class="org.eclipse.cdt.debug.internal.ui.ErrorStatusHandler" class="org.eclipse.cdt.debug.internal.ui.ErrorStatusHandler"
id="org.eclipse.cdt.debug.internal.ui.ErrorStatusHandler"> id="org.eclipse.cdt.debug.internal.ui.ErrorStatusHandler">
</statusHandler> </statusHandler>
@ -1227,16 +1221,16 @@
point="org.eclipse.ui.editors"> point="org.eclipse.ui.editors">
<editor <editor
name="%DisassemblyEditor.name" name="%DisassemblyEditor.name"
icon="icons/full/obj16/disassembly_obj.gif"
extensions="dasm" extensions="dasm"
icon="icons/full/obj16/disassembly_obj.gif"
class="org.eclipse.cdt.debug.internal.ui.editors.DisassemblyEditor" class="org.eclipse.cdt.debug.internal.ui.editors.DisassemblyEditor"
id="org.eclipse.cdt.debug.ui.DisassemblyEditor"> id="org.eclipse.cdt.debug.ui.DisassemblyEditor">
</editor> </editor>
<editor <editor
name="%CDebugEditor.name" name="%CDebugEditor.name"
icon="icons/full/obj16/filenotfound_obj.gif" icon="icons/full/obj16/filenotfound_obj.gif"
contributorClass="org.eclipse.cdt.internal.ui.editor.CEditorActionContributor"
class="org.eclipse.cdt.debug.internal.ui.editors.CDebugEditor" class="org.eclipse.cdt.debug.internal.ui.editors.CDebugEditor"
contributorClass="org.eclipse.cdt.internal.ui.editor.CEditorActionContributor"
id="org.eclipse.cdt.debug.ui.editor.CDebugEditor"> id="org.eclipse.cdt.debug.ui.editor.CDebugEditor">
</editor> </editor>
</extension> </extension>
@ -1258,8 +1252,8 @@
<context <context
name="Debugging C/C++" name="Debugging C/C++"
description="Debugging C/C++ Programs" description="Debugging C/C++ Programs"
parentId="org.eclipse.debug.ui.debugging" id="org.eclipse.cdt.debug.ui.debugging"
id="org.eclipse.cdt.debug.ui.debugging"> parentId="org.eclipse.debug.ui.debugging">
</context> </context>
</extension> </extension>
<extension <extension
@ -1273,23 +1267,23 @@
point="org.eclipse.debug.ui.contextViewBindings"> point="org.eclipse.debug.ui.contextViewBindings">
<contextViewBinding <contextViewBinding
viewId="org.eclipse.cdt.debug.ui.MemoryView" viewId="org.eclipse.cdt.debug.ui.MemoryView"
contextId="org.eclipse.cdt.debug.ui.debugging" autoClose="false"
autoClose="false"> contextId="org.eclipse.cdt.debug.ui.debugging">
</contextViewBinding> </contextViewBinding>
<contextViewBinding <contextViewBinding
viewId="org.eclipse.cdt.debug.ui.SharedLibrariesView" viewId="org.eclipse.cdt.debug.ui.SharedLibrariesView"
contextId="org.eclipse.cdt.debug.ui.debugging" autoClose="false"
autoClose="false"> contextId="org.eclipse.cdt.debug.ui.debugging">
</contextViewBinding> </contextViewBinding>
<contextViewBinding <contextViewBinding
viewId="org.eclipse.cdt.debug.ui.SignalsView" viewId="org.eclipse.cdt.debug.ui.SignalsView"
contextId="org.eclipse.cdt.debug.ui.debugging" autoClose="false"
autoClose="false"> contextId="org.eclipse.cdt.debug.ui.debugging">
</contextViewBinding> </contextViewBinding>
<contextViewBinding <contextViewBinding
viewId="org.eclipse.debug.ui.RegistersView" viewId="org.eclipse.debug.ui.RegistersView"
contextId="org.eclipse.cdt.debug.ui.debugging" autoClose="false"
autoClose="false"> contextId="org.eclipse.cdt.debug.ui.debugging">
</contextViewBinding> </contextViewBinding>
</extension> </extension>

View file

@ -33,11 +33,6 @@ public interface ICDebugPreferenceConstants
*/ */
public static final String PREF_SHOW_FULL_PATHS = ICDebugUIConstants.PLUGIN_ID + "cDebug.show_full_paths"; //$NON-NLS-1$ public static final String PREF_SHOW_FULL_PATHS = ICDebugUIConstants.PLUGIN_ID + "cDebug.show_full_paths"; //$NON-NLS-1$
/**
* The RGB for the color to be used to indicate changed registers
*/
public static final String CHANGED_REGISTER_RGB = "Changed.Register.RGB"; //$NON-NLS-1$
/** /**
* The default values for the memory view parameters. * The default values for the memory view parameters.
*/ */