final IConfigurationElement item = items[i];
String itemType = item.getName();
</BUG>
if (IWorkbenchRegistryConstants.TAG_COMMAND.equals(itemType)) {
<BUG>MToolBarElement element = createToolBarCommandAddition(item);
</BUG>
toolBarContribution.getChildren().add(element);
} else if (IWorkbenchRegistryConstants.TAG_SEPARATOR.equals(itemType)) {
<BUG>MToolBarElement element = createToolBarSeparatorAddition(item);
</BUG>
toolBarContribution.getChildren().add(element);

toolBarContribution.setElementId(idContrib);
}
toolBarContribution.setParentId(parentId);
toolBarContribution.setPositionInParent(position);
toolBarContribution.getTags().add("scheme:" + location.getScheme()); //$NON-NLS-1$
for (final IConfigurationElement child : toolbar.getChildren()) {
String itemType = child.getName();
if (IWorkbenchRegistryConstants.TAG_COMMAND.equals(itemType)) {
MToolBarElement element = createToolBarCommandAddition(child);
toolBarContribution.getChildren().add(element);
} else if (IWorkbenchRegistryConstants.TAG_SEPARATOR.equals(itemType)) {
MToolBarElement element = createToolBarSeparatorAddition(child);
toolBarContribution.getChildren().add(element);
