diff options
author | Michael Rennie | 2011-06-29 16:06:10 +0000 |
---|---|---|
committer | Michael Rennie | 2011-06-29 16:06:10 +0000 |
commit | 03ca55d0cebccbc06615f6f48b03c4acce4f4600 (patch) | |
tree | 985ab63d94be3ff2bef8cba3471a49d2df2d7084 /org.eclipse.debug.ui/ui/org/eclipse/debug/ui | |
parent | 977911a125cce7ad0c1bc754172d1f521f243d55 (diff) | |
download | eclipse.platform.debug-03ca55d0cebccbc06615f6f48b03c4acce4f4600.tar.gz eclipse.platform.debug-03ca55d0cebccbc06615f6f48b03c4acce4f4600.tar.xz eclipse.platform.debug-03ca55d0cebccbc06615f6f48b03c4acce4f4600.zip |
Bug 345223 - Ant and External tool tabs refer to Java help topics
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/ui')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/ui/RefreshTab.java | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/RefreshTab.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/RefreshTab.java index a35fc7af6..f2961ffed 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/RefreshTab.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/RefreshTab.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. + * Copyright (c) 2000, 2011 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -45,10 +45,14 @@ import org.eclipse.ui.dialogs.IWorkingSetEditWizard; * which resources should be refreshed when the launch * terminates. * <p> + * Clients may call {@link #setHelpContextId(String)} on this tab prior to control + * creation to alter the default context help associated with this tab. + * </p> + * <p> * This class may be instantiate. * </p> * @since 3.0 - * @noextend This class is not intended to be subclassed by clients. + * @noextend This class is not intended to be sub-classed by clients. */ public class RefreshTab extends AbstractLaunchConfigurationTab { @@ -86,12 +90,19 @@ public class RefreshTab extends AbstractLaunchConfigurationTab { private IWorkingSet fWorkingSet; /** + * Constructor + */ + public RefreshTab() { + setHelpContextId(IDebugHelpContextIds.LAUNCH_CONFIGURATION_DIALOG_REFRESH_TAB); + } + + /** * @see org.eclipse.debug.ui.ILaunchConfigurationTab#createControl(org.eclipse.swt.widgets.Composite) */ public void createControl(Composite parent) { Composite mainComposite = new Composite(parent, SWT.NONE); setControl(mainComposite); - PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(), IDebugHelpContextIds.LAUNCH_CONFIGURATION_DIALOG_REFRESH_TAB); + PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(), getHelpContextId()); GridLayout layout = new GridLayout(); GridData gd = new GridData(GridData.FILL_HORIZONTAL); |