Package org.eclipse.ltk.ui.refactoring

Examples of org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run()


    ConvertFromJUnitRefactoring ref = new ConvertFromJUnitRefactoring(page, null /* status */);
    ConvertFromJUnitWizard wizard = new ConvertFromJUnitWizard(ref, 0);
    RefactoringWizardOpenOperation op = new RefactoringWizardOpenOperation(wizard);
    try {
      String titleForFailedChecks = ""; //$NON-NLS-1$
      op.run(shell, titleForFailedChecks);
    } catch( InterruptedException irex ) {
      // operation was cancelled
    }
  }
}
View Full Code Here


  public void run(RefactoringWizard wizard, Shell parent, String dialogTitle) {
    try {
      RefactoringWizardOpenOperation operation = new RefactoringWizardOpenOperation(
          wizard);
      operation.run(parent, dialogTitle);
    } catch (InterruptedException exception) {
      // Do nothing
    }
  }
View Full Code Here

    }

    try {
      RefactoringWizardOpenOperation op = new RefactoringWizardOpenOperation(
          wizard);
      int result = op.run(parent, dialogTitle);
      fStatus = op.getInitialConditionCheckingStatus();
      if (result == IDialogConstants.CANCEL_ID
          || result == RefactoringWizardOpenOperation.INITIAL_CONDITION_CHECKING_FAILED) {
        saveHelper.triggerBuild();
        return false;
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.