return;
}
for (MenuExtensionPoint pt : MenuExtensionPoint.values()) {
List<ViewMenuItemFactory> itemData = getItems(pt);
if (itemData != null) {
MenuContribution contrib = new MenuContribution("ViewMenu." + pt.name());
for (ViewMenuItemFactory item : itemData) {
JMenuItem jm = item.createMenuItem(appWin);
if (jm != null) {
contrib.addItem(jm);
} else {
contrib.addSeparator();
}
}
m.addExtension(pt, contrib);
}
}