Package org.eclipse.jdt.internal.corext.refactoring.reorg.IReorgPolicy

Examples of org.eclipse.jdt.internal.corext.refactoring.reorg.IReorgPolicy.IMovePolicy.canEnable()


  protected void startRefactoring(IResource[] resources, IJavaElement[] javaElements, Shell shell)
      throws CoreException {
    if (RefactoringAvailabilityTester.isMoveAvailable(resources, javaElements)) {
      IMovePolicy policy = ReorgPolicyFactory.createMovePolicy(resources, javaElements);
      if (policy.canEnable()) {
        JavaMoveProcessor processor = new JavaMoveProcessor(policy);
        Refactoring refactoring = new MoveRefactoring(processor);
       
        RefactoringWizard wizard = null;
       
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.