[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: SWT Wizard: callback when flipping to next or previous page

If you don't get a satisfactory answer here then you should ask on the
eclipse.platform.rcp newsgroup, since wizard and its associated classes
belong to jface.

"Manuel Aldana" <aldan@xxxxxx> wrote in message
news:ejqt64$mju$1@xxxxxxxxxxxxxxxxxxxx
> > IWizardContainer container = wizard.getContainer();
> > if (container instanceof IPageChangeProvider) {
> >   ((IPageChangeProvider) container).addPageChangeListener(listener));
> > }
>
> thanks for your answer.
>
> problem is that getContainer() in subclassed Wizard implementation and
> inside WizardPage class constructors always returns null reference. most
> likely Container is set after wizard constructor is finished, which is
> too late for me because i want to add my IPageChangedListener inside my
> wizard constructor routine.
>
>
> -- 
>   manuel aldana
>   aldana@xxxxxx
>   aldana@xxxxxxxxxxxxxxx
>   homepage: http://www.aldana-online.de
>