public DeleteContactAction() {
    super(Messages.DeleteContactAction_title);

    setId(ACTION_ID);
    setToolTipText(Messages.DeleteContactAction_tooltip);

    IWorkbench workbench = PlatformUI.getWorkbench();
    setImageDescriptor(
        workbench.getSharedImages().getImageDescriptor(ISharedImages.IMG_TOOL_DELETE));

    SarosPluginContext.initComponent(this);

    connectionService.addListener(connectionListener);
    SelectionUtils.getSelectionService().addSelectionListener(selectionListener);
    updateEnablement();
  }
 @Override
 public void dispose() {
   SelectionUtils.getSelectionService().removeSelectionListener(selectionListener);
   connectionService.removeListener(connectionListener);
 }