this.offset = offset;
}
@Override
protected void performLongRunningComputation_do(IProgressMonitor monitor) throws CoreException {
ModuleParseCache clientModuleCache = DToolClient.getDefault().getClientModuleCache();
try {
clientModuleCache.setWorkingCopyAndGetParsedModule(inputPath, doc.get());
// This operation actually runs with the client cache, not on engine server
performLongRunningComputation_withUpdatedServerWorkingCopy();
} finally {
if(sourceModule.isWorkingCopy() == false) {
clientModuleCache.discardWorkingCopy(inputPath);
}
}
}