fContentProvider.refreshCache(new IMark[] { mark }, false);
}
@Override
protected void runInUI(IProgressMonitor monitor) {
IStructuredSelection oldSelection = null;
Object value = fgSelectionCache.get(fInput.hashCode());
if (value != null)
oldSelection = new StructuredSelection(value);
/* Set input to News-Table if Visible */
if (!fBgMonitor.isCanceled() && isTableViewerVisible())
stableSetInputToNewsTable(mark, oldSelection);
/* Clear old Input from Table */
else if (!fBgMonitor.isCanceled() && reused)
fNewsTableControl.setPartInput(null);
/* Set input to News-Browser if visible */
if (!fBgMonitor.isCanceled() && (!isTableViewerVisible() || (BROWSER_SHOWS_ALL && oldSelection == null)))
fNewsBrowserControl.setPartInput(mark);
/* Reset old Input to Browser if availabel */
else if (!fBgMonitor.isCanceled() && oldSelection != null)
fNewsBrowserControl.setPartInput(oldSelection.getFirstElement());
/* Clear old Input from Browser */
else if (!fBgMonitor.isCanceled() && reused)
fNewsBrowserControl.setPartInput(null);