Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCurtis Windatt2007-07-17 19:19:37 +0000
committerCurtis Windatt2007-07-17 19:19:37 +0000
commit37e6fc3b8882666a945550e34edd3e75cf66e1ef (patch)
tree3a70741bafa66134808183d5246141d0daff821e /org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching
parent0c1d43ff85ed8aabd7212974179aa8509fdb0322 (diff)
downloadeclipse.platform.debug-37e6fc3b8882666a945550e34edd3e75cf66e1ef.tar.gz
eclipse.platform.debug-37e6fc3b8882666a945550e34edd3e75cf66e1ef.tar.xz
eclipse.platform.debug-37e6fc3b8882666a945550e34edd3e75cf66e1ef.zip
Bug 185196 - Debug selection dialogs should subclass AbstractDebugSelectionDialog
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/ContextRunner.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/ContextRunner.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/ContextRunner.java
index 3ecf83cdd..b668039b8 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/ContextRunner.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/ContextRunner.java
@@ -270,10 +270,7 @@ public final class ContextRunner {
* @param mode the mode
*/
protected void showConfigurationSelectionDialog(List configurations, String mode) {
- LaunchConfigurationSelectionDialog lsd = new LaunchConfigurationSelectionDialog(DebugUIPlugin.getShell());
- if(configurations != null) {
- lsd.setInput(configurations);
- }
+ LaunchConfigurationSelectionDialog lsd = new LaunchConfigurationSelectionDialog(DebugUIPlugin.getShell(), configurations);
if(lsd.open() == IDialogConstants.OK_ID) {
ILaunchConfiguration config = (ILaunchConfiguration) lsd.getResult()[0];
launch(config, mode);
@@ -288,8 +285,7 @@ public final class ContextRunner {
* @param mode the mode
*/
protected void showShortcutSelectionDialog(IResource resource, List shortcuts, String mode) {
- LaunchShortcutSelectionDialog dialog = new LaunchShortcutSelectionDialog(resource, mode);
- dialog.setInput(shortcuts);
+ LaunchShortcutSelectionDialog dialog = new LaunchShortcutSelectionDialog(shortcuts, resource, mode);
if (dialog.open() == Window.OK) {
Object[] result = dialog.getResult();
if(result.length > 0) {

Back to the top