diff options
author | Darin Wright | 2010-08-16 17:26:30 +0000 |
---|---|---|
committer | Darin Wright | 2010-08-16 17:26:30 +0000 |
commit | 788181df0c9078bd9d57bf80e4e375ffebcc9668 (patch) | |
tree | d1a72fed41bc2f03a695b595e0f83aebe9cfd66f /org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractLaunchConfigurationTab.java | |
parent | 48ba77df7298ca4778a0828491a94efd3c4569b1 (diff) | |
download | eclipse.platform.debug-788181df0c9078bd9d57bf80e4e375ffebcc9668.tar.gz eclipse.platform.debug-788181df0c9078bd9d57bf80e4e375ffebcc9668.tar.xz eclipse.platform.debug-788181df0c9078bd9d57bf80e4e375ffebcc9668.zip |
Bug 322676 - SourceLookupTab, CommonTab and EnvironmentTab reference Java in context help
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractLaunchConfigurationTab.java')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractLaunchConfigurationTab.java | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractLaunchConfigurationTab.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractLaunchConfigurationTab.java index 051ebd3ad..e75331ade 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractLaunchConfigurationTab.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractLaunchConfigurationTab.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. + * Copyright (c) 2000, 2010 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 @@ -77,6 +77,13 @@ public abstract class AbstractLaunchConfigurationTab implements ILaunchConfigura * the user is typing. */ private Job fRereshJob; + + /** + * The set help context id + * + * @since 3.7 + */ + private String fHelpContextId = null; /** * Returns the dialog this tab is contained in, or @@ -441,5 +448,28 @@ public abstract class AbstractLaunchConfigurationTab implements ILaunchConfigura return 200; } + /** + * Sets the help context id for this tab. + * <p> + * Not all tabs honor this setting, but if this method is called prior + * to {@link #createControl(Composite)}, a tab implementation may use this + * to set the context help associated with this tab. + * </p> + * @param id help context id + * @since 3.7 + */ + public void setHelpContextId(String id) { + fHelpContextId = id; + } + + /** + * Returns the help context id for this tab or <code>null</code>. + * + * @return the help context for this tab or <code>null</code> if unknown. + * @since 3.7 + */ + public String getHelpContextId() { + return fHelpContextId; + } } |