private IDoubleClickListener createInterceptQueueTableDoubleClickListener() {
return new IDoubleClickListener() {
@Override
public void doubleClick(DoubleClickEvent event) {
final Object element = ((IStructuredSelection) event.getSelection()).getFirstElement();
final InterceptView view;
try {
view = (InterceptView) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().showView(InterceptView.ID);
} catch (PartInitException e) {
ErrorDialog.displayExceptionError(parentComposite.getShell(), e);
return;
}
view.openTransaction((IProxyTransaction) element);
}
};
}