new file wizard reuse/ manually call it. [message #332145] |
Mon, 06 October 2008 23:55  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.05513 seconds