final ISVNRemoteResource remoteResource = historyTableProvider.getRemoteResource(); if(fetchNextLogEntriesJob == null) { fetchNextLogEntriesJob = new FetchNextLogEntriesJob(); } if(fetchNextLogEntriesJob.getState() != Job.NONE) { fetchNextLogEntriesJob.cancel(); try { fetchNextLogEntriesJob.join(); } catch(InterruptedException e) { SVNUIPlugin.log(new SVNException(Policy .bind("HistoryView.errorFetchingEntries", remoteResource.getName()), e));
try { if(resource == null) return; PlatformUI.getWorkbench().getProgressService().run(true, true, new IRunnableWithProgress() { public void run(IProgressMonitor monitor) throws InvocationTargetException { try { action.run(monitor); } catch(CoreException e) { throw new InvocationTargetException(e); }
        public void run() {          final ISVNRemoteResource remoteResource = historyTableProvider.getRemoteResource();          if(fetchNextLogEntriesJob == null) {            fetchNextLogEntriesJob = new FetchNextLogEntriesJob();          }          if(fetchNextLogEntriesJob.getState() != Job.NONE) {            fetchNextLogEntriesJob.cancel();            try {              fetchNextLogEntriesJob.join();            } catch(InterruptedException e) {              SVNUIPlugin.log(new SVNException(Policy                  .bind("HistoryView.errorFetchingEntries", remoteResource.getName()), e)); //$NON-NLS-1$            }          }          fetchNextLogEntriesJob.setRemoteFile(remoteResource);          Utils.schedule(fetchNextLogEntriesJob, getSite());        }