use of com.google.security.zynamics.binnavi.Gui.MainWindow.ProjectTree.Actions.CDeleteDatabaseAction in project binnavi by google.
the class CDatabaseNodeMenuBuilder method createMenu.
@Override
protected void createMenu(final JComponent menu) {
menu.add(new JMenuItem(openAction));
menu.add(new JMenuItem(closeAction));
menu.add(new JSeparator());
menu.add(new JMenuItem(CActionProxy.proxy(new CImportModuleAction(getParent(), database))));
menu.add(new JSeparator());
menu.add(new JMenuItem(CActionProxy.proxy(new CDeleteDatabaseAction(getParent(), database, new CParentSelectionUpdater(getProjectTree(), parentNode)))));
addPluginMenus(menu);
}
Aggregations