mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
[257857] [Memory] Review and fix help context for memory search, transport and traditional rendering
This commit is contained in:
parent
b254ebb961
commit
5780c5059b
7 changed files with 16 additions and 5 deletions
|
@ -30,6 +30,7 @@
|
|||
category="org.eclipse.debug.ui.DebugPreferencePage"
|
||||
class="org.eclipse.dd.debug.memory.renderings.traditional.TraditionalRenderingPreferencePage"
|
||||
id="org.eclipse.dd.debug.memory.renderings.traditional.TraditionalRenderingPreferencePage"
|
||||
helpContextId="TraditionalRenderingPreferencePage_context"
|
||||
name="Traditional Memory Rendering"/>
|
||||
</extension>
|
||||
<extension
|
||||
|
|
|
@ -16,8 +16,10 @@ import org.eclipse.jface.preference.ColorFieldEditor;
|
|||
import org.eclipse.jface.preference.FieldEditorPreferencePage;
|
||||
import org.eclipse.jface.preference.RadioGroupFieldEditor;
|
||||
import org.eclipse.jface.preference.ScaleFieldEditor;
|
||||
import org.eclipse.swt.widgets.Composite;
|
||||
import org.eclipse.ui.IWorkbench;
|
||||
import org.eclipse.ui.IWorkbenchPreferencePage;
|
||||
import org.eclipse.ui.PlatformUI;
|
||||
|
||||
/**
|
||||
* This class represents a preference page that
|
||||
|
@ -43,6 +45,14 @@ public class TraditionalRenderingPreferencePage
|
|||
setDescription("Traditional Memory Rendering");
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void createControl(Composite parent) {
|
||||
super.createControl(parent);
|
||||
PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(), TraditionalRenderingPlugin.getUniqueIdentifier() + ".TraditionalRenderingPreferencePage_context");
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Creates the field editors. Field editors are abstractions of
|
||||
* the common GUI blocks needed to manipulate various types
|
||||
|
|
|
@ -530,7 +530,7 @@ public class FindReplaceDialog extends SelectionDialog
|
|||
*/
|
||||
protected Control createDialogArea(Composite parent) {
|
||||
|
||||
PlatformUI.getWorkbench().getHelpSystem().setHelp(parent, DebugUIPlugin.getUniqueIdentifier() + ".AddMemoryRenderingDialog_context"); //$NON-NLS-1$ // FIXME
|
||||
PlatformUI.getWorkbench().getHelpSystem().setHelp(parent, MemorySearchPlugin.getUniqueIdentifier() + ".MemorySearchDialog_context"); //$NON-NLS-1$
|
||||
Composite composite = new Composite(parent, SWT.NONE);
|
||||
FormLayout formLayout = new FormLayout();
|
||||
formLayout.spacing = 5;
|
||||
|
|
|
@ -19,7 +19,7 @@ import org.eclipse.ui.plugin.AbstractUIPlugin;
|
|||
|
||||
public class MemorySearchPlugin extends AbstractUIPlugin
|
||||
{
|
||||
private static final String PLUGIN_ID = "org.eclipse.dd.debug.memory.renderings.traditional"; //$NON-NLS-1$
|
||||
private static final String PLUGIN_ID = "org.eclipse.dd.debug.ui.memory.search"; //$NON-NLS-1$
|
||||
|
||||
private static MemorySearchPlugin plugin;
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
<action
|
||||
class="org.eclipse.dd.debug.ui.memory.transport.actions.ImportMemoryAction"
|
||||
enablesFor="1"
|
||||
helpContextId="ExportMemoryAction_context"
|
||||
helpContextId="ImportMemoryAction_context"
|
||||
icon="icons/import.png"
|
||||
id="org.eclipse.dd.debug.ui.memory.transport.actions.ImportMemoryAction"
|
||||
label="%ImportMemoryAction.label"
|
||||
|
|
|
@ -111,7 +111,7 @@ public class ExportMemoryDialog extends SelectionDialog
|
|||
*/
|
||||
protected Control createDialogArea(Composite parent) {
|
||||
|
||||
PlatformUI.getWorkbench().getHelpSystem().setHelp(parent, DebugUIPlugin.getUniqueIdentifier() + ".AddMemoryRenderingDialog_context"); //$NON-NLS-1$ // FIXME
|
||||
PlatformUI.getWorkbench().getHelpSystem().setHelp(parent, MemoryTransportPlugin.getUniqueIdentifier() + ".ExportMemoryDialog_context"); //$NON-NLS-1$
|
||||
Composite composite = new Composite(parent, SWT.NONE);
|
||||
FormLayout formLayout = new FormLayout();
|
||||
formLayout.spacing = 5;
|
||||
|
|
|
@ -155,7 +155,7 @@ public class ImportMemoryDialog extends SelectionDialog
|
|||
*/
|
||||
protected Control createDialogArea(Composite parent) {
|
||||
|
||||
PlatformUI.getWorkbench().getHelpSystem().setHelp(parent, DebugUIPlugin.getUniqueIdentifier() + ".AddMemoryRenderingDialog_context"); //$NON-NLS-1$ // FIXME
|
||||
PlatformUI.getWorkbench().getHelpSystem().setHelp(parent, MemoryTransportPlugin.getUniqueIdentifier() + ".ImportMemoryDialog_context"); //$NON-NLS-1$
|
||||
Composite composite = new Composite(parent, SWT.NONE);
|
||||
FormLayout formLayout = new FormLayout();
|
||||
formLayout.spacing = 5;
|
||||
|
|
Loading…
Add table
Reference in a new issue