Search in sources :

Example 1 with CExecuteCachedCriterium

use of com.google.security.zynamics.binnavi.Gui.GraphWindows.Actions.CExecuteCachedCriterium in project binnavi by google.

the class CSelectionMenu method rebuildCriteriumCacheMenu.

/**
   * Rebuilds the menu that shows the previously executed Select By Criteria formulas.
   */
private void rebuildCriteriumCacheMenu() {
    m_previousCriteriaMenu.removeAll();
    m_previousCriteriaMenu.setVisible(true);
    for (final CCachedExpressionTree tree : m_criteriumCache.getTrees()) {
        m_previousCriteriaMenu.add(new JMenuItem(new CExecuteCachedCriterium(m_model.getGraph(), tree)));
    }
}
Also used : CExecuteCachedCriterium(com.google.security.zynamics.binnavi.Gui.GraphWindows.Actions.CExecuteCachedCriterium) CCachedExpressionTree(com.google.security.zynamics.binnavi.Gui.CriteriaDialog.ExpressionModel.CCachedExpressionTree) JMenuItem(javax.swing.JMenuItem)

Aggregations

CCachedExpressionTree (com.google.security.zynamics.binnavi.Gui.CriteriaDialog.ExpressionModel.CCachedExpressionTree)1 CExecuteCachedCriterium (com.google.security.zynamics.binnavi.Gui.GraphWindows.Actions.CExecuteCachedCriterium)1 JMenuItem (javax.swing.JMenuItem)1