getSite().getSelectionProvider().addSelectionChangedListener(wideRightAnnotationSideAction);
actionBars.setGlobalActionHandler(WideRightAnnotationSideAction.ID, wideRightAnnotationSideAction);
toolBarManager.add(wideRightAnnotationSideAction);
// merge action
MergeAnnotationAction mergeAction = new MergeAnnotationAction(editor);
getSite().getSelectionProvider().addSelectionChangedListener(mergeAction);
mergeAction.setImageDescriptor(CasEditorPlugin.getTaeImageDescriptor(Images.MERGE));
toolBarManager.add(mergeAction);
// delete action
toolBarManager.add(ActionFactory.DELETE.create(getSite().getWorkbenchWindow()));