public void fillMenusFor(String actionSetId, IContributionItem item) {
if (item instanceof ContributionManager) {
ContributionManager mgr = (ContributionManager) item;
IContributionItem[] items = mgr.getItems();
for (int i = 0; i < items.length; i++) {
IContributionItem mgrItem = items[i];
if (mgrItem instanceof ActionSetContributionItem) {
ActionSetContributionItem actionSetItem = (ActionSetContributionItem) mgrItem;
if (actionSetItem.getActionSetId().equals(actionSetId)) {
IContributionItem innerItem = actionSetItem
.getInnerItem();
if (innerItem instanceof MenuManager) {
MenuManager inner = (MenuManager) actionSetItem
.getInnerItem();
ActionSetDisplayItem node = new ActionSetDisplayItem(