124125126127128129130131132133134
for (ViewMenuItemFactory item : itemData) { JMenuItem jm = item.createMenuItem(appWin); if (jm != null) { contrib.addItem(jm); } else { contrib.addSeparator(); } } m.addExtension(pt, contrib); } }