diff options
author | Michael Rennie | 2008-04-15 16:55:35 +0000 |
---|---|---|
committer | Michael Rennie | 2008-04-15 16:55:35 +0000 |
commit | 9dbdf18880b28ce64cd4474296c2f9f4d2067521 (patch) | |
tree | 004186ff2447c546a71f4ecbf7f1270146e26b9e /org.eclipse.debug.ui | |
parent | 48b21a77604d131cd0599a99d29cd4e8fa010924 (diff) | |
download | eclipse.platform.debug-9dbdf18880b28ce64cd4474296c2f9f4d2067521.tar.gz eclipse.platform.debug-9dbdf18880b28ce64cd4474296c2f9f4d2067521.tar.xz eclipse.platform.debug-9dbdf18880b28ce64cd4474296c2f9f4d2067521.zip |
Bug 217933 No hyperlink in LCD to set launcher after setting supported mode
Diffstat (limited to 'org.eclipse.debug.ui')
2 files changed, 4 insertions, 3 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java index 0da762fcf..ef2ce95fd 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2007 IBM Corporation and others. + * Copyright (c) 2000, 2008 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 @@ -321,6 +321,7 @@ public class LaunchConfigurationTabGroupViewer extends Viewer { getLaunchConfigurationDialog().getMode()); if(sldd.open() == IDialogConstants.OK_ID) { displayInstanceTabs(true); + refreshStatus(); } } } catch (CoreException ex) {} diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java index caa9ed643..297813243 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2007 IBM Corporation and others. + * Copyright (c) 2000, 2008 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 @@ -1226,7 +1226,7 @@ public class LaunchConfigurationsDialog extends TitleAreaDialog implements ILaun maxy = (int) (getDisplay().getBounds().height * MAX_DIALOG_HEIGHT_PERCENT); maxx = (maxx < DEFAULT_INITIAL_DIALOG_SIZE.x ? DEFAULT_INITIAL_DIALOG_SIZE.x : maxx); maxy = (maxy < DEFAULT_INITIAL_DIALOG_SIZE.y ? DEFAULT_INITIAL_DIALOG_SIZE.y : maxy); - Point psize = getShell().computeSize(SWT.DEFAULT, maxy); + Point psize = fTabViewer.getTabFolder().computeSize(SWT.DEFAULT, maxy); if((psize.x > maxx ? maxx : psize.x) > shell.x || (psize.y > maxy ? maxy : psize.y) > shell.y) { setShellSize(Math.min(psize.x, maxx), Math.min(psize.y, maxy)); } |