Package org.eclipse.jdt.internal.ui.refactoring.actions

Examples of org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter


    ConvertConstantsToEnumRefactoring convertConstantsToEnumRefactoring = new ConvertConstantsToEnumRefactoring(
        fieldsToRefactor);
    ConvertConstantsToEnumWizard wizard = new ConvertConstantsToEnumWizard(
        convertConstantsToEnumRefactoring,
        Messages.ConvertConstantsToEnum_Name);
    new RefactoringStarter().activate(wizard, shell,
        RefactoringMessages.OpenRefactoringWizardAction_refactoring,
        RefactoringSaveHelper.SAVE_REFACTORING);
  }
View Full Code Here


    if (!RefactoringAvailabilityTester.isRenameAvailable(resource)) {
      return;
    }
    RenameWOComponentWizard wizard = new RenameWOComponentWizard(resource);
    new RefactoringStarter().activate(wizard, _site.getShell(), wizard.getWindowTitle(), RefactoringSaveHelper.SAVE_ALL);
  }
View Full Code Here

    IResource resource = getResource(selection);
    if (!RefactoringAvailabilityTester.isRenameAvailable(resource)) {
      return;
    }
    RenameWOComponentWizard wizard = new RenameWOComponentWizard(resource);
    new RefactoringStarter().activate(wizard, _site.getShell(), wizard.getWindowTitle(), RefactoringSaveHelper.SAVE_ALL);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter

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.