this.menuFactory = menuFactory;
}
@Override
public JMenuItem createMenuItem(ApplicationWindow appWin) {
JMenu menu = new JMenuFactory(InterchangeMenus.FILE_NEW, InterchangeMenuDictionary.DICTIONARY).createEmptyMenu();
menu.setEnabled(false);
// XXX: These listeners will never be removed. That's OK (at least at the moment), because
// the created menu will live for as long as the application.
Listener lst = new Listener(menuFactory, menu);
projectManager.addProjectManagerListener(lst);