Community
Participate
Working Groups
import org.eclipse.core.runtime.Assert;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.OperationCanceledException;
import org.eclipse.core.runtime.SubProgressMonitor;
import org.eclipse.ltk.core.refactoring.CategorizedTextEditGroup;
adjustment= (IVisibilityAdjustment) fAdjustments.get(member);
if (adjustment != null)
adjustment.rewriteVisibility(this, new SubProgressMonitor(monitor, 1));
if (monitor.isCanceled())
throw new OperationCanceledException();
}
} finally {
fTypeHierarchies.clear();
IMethod method= tester.findOverridingMethodInType(subtypes[i], fTargetMethod);
if (method != null && method.exists()) {
result.merge(adjustVisibility(method, neededVisibility, monitor));
if (result.hasError())
return result; // binary
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.jobs.ISchedulingRule;
pm.beginTask("", 4); //$NON-NLS-1$
pm.subTask(""); //$NON-NLS-1$
fCreateChangeOperation.run(new SubProgressMonitor(pm, 3));
if (pm.isCanceled())
fChange= fCreateChangeOperation.getChange();
if (fChange != null) {
executeChange(new SubProgressMonitor(pm, 1));