[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[jdt-ui-dev] New Element Wizard
|
Hi all,
I try to developp a "New Element Wizard" with two pages. When i register only
one all works fine.
When i register two page it doesn't work, no pages are displaying and i have
only an empty dialog.
The code in the Wizard that inherit from NewElementWizard :
public void addPages()
{
super.addPages();
if (mGeneralPage == null)
{
System.out.println("NewDTOWizard#addPages#createPage1");
mGeneralPage = new NewDTOWizardGeneralPage();
mGeneralPage.init(getSelection());
}
if (mPropertiesPage == null)
{
System.out.println("NewDTOWizard#addPages#createPage1");
mPropertiesPage = new NewDTOWizardPropertiesPage();
}
addPage(mGeneralPage);
addPage(mPropertiesPage);
}
Pages inherit from NewTypeWizardPage and WizardPage.
There is no "next" and "previous" management in the wizard class because i
guess that default behavior is enough.
Any suggestions ?
Thanks
MAC
___________________________________________________________________________
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences.
http://fr.answers.yahoo.com