// TODO: TableActionGroup
// if on a text context, (instead of a ElementEditPart),
// add text styling actions
final RangeActionGroup rangeActionGroup = new RangeActionGroup();
context = new ActionContext(_viewer.getSelection());
context.setInput(_viewer);
rangeActionGroup.setContext(context);
rangeActionGroup.fillContextMenu(menuMgr1);
rangeActionGroup.setContext(null);
// Add actions for single ElementEditPart's that are common
// to all
final SingleElementActionGroup singleActionGroup =
new SingleElementActionGroup();