1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fix for 209001, missing ctx-sensitive help for some debugger views.

This commit is contained in:
Anton Leherbauer 2007-11-07 13:45:28 +00:00
parent e4b663c1b4
commit 86ef64e116
4 changed files with 51 additions and 42 deletions

View file

@ -7,6 +7,7 @@
*
* Contributors:
* QNX Software Systems - Initial API and implementation
* Markus Schorn (Wind River Systems)
*******************************************************************************/
package org.eclipse.cdt.debug.internal.ui;
@ -52,7 +53,10 @@ public interface ICDebugHelpContextIds {
public static final String SHOW_COLUMNS_ACTION = PREFIX + "show_columns_context"; //$NON-NLS-1$;
// Views & Editors
public static final String MEMORY_VIEW = PREFIX + "memory_view_context"; //$NON-NLS-1$
/**
* The memory view is part of the platform, the context id is assigned there.
*/
public static final String MEMORY_VIEW = PREFIX + "MemoryView_context"; //$NON-NLS-1$
public static final String SHARED_LIBRARIES_VIEW = PREFIX + "shared_libraries_view_context"; //$NON-NLS-1$
public static final String MODULES_VIEW = PREFIX + "modules_view_context"; //$NON-NLS-1$
public static final String SIGNALS_VIEW = PREFIX + "signals_view_context"; //$NON-NLS-1$

View file

@ -33,11 +33,6 @@
<topic href="reference/cdt_u_editor_view.htm"
label="Editor view"/>
</context>
<context id ="console_view">
<description>Click below to see help.</description>
<topic href="reference/cdt_u_console_view.htm"
label="Console view"/>
</context>
<context id ="problems_view">
<description>Click below to see help.</description>
<topic href="reference/cdt_u_problems_view.htm"
@ -53,41 +48,6 @@
<topic href="reference/cdt_u_search_view.htm"
label="Search view"/>
</context>
<context id ="registers_view">
<description>Click below to see help.</description>
<topic href="reference/cdt_u_registersview.htm"
label="Registers view"/>
</context>
<context id ="memory_view">
<description>Click below to see help.</description>
<topic href="reference/cdt_u_memoryview.htm"
label="Memory view"/>
</context>
<context id ="mem_view_pref">
<description>Click below to see help.</description>
<topic href="reference/cdt_u_mem_view_pref.htm"
label="Memory view preferences"/>
</context>
<context id ="modules_view">
<description>Click below to see help.</description>
<topic href="reference/cdt_u_modules_view.htm"
label="Modules view"/>
</context>
<context id ="signals_view">
<description>Click below to see help.</description>
<topic href="reference/cdt_u_signals_view.htm"
label="Signals view"/>
</context>
<context id ="dbg_view">
<description>Click below to see help.</description>
<topic href="reference/cdt_u_dbg_view.htm"
label="Debug view"/>
</context>
<context id ="dbg_pref">
<description>Click below to see help.</description>
<topic href="reference/cdt_u_dbg_pref.htm"
label="Debug preferences"/>
</context>
<context id ="find_replace">
<description>Click below to see help.</description>
<topic href="reference/cdt_u_find_replace.htm"

View file

@ -15,10 +15,14 @@
<!ENTITY modulesView "Modules view">
<!ENTITY sharedLibsViewPrefs "Shared Libraries view preferences">
<!ENTITY signalsView "Signals view">
<!ENTITY disassemblyView "Disassembly view">
<!ENTITY breakpoints "Breakpoints">
<!ENTITY debugView "Debug view">
<!ENTITY debugPrefs "Debug preferences">
<!ENTITY srcPrefs "Source Code Locations">
<!ENTITY importExe "Import C/C++ Executable Files">
<!ENTITY chooseProj "Choose Project">
<!ENTITY consoleView "Console view">
]>
<contexts>
@ -40,12 +44,26 @@
label="&registersViewPrefs;"/>
</context>
<context id ="memory_view_context">
<context id ="MemoryView_context">
<description>The memory view displays process memory. </description>
<topic href="reference/cdt_u_memoryview.htm"
label="&memoryView;"/>
</context>
<context id="variable_view_context">
<description>This view displays the variables in your program.</description>
</context>
<context id="disassembly_view_context">
<description>This view displays the disassembly of your program.</description>
<topic href="reference/cdt_u_disassembly_view.htm"
label="&disassemblyView;"/>
</context>
<context id="expression_view_context" >
<description>This view shows the results of inspecting an expression or variable.</description>
</context>
<context id ="memory_preference_page_context">
<description>Click below to see help</description>
<topic href="reference/cdt_u_mem_view_pref.htm"
@ -64,6 +82,18 @@
label="&signalsView;"/>
</context>
<context id ="debug_view_context">
<description>Click below to see help.</description>
<topic href="reference/cdt_u_dbg_view.htm"
label="&debugView;"/>
</context>
<context id ="breakpoint_view_context">
<description>The Breakpoints view lists all the breakpoints you have set.</description>
<topic href="concepts/cdt_c_brkpnts.htm"
label="&breakpoints;"/>
</context>
<context id ="c_debug_preference_page_context">
<description>View information about your program as you debug. </description>
<topic href="reference/cdt_u_dbg_pref.htm"
@ -88,4 +118,11 @@
label="&chooseProj;"/>
</context>
<!-- Note: context id for console view is defined in org.eclipse.ui.console -->
<context id ="console_view_context">
<description>Click below to see help.</description>
<topic href="reference/cdt_u_console_view.htm"
label="&consoleView;"/>
</context>
</contexts>

View file

@ -48,6 +48,14 @@
<contexts
file="contexts_CDT_DEBUGGER.xml"
plugin="org.eclipse.cdt.debug.ui">
</contexts>
<contexts
file="contexts_CDT_DEBUGGER.xml"
plugin="org.eclipse.debug.ui">
</contexts>
<contexts
file="contexts_CDT_DEBUGGER.xml"
plugin="org.eclipse.ui.console">
</contexts>
</extension>
<extension