Package org.eclipse.jface.wizard

Examples of org.eclipse.jface.wizard.IWizardPage


     *
     * @see org.eclipse.jface.wizard.Wizard#canFinish()
     */
    @Override
    public boolean canFinish() {
        IWizardPage page = getContainer().getCurrentPage();
        return super.canFinish() && page == getPages()[getPageCount()-1];
    }
View Full Code Here


            attributePage = new NewEntryAttributesWizardPage( NewEntryAttributesWizardPage.class.getName(), this );
            addPage( attributePage );
        }
        else
        {
            IWizardPage page = new DummyWizardPage();
            addPage( page );
        }
    }
View Full Code Here

            mainPage = new NewBookmarkMainWizardPage( NewBookmarkMainWizardPage.class.getName(), selectedEntry, this );
            addPage( mainPage );
        }
        else
        {
            IWizardPage page = new DummyWizardPage();
            addPage( page );
        }
    }
View Full Code Here

            finishPage = new BatchOperationFinishWizardPage( BatchOperationFinishWizardPage.class.getName(), this );
            addPage( finishPage );
        }
        else
        {
            IWizardPage page = new DummyWizardPage();
            addPage( page );
        }
    }
View Full Code Here

                initialAttributeDescription, this );
            addPage( optionsPage );
        }
        else
        {
            IWizardPage page = new DummyWizardPage();
            addPage( page );
        }
    }
View Full Code Here

    /* (non-Javadoc)
     * @see org.eclipse.jface.wizard.Wizard#canFinish()
     */
    public boolean canFinish()
    {
        IWizardPage currentPage = getContainer().getCurrentPage();

        if ( currentPage.equals( informationPage ) )
        {
            return false;
        }
        else if ( currentPage.equals( schemasSelectionPage ) )
        {
            return true;
        }
        //        else if ( currentPage.equals( connectionSelectionPage ) )
        //        {
View Full Code Here

    // return newDriverPage; // if "generate mapper" checked, second page is
    // new driver page
    // }
    // else
    // {
    IWizardPage answer = super.getNextPage(page);
    if (answer == newDriverPage) {
      return null; // dont flip to new driver page unless "generate
      // driver" is checked
    } else if (answer == javaPage) {
      return answer;
View Full Code Here

        setDefaultPageImageDescriptor(desc);
    }

    @Override
    public boolean canFinish() {
        IWizardPage currentPage = this.getContainer().getCurrentPage();
        return currentPage == this.settingsPage; //can only finish at the last page!
    }
View Full Code Here

    return true;
  }

  @Override
  public String getWindowTitle() {
    final IWizardPage currentPage = getContainer().getCurrentPage();
    if (currentPage == repoPage || currentPage == null)
      return UIText.PushWizard_windowTitleDefault;
    final String destination = getDestinationString(repoPage.getSelection());
    return NLS.bind(UIText.PushWizard_windowTitleWithDestination,
        destination);
View Full Code Here

    return true;
  }

  @Override
  public String getWindowTitle() {
    final IWizardPage currentPage = getContainer().getCurrentPage();
    if (currentPage == repoPage || currentPage == null)
      return UIText.FetchWizard_windowTitleDefault;
    return NLS.bind(UIText.FetchWizard_windowTitleWithSource,
        getSourceString());
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jface.wizard.IWizardPage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.