Lines 4462-4469
Link Here
|
4462 |
if (workspace.isTreeLocked()) { |
4462 |
if (workspace.isTreeLocked()) { |
4463 |
new BatchOperation(action).run(monitor); |
4463 |
new BatchOperation(action).run(monitor); |
4464 |
} else { |
4464 |
} else { |
4465 |
// use IWorkspace.run(...) to ensure that a build will be done in autobuild mode |
4465 |
try { |
4466 |
workspace.run(new BatchOperation(action), rule, IWorkspace.AVOID_UPDATE, monitor); |
4466 |
// use IWorkspace.run(...) to ensure that a build will be done in autobuild mode |
|
|
4467 |
workspace.run(new BatchOperation(action), rule, IWorkspace.AVOID_UPDATE, monitor); |
4468 |
} finally { |
4469 |
if (JavaModelOperation.operationStacks.get() == null) { |
4470 |
// if it was a top level operation, fire remaining deltas (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=188340) |
4471 |
DeltaProcessor deltaProcessor = (DeltaProcessor) JavaModelManager.getJavaModelManager().deltaState.deltaProcessors.get(); |
4472 |
if (deltaProcessor != null) |
4473 |
deltaProcessor.fire(null, DeltaProcessor.DEFAULT_CHANGE_EVENT); |
4474 |
} |
4475 |
} |
4467 |
} |
4476 |
} |
4468 |
} |
4477 |
} |
4469 |
/** |
4478 |
/** |