element.getAllContributedActions(set);
}
}
protected void getAllContributedActions(HashSet set, IContributionItem item) {
if (item instanceof MenuManager) {
<BUG>IContributionItem subItems[] = ((MenuManager) item).getItems();

for (int j = 0; j < subItems.length; j++) {
getAllContributedActions(set, subItems[j]);
}</BUG>
} else if (item instanceof ActionContributionItem) {

element.getAllContributedActions(set);
}
}
protected void getAllContributedActions(HashSet set, IContributionItem item) {
if (item instanceof MenuManager) {
for (IContributionItem subItem : ((MenuManager) item).getItems()) {
getAllContributedActions(set, subItem);
}
} else if (item instanceof ActionContributionItem) {
