mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-29 11:55:40 +02:00
move setDialogShell into Maintab to is will alway be set
This commit is contained in:
parent
d7afd79e1e
commit
2d183e519d
4 changed files with 2 additions and 5 deletions
|
@ -61,7 +61,7 @@ public class LaunchUIPlugin extends AbstractUIPlugin {
|
||||||
return shell;
|
return shell;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void setDebugDialogShell(Shell shell) {
|
public static void setDialogShell(Shell shell) {
|
||||||
debugDialogShell = shell;
|
debugDialogShell = shell;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -121,8 +121,6 @@ public class CDebuggerTab extends AbstractCDebuggerTab {
|
||||||
gd = new GridData(GridData.FILL_BOTH);
|
gd = new GridData(GridData.FILL_BOTH);
|
||||||
gd.horizontalSpan = 2;
|
gd.horizontalSpan = 2;
|
||||||
getDynamicTabHolder().setLayoutData(gd);
|
getDynamicTabHolder().setLayoutData(gd);
|
||||||
|
|
||||||
LaunchUIPlugin.setDebugDialogShell(parent.getShell());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void loadDebuggerComboBox(ILaunchConfiguration config, String selection) {
|
protected void loadDebuggerComboBox(ILaunchConfiguration config, String selection) {
|
||||||
|
|
|
@ -140,6 +140,7 @@ public class CMainTab extends CLaunchConfigurationTab {
|
||||||
updateLaunchConfigurationDialog();
|
updateLaunchConfigurationDialog();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
LaunchUIPlugin.setDialogShell(parent.getShell());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -54,8 +54,6 @@ public class CorefileDebuggerTab extends AbstractCDebuggerTab {
|
||||||
GridData gd = new GridData(GridData.FILL_BOTH);
|
GridData gd = new GridData(GridData.FILL_BOTH);
|
||||||
gd.horizontalSpan = 2;
|
gd.horizontalSpan = 2;
|
||||||
getDynamicTabHolder().setLayoutData(gd);
|
getDynamicTabHolder().setLayoutData(gd);
|
||||||
|
|
||||||
LaunchUIPlugin.setDebugDialogShell(parent.getShell());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void loadDebuggerComboBox(ILaunchConfiguration config, String selection) {
|
protected void loadDebuggerComboBox(ILaunchConfiguration config, String selection) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue