how to populate WizardPage at view time? [message #81613] |
Sat, 05 April 2008 14:31  |
Eclipse User |
|
|
|
Hi all,
Using latest RAP. I want my subclass of WizardPage to populate at view
time, on the basis of information entered in the previous page. How can I
do this? I cannot find a single method in WizardPage which is called at
the time when it becomes the current page in the wizard.
I also find that getControl() gets called multiple times before the page
is the current page. Within method getControl(), I find that
isCurrentPage() always return false, so I cannot use this to hook into
whent he WizardPage intially loads.
Thanks much,
David Donohue
@Override
public Control getControl() {
log.info("getControl() called; isCurrentPage()? "+ isCurrentPage());
return super.getControl();
}
|
|
|
|
|
|
Re: how to populate WizardPage at view time? [message #83802 is a reply to message #83511] |
Mon, 21 April 2008 05:52  |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Hi Setya,
with a custom implementation of IWizardContainer it is possible to
place a wizard in a container other than a dialog.
Though technically possible, I am not sure if this is something a
user would expect.
Cheers,
Rüdiger
Setya wrote:
> Rüdiger,
>
>> as you are using a WizardDialog, have you tried to use
>> WizardDialog#addPageChangingListener ?
>
> You statement above implies that we can put wizard in container other
> than Dialog, is it possible to put it in IEditorPart or IViewPart for
> instance ?
>
> Regards,
>
> Setya
>
|
|
|
Powered by
FUDForum. Page generated in 0.09580 seconds