*/
public void fillToolsFor(String actionSetId, CoolBarManager mgr) {
IContributionItem[] items = mgr.getItems();
for (int i = 0; i < items.length; i++) {
if (items[i] instanceof IToolBarContributionItem) {
IToolBarContributionItem cbItem = (IToolBarContributionItem) items[i];
IContributionItem[] subItems = cbItem.getToolBarManager()
.getItems();
for (int j = 0; j < subItems.length; j++) {
IContributionItem subItem = subItems[j];
if (subItem instanceof PluginActionCoolBarContributionItem) {
PluginActionCoolBarContributionItem actionItem = (PluginActionCoolBarContributionItem) subItem;
if (actionItem.getActionSetId().equals(actionSetId)) {
String toolbarId = cbItem.getId();
ActionSetDisplayItem toolbar = find(toolbarId);
if (toolbar == null) {
String toolbarText = window
.getToolbarLabel(toolbarId);
toolbar = new ActionSetDisplayItem(this,