Community
Participate
Working Groups
Hi, I wanted to extends the wizard oep.uml.diagram.wizards.wizards.NewPapyrusProjectWizard to create a custom wizard for the ESF project. The problem is that the API proposed by this class may need a refactor to be extended easily. In fact, in the init method, the first wizard page is created directly with : (...) setMyProjectPage(new PapyrusProjectCreationPage(Messages.NewPapyrusProjectWizard_0)); getMyProjectPage().setDescription(Messages.NewPapyrusProjectWizard_1); (...) And the API which can be extended to customise the page is like this : public PapyrusProjectCreationPage getMyProjectPage() { return myProjectPage; } public void setMyProjectPage(PapyrusProjectCreationPage myProjectPage) { this.myProjectPage = myProjectPage; } protected WizardNewProjectCreationPage createNewProjectCreationPage() { return this.myProjectPage; } The thing is that I can't easily override the page creation as the createNewProjectCreationPage doesn't create anything ... and is not called in the class if I don't make a mistake. Regards, Jonathan