Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » new file wizard reuse/ manually call it.
new file wizard reuse/ manually call it. [message #332145] Mon, 06 October 2008 23:55 Go to next message
Eclipse UserFriend
hi,
we have an IDE in which we accept some values from the user in the new
file wizard and create a new file and also we place the information
collected from the wizard into the header of the file. Now if we open some
old file in the editor and the header doesn't have full information and we
ask the user to provide the not found info. So, can you please tell me is
there any way to invoke the new file wizard again at that point. If yes,
what else we need to do so that it works properly.\

thanks
Pawan
Re: new file wizard reuse/ manually call it. [message #332241 is a reply to message #332145] Tue, 14 October 2008 05:30 Go to previous message
Eclipse UserFriend
WizardDialog dialog = new WizardDialog(shell, yourNewWizard);
dialog.open();

In case your wizard does something on the initial selection, then you may
have to call the init method of your New Wizard before opening the dialog.

- Prakash

--

http://blog.eclipse-tips.com


"Pawan " <pawan_yadav01@infosys.com> wrote in message
news:7f4d61e9bfd748eb8b12aeea6522f699$1@www.eclipse.org...
> hi,
> we have an IDE in which we accept some values from the user in the new
> file wizard and create a new file and also we place the information
> collected from the wizard into the header of the file. Now if we open some
> old file in the editor and the header doesn't have full information and we
> ask the user to provide the not found info. So, can you please tell me is
> there any way to invoke the new file wizard again at that point. If yes,
> what else we need to do so that it works properly.\
>
> thanks
> Pawan
>
Previous Topic:Unable to do Software Updates on Eclipse 3.4
Next Topic:Eclipse update fails
Goto Forum:
  


Current Time: Mon Apr 28 01:42:39 EDT 2025

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

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

Back to the top