Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » is it possible to reuse the jface Wizard instance?
is it possible to reuse the jface Wizard instance? [message #438726] Thu, 01 July 2004 07:35 Go to next message
Eclipse UserFriend
Originally posted by: albert_tan.operamail.com

Hi All,

Is it possible to reuse the jface Wizard instance?
Let’s say I have to invoke the same wizards many places/ many
times in my application, So is it possible to use back the same instance
of the wizard in other places. Seems when I finish/Cancel my wizard, it's
internally disposing it's pages & container.

see my sample usage below:

OpenProjectWizard wiz = new OpenProjectWizard();
wiz.init(site.getWorkbenchWindow().getWorkbench(), null);

WizardDialog dialog = new WizardDialog(shell, wiz);

dialog.open(); // Invoke First time

dialog.open(); // Invoke Second time

dialog.open(); // Invoke third time


what happened is, when I invoked the second/ third time the wizard
did got invoked but ALL the operations disabled except CANCEL.

is this the normal behaviour?

thanks for any help.

thanks
Albert
Re: is it possible to reuse the jface Wizard instance? [message #439044 is a reply to message #438726] Mon, 05 July 2004 19:23 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
You should ask this on the eclipse.platform newsgroup.

"Albert" <albert_tan@operamail.com> wrote in message
news:cc0eri$kd0$1@eclipse.org...
>
> Hi All,
>
> Is it possible to reuse the jface Wizard instance?
> Let
Previous Topic:textlayout and styledtext
Next Topic:eclipse close process
Goto Forum:
  


Current Time: Fri Apr 26 06:35:44 GMT 2024

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

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

Back to the top