ActionSetDisplayItem node = new ActionSetDisplayItem(
this, inner.getId(), inner
.getMenuText(), MENUITEM);
node.fillMenusFor(actionSetId, inner);
} else if (innerItem instanceof ActionSetMenuManager) {
ActionSetMenuManager inner = (ActionSetMenuManager) actionSetItem
.getInnerItem();
MenuManager parentMgr = (MenuManager) inner
.getParent();
ActionSetDisplayItem node = new ActionSetDisplayItem(
this, inner.getId(), parentMgr
.getMenuText(), MENUITEM);
node.fillMenusFor(actionSetId, parentMgr);
} else if (innerItem instanceof PluginActionContributionItem) {
PluginActionContributionItem inner = (PluginActionContributionItem) actionSetItem
.getInnerItem();
ActionSetDisplayItem node = new ActionSetDisplayItem(
this, inner.getId(), inner.getAction()
.getText(), MENUITEM);
IAction action = inner.getAction();
if (action != null) {
node.imageDescriptor = action
.getImageDescriptor();
node.description = action.getDescription();
}