• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Adding multiple pages to wizard

 
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I am trying to add a new page to an already existing wizard. I have also added some controls to that page. But the problem is the page is getting displayed BLANK and the controls are getting displayed in
the next page. I have overridden the createBeginningPages() method.It didnt work. Then tried overriding addPages() method also. Again it didnt work. I am confused..

protected IWizardPage[] createBeginingPages() {
IWizardPage[]iPages = new IWizardPage[2];
iPages[0] = createFirstPage();
iPages[1] = createSecondPage();
return iPages;
}

When i check in debug mode, the control is going properly as expected in creating the second page and also creating the controls in that page.But.. in the output its missing..
Can someone please help in this?

Thanks
 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What library are you using?
 
Manikandan Swaminathan
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am sorry, can you please be more clear - There are many JAR files we are using currently.Which one are you referring?

Thanks
 
Rob Spoor
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What JAR file does class IWizardPage come from?
 
Bartender
Posts: 825
5
Python Ruby Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Raghuraman Guruswamy wrote:
...
I have overridden the createBeginningPages() method.It didnt work. Then tried overriding addPages() method also. Again it didnt work. I am confused..

protected IWizardPage[] createBeginingPages() {
IWizardPage[]iPages = new IWizardPage[2];
iPages[0] = createFirstPage();
iPages[1] = createSecondPage();
return iPages;
}

...



If it's JFace IWizardPage I don't think there is a createBeginningPages() to override. And if it's WebProjectWizard class you're overriding, I think this is not a place for this topic.
 
Manikandan Swaminathan
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The class extends WebProjectWizard which inturn extends the NewProjectDataModelFacetWizard where the method createBeginingPages has been defined.
 
I claim this furniture in the name of The Ottoman Empire! You can keep this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic