change.initializeValidationData(new NullProgressMonitor()); PerformChangeOperation performChangeOperation= RefactoringUI.createUIAwareChangeOperation(change); performChangeOperation.setSchedulingRule(unit.getSchedulingRule());
fChange.initializeValidationData(new SubProgressMonitor(pm, 1, SubProgressMonitor.PREPEND_MAIN_LABEL_TO_SUBTASK)); fPerformChangeOperation= RefactoringUI.createUIAwareChangeOperation(fChange); fPerformChangeOperation.setUndoManager(RefactoringCore.getUndoManager(), fRefactoring.getName()); if (fRefactoring instanceof IScheduledRefactoring)
Change change= refactoring.createChange(new NullProgressMonitor()); change.initializeValidationData(new NullProgressMonitor()); PerformChangeOperation op= RefactoringUI.createUIAwareChangeOperation(change);