@Override
 public void setContainer(IWizardContainer wizardContainer) {
   super.setContainer(wizardContainer);
   if (wizardContainer != null && wizardContainer instanceof WizardDialog) {
     ((WizardDialog) getContainer()).addPageChangedListener((IPageChangedListener) this);
   }
 }
 @Override
 public void setContainer(IWizardContainer wizardContainer) {
   super.setContainer(wizardContainer);
   if (wizardContainer instanceof DynamicPathWizardDialog) {
     setDynamicWizardDialog((DynamicPathWizardDialog) wizardContainer);
   }
 }
Пример #3
0
  @Override
  public void setContainer(final IWizardContainer wizardContainer) {
    if (wizardContainer instanceof IPageChangeProvider) {
      final IPageChangeProvider pcp = (IPageChangeProvider) wizardContainer;
      pcp.addPageChangedListener(
          new IPageChangedListener() {

            public void pageChanged(final PageChangedEvent event) {
              if (event.getSelectedPage() == importIncludeAndSourceDirsPage) {
                setupDirectoriesPage();
              }
            }
          });
    }
    super.setContainer(wizardContainer);
  }