mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-09 18:15:23 +02:00
[178540] RSEMainNewConnectionWizard does not compile against I20070320-0010
This commit is contained in:
parent
0478fb95fa
commit
05571eb87d
1 changed files with 5 additions and 10 deletions
|
@ -339,8 +339,11 @@ public class RSEMainNewConnectionWizard extends Wizard implements INewWizard, IS
|
||||||
*/
|
*/
|
||||||
public IWizardPage getNextPage(IWizardPage page) {
|
public IWizardPage getNextPage(IWizardPage page) {
|
||||||
IWizardPage nextPage = null;
|
IWizardPage nextPage = null;
|
||||||
if (page != null && page == mainPage && getSelectedWizard() != null) {
|
if (page != null && page == mainPage) {
|
||||||
nextPage = getSelectedWizard().getStartingPage();
|
// Save the last selected system type on page transition.
|
||||||
|
// But only if it is the main page.
|
||||||
|
saveWidgetValues();
|
||||||
|
if (getSelectedWizard() != null) nextPage = getSelectedWizard().getStartingPage();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nextPage == null) super.getNextPage(page);
|
if (nextPage == null) super.getNextPage(page);
|
||||||
|
@ -370,14 +373,6 @@ public class RSEMainNewConnectionWizard extends Wizard implements INewWizard, IS
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
|
||||||
* @see org.eclipse.jface.wizard.Wizard#doNextPressed()
|
|
||||||
*/
|
|
||||||
protected boolean doNextPressed() {
|
|
||||||
saveWidgetValues();
|
|
||||||
return super.doNextPressed();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Save the last selected system type id to the dialog settings.
|
* Save the last selected system type id to the dialog settings.
|
||||||
* Called from <code>onSelectedSystemTypeChanged</code> and <code>
|
* Called from <code>onSelectedSystemTypeChanged</code> and <code>
|
||||||
|
|
Loading…
Add table
Reference in a new issue