Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Rennie2006-06-15 16:46:17 +0000
committerMichael Rennie2006-06-15 16:46:17 +0000
commit1fcf6be5a46c4c52731cfbf29299ee19819e4462 (patch)
treef7f97b80dc44c7ad94c052a326b63752d8e89abd /org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/FavoritesDialog.java
parentff031fe4c29b16068d62f2c7acdca68605f67a6e (diff)
downloadeclipse.platform.debug-1fcf6be5a46c4c52731cfbf29299ee19819e4462.tar.gz
eclipse.platform.debug-1fcf6be5a46c4c52731cfbf29299ee19819e4462.tar.xz
eclipse.platform.debug-1fcf6be5a46c4c52731cfbf29299ee19819e4462.zip
Bug 141782
[help] Debug dialogs not offering help
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/FavoritesDialog.java')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/FavoritesDialog.java17
1 files changed, 14 insertions, 3 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/FavoritesDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/FavoritesDialog.java
index b480995de..919230d31 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/FavoritesDialog.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/FavoritesDialog.java
@@ -10,7 +10,6 @@
*******************************************************************************/
package org.eclipse.debug.internal.ui.launchConfigurations;
-import com.ibm.icu.text.MessageFormat;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
@@ -24,10 +23,11 @@ import org.eclipse.debug.core.DebugPlugin;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
import org.eclipse.debug.internal.ui.DebugUIPlugin;
+import org.eclipse.debug.internal.ui.IDebugHelpContextIds;
import org.eclipse.debug.ui.DebugUITools;
import org.eclipse.debug.ui.IDebugUIConstants;
-import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.jface.dialogs.IDialogSettings;
+import org.eclipse.jface.dialogs.TrayDialog;
import org.eclipse.jface.viewers.IContentProvider;
import org.eclipse.jface.viewers.ISelectionChangedListener;
import org.eclipse.jface.viewers.IStructuredContentProvider;
@@ -53,10 +53,12 @@ import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.dialogs.ListSelectionDialog;
import org.eclipse.ui.model.WorkbenchViewerSorter;
+import com.ibm.icu.text.MessageFormat;
+
/**
* Dialog for organizing favorite launch configurations
*/
-public class FavoritesDialog extends Dialog {
+public class FavoritesDialog extends TrayDialog {
/**
* Table of favorite launch configurations
@@ -274,6 +276,15 @@ public class FavoritesDialog extends Dialog {
return composite;
}
+ /* (non-Javadoc)
+ * @see org.eclipse.jface.dialogs.Dialog#createContents(org.eclipse.swt.widgets.Composite)
+ */
+ protected Control createContents(Composite parent) {
+ Control contents = super.createContents(parent);
+ PlatformUI.getWorkbench().getHelpSystem().setHelp(getDialogArea(), IDebugHelpContextIds.ORGANIZE_FAVORITES_DIALOG);
+ return contents;
+ }
+
/**
* Returns a label to use for launch mode with accelerators removed.
*

Back to the top