Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » new file wizard reuse/ manually call it.
new file wizard reuse/ manually call it. [message #332145] Tue, 07 October 2008 03:55 Go to next message
Pawan is currently offline PawanFriend
Messages: 6
Registered: July 2009
Junior Member
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 09:30 Go to previous message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
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: Thu Dec 26 10:27:51 GMT 2024

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

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

Back to the top