getSite().getSelectionProvider().addSelectionChangedListener(lowerRightAnnotationSideAction);
actionBars.setGlobalActionHandler(LowerRightAnnotationSideAction.ID, lowerRightAnnotationSideAction);
toolBarManager.add(lowerRightAnnotationSideAction);
// wide right annotation side action
WideRightAnnotationSideAction wideRightAnnotationSideAction = new WideRightAnnotationSideAction(
editor);
wideRightAnnotationSideAction.setActionDefinitionId(WideRightAnnotationSideAction.ID);
wideRightAnnotationSideAction.setText("Wides the right annotation side");
wideRightAnnotationSideAction.setImageDescriptor(CasEditorPlugin
.getTaeImageDescriptor(Images.WIDE_RIGHT_SIDE));
getSite().getSelectionProvider().addSelectionChangedListener(wideRightAnnotationSideAction);
actionBars.setGlobalActionHandler(WideRightAnnotationSideAction.ID, wideRightAnnotationSideAction);
toolBarManager.add(wideRightAnnotationSideAction);