viewer = new TableViewer(PlatformUtils.createResourceHistoryTable(parent));
viewer.getTable().setLayoutData(new GridData(GridData.FILL_BOTH));
viewer.setContentProvider(new ResourceHistoryContentProvider(entries));
viewer.setLabelProvider(new ResourceHistoryLabelProvider());
viewer.setSorter(new ResourceHistorySorter());
viewer.setInput(this);
viewer.addSelectionChangedListener(new ISelectionChangedListener() {
public void selectionChanged(SelectionChangedEvent event) {
if (viewer.getSelection() instanceof IStructuredSelection) {