Examples of IWizardPage


Examples of org.eclipse.jface.wizard.IWizardPage

    newShell.setSize(800, 800);
  }

  @Override
  public void nextPressed() {
    IWizardPage nextPage = getCurrentPage().getNextPage();
    if (nextPage instanceof AndrolateWizardPage) {
      ((AndrolateWizardPage) nextPage).onEnterPage();
    }
    super.nextPressed();
  }
View Full Code Here

Examples of org.eclipse.jface.wizard.IWizardPage

    public IProject getNewProject() {
        return newProject;
    }

    public IWizardPage getNextPage(final IWizardPage currentPage) {
        final IWizardPage nextPage = super.getNextPage(currentPage);
        if (nextPage == repositoryWizardPage) {
            final String projectName = mainPage.getProjectName();
            final CollaborativeWorkingComponent collaborativeWorkingComponent =
                repositoryWizardPage.getCollaborativeWorkingComponent();
            collaborativeWorkingComponent.setProjectName(projectName);
View Full Code Here

Examples of org.eclipse.jface.wizard.IWizardPage

     *
     * @param currentPage The current page
     * @return The next page
     */
    public IWizardPage getNextPage(IWizardPage currentPage) {
        IWizardPage nextPage = super.getNextPage(currentPage);

        try {
            if (currentPage instanceof ProjectProvider) {
                project = ((ProjectProvider) currentPage).getProject();
            }
View Full Code Here

Examples of org.eclipse.jface.wizard.IWizardPage

     *
     * @param currentPage The current page
     * @return The previous page
     */
    public IWizardPage getPreviousPage(IWizardPage currentPage) {
        IWizardPage prevPage = super.getPreviousPage(currentPage);
        if (currentPage instanceof ProjectProvider) {
            projectChanged(((ProjectProvider) currentPage).getProject());
        }
        return prevPage;
    }
View Full Code Here

Examples of org.eclipse.jface.wizard.IWizardPage

      @Override
      public void widgetSelected(SelectionEvent e) {
        setPageComplete(true);

        IWizard wizard = getWizard();
        IWizardPage page = wizard.getNextPage(WizardGraphTypePage.this);
        updateSelection((IGraphTypeSettable) page);
      }

    });
  }
View Full Code Here

Examples of org.eclipse.jface.wizard.IWizardPage

    setWindowTitle("Save As...");
  }

  @Override
  public void addPages() {
    IWizardPage page = new WizardGraphTypePage(selection);
    page.setDescription("Save the graph with the chosen type.");
    addPage(page);

    addPage(new WizardConvertPage(selection));

    // To improve user experience, the selection is the editor's input file.
    IStructuredSelection selection = this.selection;
    Object obj = selection.getFirstElement();
    if (obj instanceof GraphEditor) {
      GraphEditor editor = (GraphEditor) obj;
      IEditorInput input = editor.getEditorInput();
      if (input instanceof IFileEditorInput) {
        IFile file = ((IFileEditorInput) input).getFile();
        selection = new StructuredSelection(file);
      }
    }

    page = new WizardSaveGraphPage(selection);
    page.setDescription("Save graph as.");
    addPage(page);
  }
View Full Code Here

Examples of org.eclipse.jface.wizard.IWizardPage

    /* (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

Examples of org.eclipse.jface.wizard.IWizardPage

    // 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

Examples of org.eclipse.jface.wizard.IWizardPage

      public void onChanged() {
        getContainer().updateButtons();
      }
    };

    final IWizardPage oPage = newWizard.addPage("options", optionPage);
    oPage.setTitle("Export data to data store");
    final IWizardPage folderPage = newWizard.addPage("folder",
        outPutFolderPage);

    INextPageProvider provider = new INextPageProvider() {

      public IWizardPage getNextPage(IWizardPage cureIWizardPage) {
View Full Code Here

Examples of org.eclipse.jface.wizard.IWizardPage

      public void onChanged() {
        getContainer().updateButtons();
      }
    };
    final IWizardPage oPage = newWizard.addPage("options", optionsPage);
    oPage.setTitle("Export data to data store");
    final IWizardPage folderPage = newWizard.addPage("folder",
        outPutFolderPage);

    final IWizardPage filePage = newWizard.addPage("file", outPutFilePage);
    final IWizardPage jdbcPage = newWizard.addPage("file", jdbcDataPage);

    INextPageProvider provider = new INextPageProvider() {

      public IWizardPage getNextPage(IWizardPage cureIWizardPage) {
        if (cureIWizardPage == oPage) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.