172173174175176177178179180181
if (mi instanceof MvwPopupMenu){ MvwPopupMenu pmi = (MvwPopupMenu) mi; popups.put(pmi.getForClass().name, pmi); } if (mi instanceof MvwBackgroundMenu){ MvwBackgroundMenu bmi = (MvwBackgroundMenu) mi; backgroundMenus.put(bmi.getName(), bmi); } } }