Package org.eclipse.ltk.core.refactoring.participants

Examples of org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring


    }

    MoveResourcesProcessor processor = new MoveResourcesProcessor(resources);
    processor.setDestination(target);

    ProcessorBasedRefactoring refactoring = new ProcessorBasedRefactoring(
        processor);
    CheckConditionsOperation checkOp = new CheckConditionsOperation(
        refactoring, CheckConditionsOperation.ALL_CONDITIONS);
    CreateChangeOperation operation = new CreateChangeOperation(checkOp,
        RefactoringStatus.WARNING);
View Full Code Here


    }

    // need to look at already refactored positions to make sure offsets are
    // correct
    List<Integer> refactoredPositions = new ArrayList<Integer>();
    ProcessorBasedRefactoring refactoring = getProcessor().getRefactoring();
    if (refactoring != null) {
      TextChange textChange = refactoring.getTextChange(file);
      if (textChange != null) {
        TextEdit edit = textChange.getEdit();
        getPositions(edit, refactoredPositions);
      }
    }
View Full Code Here

TOP

Related Classes of org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring

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.