@Override
  public void doubleClick(DoubleClickEvent event) {
    IStructuredSelection sel = (IStructuredSelection) checkboxTableViewer.getSelection();

    ESelectionService eSelectionService = getEclipseContext().get(ESelectionService.class);
    eSelectionService.setSelection(sel.getFirstElement());
  }
 /*
  * (non-Javadoc)
  *
  * @see
  * org.eclipse.jface.viewers.ISelectionChangedListener#selectionChanged(
  * org.eclipse.jface.viewers.SelectionChangedEvent)
  */
 public void selectionChanged(SelectionChangedEvent e) {
   MPart part = page.findPart(activePart);
   ESelectionService selectionService =
       (ESelectionService) part.getContext().get(ESelectionService.class.getName());
   selectionService.setSelection(e.getSelection());
 }