1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-05 07:15:39 +02:00

[fix] [182382] Missing Titles on New Connection Wizard Pages

This commit is contained in:
Uwe Stieber 2007-04-18 10:07:56 +00:00
parent dd3cb955c7
commit 5e7a992873

View file

@ -292,6 +292,13 @@ public class RSEMainNewConnectionWizard extends Wizard implements INewWizard, IS
selectedWizard.setContainer(getContainer()); selectedWizard.setContainer(getContainer());
} }
// Check if the wizard defines it's own window title. If not, make sure to pass the
// main wizards window title.
if (selectedWizard instanceof Wizard
&& (selectedWizard.getWindowTitle() == null || "".equals(selectedWizard.getWindowTitle()))) { //$NON-NLS-1$
((Wizard)selectedWizard).setWindowTitle(getWindowTitle());
}
// if the newly selected wizard is the default RSE new connection wizard // if the newly selected wizard is the default RSE new connection wizard
// and the selected context is non-null, set the selected context to the // and the selected context is non-null, set the selected context to the
// default RSE new connection wizard. // default RSE new connection wizard.