public void run(IProgressMonitor monitor) throws InvocationTargetException {
public void run() { try { if (resource == null) return; ISelection selection = tableHistoryViewer.getSelection(); if (!(selection instanceof IStructuredSelection)) return; IStructuredSelection ss = (IStructuredSelection)selection; currentSelection = (ILogEntry)ss.getFirstElement(); PlatformUI.getWorkbench().getProgressService().run(true, true, new IRunnableWithProgress() { public void run(IProgressMonitor monitor) throws InvocationTargetException {
                        public void run(IProgressMonitor monitor) throws InvocationTargetException {                            try {                                               action.run(monitor);                            } catch (CoreException e) {                                throw new InvocationTargetException(e);                            }                        }