Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How can we make contants of WizrdPage Dynamic in JFace
How can we make contants of WizrdPage Dynamic in JFace [message #290735] Wed, 31 August 2005 04:39 Go to next message
Eclipse UserFriend
Originally posted by: bharat.khanna.wipro.com

I am developing a Wizard Application in JFace Wizard.
The scenario is like that based on some user input on first Wizard screen,
I have to dynamically create the second screen(show different GUI
components).Like user has provided some value to me and based on that
value I have to show different no. of Tabs on next screen. Since the
createControl method in which we design our GUI is called once the wizard
is first opened, How can I go for this.Any help would be appreciated.

Thanka, Bharat
Re: How can we make contants of WizrdPage Dynamic in JFace [message #290753 is a reply to message #290735] Wed, 31 August 2005 13:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Michael_Valenta.oti.com

I don't know if there is a prescribed way to do this but what I often do is
use a PageBook and dynamically add pages to it and show them when I need to.
In other words, you could create a PageBook with an empty page and then,
when the user clicks next, dynamically create and activate a page (really
just a composite) that shows what you want.

Michael

"Bharat Khanna" <bharat.khanna@wipro.com> wrote in message
news:358c816e0dbea240e87f4320c24ce5b9$1@www.eclipse.org...
>I am developing a Wizard Application in JFace Wizard.
> The scenario is like that based on some user input on first Wizard screen,
> I have to dynamically create the second screen(show different GUI
> components).Like user has provided some value to me and based on that
> value I have to show different no. of Tabs on next screen. Since the
> createControl method in which we design our GUI is called once the wizard
> is first opened, How can I go for this.Any help would be appreciated.
>
> Thanka, Bharat
>
Re: How can we make contants of WizrdPage Dynamic in JFace [message #290784 is a reply to message #290753] Thu, 01 September 2005 06:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bharat.khanna.wipro.com

Thanks Michael for the reply. I am wondering whether JFace doesn't have
any support for dynamic GUI creation.

Bharat
Re: How can we make contants of WizrdPage Dynamic in JFace [message #290809 is a reply to message #290784] Thu, 01 September 2005 16:16 Go to previous message
Eclipse UserFriend
Originally posted by: busch.roguewave.com

There is an example of dynamically creating and loading Wizard pages here:
http://www.jdg2e.com/ch16.dialogs/doc/

However I'm having a huge problem getting delayed page creation to work.
If I follow their example and comment out the call to super() in the
constructor, and comment out super.createPageControls(arg0) in my wizard's
createPageControls(), then I get no pages displayed at all.

This seems to be the best answer for wizard pages that depend on previous
page values, so I'd like to get it working. Very frustrating!!
Previous Topic:Capabilities pref page missing in the Platform runtime + JDT + PDE
Next Topic:Is there a clean way to fetch IFolder from absolute path (location)
Goto Forum:
  


Current Time: Fri Apr 26 23:52:42 GMT 2024

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

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

Back to the top