}
m = (View) SwingUtilities.getAncestorOfClass(View.class, m);
}
if (panel == null) {
MenuManager menuManager = MenuManagerAccess.getMenuManager();
JPopupMenu popupMenu = menuManager.getViewPopupMenu(augmentation.canvasManifestation);
if (popupMenu != null)
popupMenu.show(augmentation.canvasManifestation, e.getX(), e.getY());
} else {
Point panelPoint = panel.getLocationOnScreen();
JPopupMenu popupMenu = panel.getWrappedManifestation()