bug 10786 - fix and add help context ids
authordadubrow
Tue, 23 Feb 2010 14:39:53 -0600
changeset 1013 83255eb26cdb
parent 1011 ac82c32cc589
child 1018 5807922922c6
bug 10786 - fix and add help context ids
debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/LaunchWizardHelpIds.java
debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/OtherSettingsDialog.java
debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/UnifiedLaunchOptionsPage.java
--- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/LaunchWizardHelpIds.java	Tue Feb 23 13:51:39 2010 -0600
+++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/LaunchWizardHelpIds.java	Tue Feb 23 14:39:53 2010 -0600
@@ -24,7 +24,7 @@
 	/*
 	 * Help context ID. Should be: PluginID + "." + <words without '.'>
 	 */
-	private static final String HelpID_Prefix = LaunchPlugin.getUniqueIdentifier() + ".launch2_"; //$NON-NLS-1$
+	private static final String HelpID_Prefix = LaunchPlugin.getUniqueIdentifier() + ".newwizard_"; //$NON-NLS-1$
 
 	
 	public static final String WIZARD_DIALOG_CHANGE_DEBUG_PROCESS = HelpID_Prefix + "wizard_dialog_change_debug_process"; //$NON-NLS-1$
@@ -34,4 +34,5 @@
 
 	public static final String WIZARD_DIALOG_OTHER_SETTINGS = HelpID_Prefix + "wizard_dialog_other_settings"; //$NON-NLS-1$
 
+	public static final String WIZARD_DIALOG_LAUNCH_OPTIONS_PAGE = HelpID_Prefix + "wizard_dialog_launch_options_page"; //$NON-NLS-1$
 }
--- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/OtherSettingsDialog.java	Tue Feb 23 13:51:39 2010 -0600
+++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/OtherSettingsDialog.java	Tue Feb 23 14:39:53 2010 -0600
@@ -26,7 +26,6 @@
 import org.eclipse.swt.events.ControlEvent;
 import org.eclipse.swt.events.SelectionAdapter;
 import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.layout.GridData;
 import org.eclipse.swt.widgets.Button;
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.swt.widgets.Control;
--- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/UnifiedLaunchOptionsPage.java	Tue Feb 23 13:51:39 2010 -0600
+++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/UnifiedLaunchOptionsPage.java	Tue Feb 23 14:39:53 2010 -0600
@@ -31,6 +31,7 @@
 
 import com.nokia.cdt.internal.debug.launch.LaunchPlugin;
 import com.nokia.cdt.internal.debug.launch.newwizard.IWizardSection.ISectionChangeListener;
+import com.nokia.cpp.internal.api.utils.ui.WorkbenchUtils;
 
 /**
  * This page presents three sections:
@@ -95,6 +96,7 @@
 			GridDataFactory.fillDefaults().grab(true, true).applyTo(section.getControl());
 		}
 		
+		WorkbenchUtils.setHelpContextId(composite, LaunchWizardHelpIds.WIZARD_DIALOG_LAUNCH_OPTIONS_PAGE);
 		
 		setControl(composite);
 	}