// If a tool bar contribution item already exists for this id
// then use the old object
if (oldItem instanceof IToolBarContributionItem) {
newItem = oldItem;
} else {
IActionBarPresentationFactory actionBarPresentaiton = getActionBarPresentationFactory();
newItem = actionBarPresentaiton.createToolBarContributionItem(
actionBarPresentaiton.createToolBarManager(), id);
// make it invisible by default
newItem.setVisible(false);
// Need to add the item to the cool bar manager so that its
// canonical order can be preserved
IContributionItem refItem = findAlphabeticalOrder(