Examples of performFinish()


Examples of org.eclipse.jdt.internal.ui.wizards.NewClassCreationWizard.performFinish()

      if (dialog.open() != Window.OK) {
        return null;
      }
    }
    else {
      wizard.performFinish();
    }

    return wizard.getCreatedElement();
  }
View Full Code Here

Examples of org.eclipse.jface.wizard.IWizard.performFinish()

        // if we're finishing from the main page then perform finish on the selected wizard.
        if (getContainer().getCurrentPage() == mainPage) {
      if (mainPage.canFinishEarly()) {
        IWizard wizard = mainPage.getSelectedNode().getWizard();
        wizard.setContainer(getContainer());
        return wizard.performFinish();
      }
    }
        return true;
    }
View Full Code Here

Examples of org.eclipse.jface.wizard.IWizard.performFinish()

        // if we're finishing from the main page then perform finish on the selected wizard.
        if (getContainer().getCurrentPage() == mainPage) {
      if (mainPage.canFinishEarly()) {
        IWizard wizard = mainPage.getSelectedNode().getWizard();
        wizard.setContainer(getContainer());
        return wizard.performFinish();
      }
    }
        return true;
    }
View Full Code Here

Examples of org.eclipse.jface.wizard.IWizard.performFinish()

    // selected wizard.
    if (getContainer().getCurrentPage() == mainPage) {
      if (mainPage.canFinishEarly()) {
        IWizard wizard = mainPage.getSelectedNode().getWizard();
        wizard.setContainer(getContainer());
        return wizard.performFinish();
      }
    }
    return true;
  }
View Full Code Here

Examples of org.eclipse.ui.INewWizard.performFinish()

        window.getWorkbench().getHelpSystem().setHelp(dialog.getShell(),
        IWorkbenchHelpContextIds.NEW_WIZARD_SHORTCUT);
       
        // if the wizard can finish early and doesn't have any pages, just finish it.
        if (wizardElement.canFinishEarly() && !wizardElement.hasPages()) {
      wizard.performFinish();
      dialog.close();
    } else {
      dialog.open();
    }
    }
View Full Code Here

Examples of org.eclipse.ui.IWorkbenchWizard.performFinish()

        IWorkbenchWizard wizard = wizardDescriptor.createWizard();
        wizard.init(PlatformUI.getWorkbench(),
            StructuredSelection.EMPTY);
       
        if (wizardDescriptor.canFinishEarly() && !wizardDescriptor.hasPages()) {
          wizard.performFinish();
          return null;
        }
       
        Shell parent = activeWindow.getShell();
        WizardDialog dialog = new WizardDialog(parent, wizard);
View Full Code Here

Examples of org.eclipse.ui.IWorkbenchWizard.performFinish()

      try {
        IWorkbenchWizard wizard = wizardDescriptor.createWizard();
        wizard.init(PlatformUI.getWorkbench(), getSelectionToUse(event));
       
        if (wizardDescriptor.canFinishEarly() && !wizardDescriptor.hasPages()) {
          wizard.performFinish();
          return null;
        }
       
        Shell parent = activeWindow.getShell();
        WizardDialog dialog = new WizardDialog(parent, wizard);
View Full Code Here

Examples of org.eclipse.ui.IWorkbenchWizard.performFinish()

      IWorkbenchWizard wizard = wizardDescriptor.createWizard();
      wizard.init(PlatformUI.getWorkbench(), StructuredSelection.EMPTY);

      if (wizardDescriptor.canFinishEarly()
          && !wizardDescriptor.hasPages()) {
        wizard.performFinish();
        return;
      }

      Shell parent = PlatformUI.getWorkbench().getActiveWorkbenchWindow()
          .getShell();
View Full Code Here

Examples of org.springframework.ide.eclipse.wizard.gettingstarted.boot.NewSpringBootWizardModel.performFinish()

public class ZipUrlImportWizardTest extends TestCase {
 
  public void testImportBasic() throws Exception {
    NewSpringBootWizardModel wizard = new NewSpringBootWizardModel();
    wizard.allowUIThread(true);
    wizard.performFinish(new NullProgressMonitor());
    IProject p = ResourcesPlugin.getWorkspace().getRoot().getProject(wizard.getProjectName().getValue());
    assertTrue(p.isAccessible());
  }

}
View Full Code Here

Examples of org.springframework.ide.eclipse.wizard.gettingstarted.boot.NewSpringBootWizardModel.performFinish()

    super.setUp();
    if (projectName==null) {
      NewSpringBootWizardModel wizard = new NewSpringBootWizardModel();
      wizard.allowUIThread(true);
      projectName = wizard.getProjectName().getValue();
      wizard.performFinish(new NullProgressMonitor());
      project = SpringBootCore.create(ResourcesPlugin.getWorkspace().getRoot().getProject(projectName));
     
      knownStarters = new HashMap<String, SpringBootStarter>();
     
      for (SpringBootStarter s : project.getKnownStarters()) {
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.