returns the extended item type by the item id (button select node)
var typeExt = myToolbar.getTypeExt(itemId);