Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Building wizards problem.
Building wizards problem. [message #193816] Tue, 13 February 2007 19:39 Go to next message
Eclipse UserFriend
Originally posted by: jamarijr.gmail.com

I am doing a plugin that has a 2 page widget.

When I only do 1 page, each page works fine. Meaning:
ssPage = new SystemSelectionPage(selecti);
// devPage = new DeviceSelectionPage(selecti);
addPage( ssPage );
// addPage( devPage );

Works fine
// ssPage = new SystemSelectionPage(selecti);
devPage = new DeviceSelectionPage(selecti);
// addPage( ssPage );
addPage( devPage );
Works fine.

But when I have both pages enabled the 1st (which uses the grid layout) the
screen is basically blank, but the 2nd page is perfectly fine?!? Any hints?
Re: Building wizards problem. [message #193984 is a reply to message #193816] Wed, 14 February 2007 11:31 Go to previous message
zakir Hussain is currently offline zakir HussainFriend
Messages: 76
Registered: July 2009
Member
In the createControl method of the first wizard page

create one composite with some name...xyz

once you create the composite xyz add all the controls on top of it...

and at the end of the createcontrol method

add a line setControl(xyz)

------------------------------------------------------------ ---

In your second wizard page ..createControl method

create a composite with some different name .... assume abc


and create all the controls on top of it...

and just before the end of createcontrol method

add a line setControl(abc)

------------------------------------------------------------ --------

If you do this ...i am 100% confident that your problem will be solved....

------------------------------------------------------------ ----------
Previous Topic:Getting the Full method signature from the outline view
Next Topic:is this group functioning.....
Goto Forum:
  


Current Time: Fri Apr 26 11:17:10 GMT 2024

Powered by FUDForum. Page generated in 0.07463 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top