use of com.google.security.zynamics.binnavi.Gui.GraphWindows.Actions.CActionGraphScripting in project binnavi by google.
the class CPluginsMenu method fillPluginsMenu.
/**
* Creates the menu items of the Plugins menu.
*/
private void fillPluginsMenu() {
final List<IGraphMenuPlugin> plugins = new ArrayList<IGraphMenuPlugin>();
for (@SuppressWarnings("rawtypes") final IPlugin plugin : PluginInterface.instance().getPluginRegistry()) {
if (plugin instanceof IGraphMenuPlugin) {
plugins.add((IGraphMenuPlugin) plugin);
}
}
add(CActionProxy.proxy(new CActionGraphScripting(m_model.getGraphPanel())));
add(CActionProxy.proxy(new CActionOpenLogConsole()));
addSeparator();
for (final IGraphMenuPlugin plugin : plugins) {
extendPluginMenu(plugin);
}
}
Aggregations