final Command commandAdd = commandService.getCommand( "editor.commands.macro.add1");
commandAdd.define( "Add", "Add Macro", commandService
.getCategory( "editor.category.macrogroup" ) );
CommandContributionItemParameter addMacroParameter =
new CommandContributionItemParameter( serviceLocator , "", commandAdd.getId(),
CommandContributionItem.STYLE_PUSH );
CommandContributionItem add = new CommandContributionItem(addMacroParameter);
toolBarManager.add(add);
final Command commandAdd = commandService.getCommand( "editor.commands.macro.add1");
commandAdd.define( "Insert", "Add Macro", commandService
.getCategory( "editor.category.macrogroup" ) );