1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 08:55:25 +02:00

move setDialogShell into Maintab to is will alway be set

This commit is contained in:
David Inglis 2002-09-26 12:57:45 +00:00
parent d7afd79e1e
commit 2d183e519d
4 changed files with 2 additions and 5 deletions

View file

@ -61,7 +61,7 @@ public class LaunchUIPlugin extends AbstractUIPlugin {
return shell;
}
public static void setDebugDialogShell(Shell shell) {
public static void setDialogShell(Shell shell) {
debugDialogShell = shell;
}

View file

@ -121,8 +121,6 @@ public class CDebuggerTab extends AbstractCDebuggerTab {
gd = new GridData(GridData.FILL_BOTH);
gd.horizontalSpan = 2;
getDynamicTabHolder().setLayoutData(gd);
LaunchUIPlugin.setDebugDialogShell(parent.getShell());
}
protected void loadDebuggerComboBox(ILaunchConfiguration config, String selection) {

View file

@ -140,6 +140,7 @@ public class CMainTab extends CLaunchConfigurationTab {
updateLaunchConfigurationDialog();
}
});
LaunchUIPlugin.setDialogShell(parent.getShell());
}
/**

View file

@ -54,8 +54,6 @@ public class CorefileDebuggerTab extends AbstractCDebuggerTab {
GridData gd = new GridData(GridData.FILL_BOTH);
gd.horizontalSpan = 2;
getDynamicTabHolder().setLayoutData(gd);
LaunchUIPlugin.setDebugDialogShell(parent.getShell());
}
protected void loadDebuggerComboBox(ILaunchConfiguration config, String selection) {