Search in sources :

Example 1 with CColorCriteriumCreator

use of com.google.security.zynamics.binnavi.Gui.CriteriaDialog.Conditions.NodeColor.CColorCriteriumCreator in project binnavi by google.

the class CCriteriaFactory method getConditions.

/**
   * Returns all available criterium creators.
   *
   * @return All available criterium creators.
   */
public List<ICriteriumCreator> getConditions() {
    final List<ICriteriumCreator> conditions = new ArrayList<ICriteriumCreator>();
    conditions.add(new CTextCriteriumCreator());
    conditions.add(new CTagCriteriumCreator(m_tagManager));
    conditions.add(new CColorCriteriumCreator(m_graph));
    conditions.add(new CIndegreeCriteriumCreator());
    conditions.add(new COutdegreeCriteriumCreator());
    conditions.add(new CVisibilityCriteriumCreator());
    conditions.add(new CSelectionCriteriumCreator());
    for (@SuppressWarnings("rawtypes") final IPlugin plugin : PluginInterface.instance().getPluginRegistry()) {
        if (plugin instanceof ICriteriaSelectionPlugin) {
            final ICriteriaSelectionPlugin cplugin = (ICriteriaSelectionPlugin) plugin;
            conditions.add(new CPluginCriteriumCreator(m_view2D, cplugin));
        }
    }
    return conditions;
}
Also used : CVisibilityCriteriumCreator(com.google.security.zynamics.binnavi.Gui.CriteriaDialog.Conditions.Visibillity.CVisibilityCriteriumCreator) ICriteriaSelectionPlugin(com.google.security.zynamics.binnavi.API.plugins.ICriteriaSelectionPlugin) ArrayList(java.util.ArrayList) CTextCriteriumCreator(com.google.security.zynamics.binnavi.Gui.CriteriaDialog.Conditions.Text.CTextCriteriumCreator) IPlugin(com.google.security.zynamics.binnavi.api2.plugins.IPlugin) COutdegreeCriteriumCreator(com.google.security.zynamics.binnavi.Gui.CriteriaDialog.Conditions.OutDegree.COutdegreeCriteriumCreator) CIndegreeCriteriumCreator(com.google.security.zynamics.binnavi.Gui.CriteriaDialog.Conditions.InDegrees.CIndegreeCriteriumCreator) CSelectionCriteriumCreator(com.google.security.zynamics.binnavi.Gui.CriteriaDialog.Conditions.Selection.CSelectionCriteriumCreator) CColorCriteriumCreator(com.google.security.zynamics.binnavi.Gui.CriteriaDialog.Conditions.NodeColor.CColorCriteriumCreator) ICriteriumCreator(com.google.security.zynamics.binnavi.Gui.CriteriaDialog.Conditions.ICriteriumCreator) CTagCriteriumCreator(com.google.security.zynamics.binnavi.Gui.CriteriaDialog.Conditions.Tag.CTagCriteriumCreator)

Aggregations

ICriteriaSelectionPlugin (com.google.security.zynamics.binnavi.API.plugins.ICriteriaSelectionPlugin)1 ICriteriumCreator (com.google.security.zynamics.binnavi.Gui.CriteriaDialog.Conditions.ICriteriumCreator)1 CIndegreeCriteriumCreator (com.google.security.zynamics.binnavi.Gui.CriteriaDialog.Conditions.InDegrees.CIndegreeCriteriumCreator)1 CColorCriteriumCreator (com.google.security.zynamics.binnavi.Gui.CriteriaDialog.Conditions.NodeColor.CColorCriteriumCreator)1 COutdegreeCriteriumCreator (com.google.security.zynamics.binnavi.Gui.CriteriaDialog.Conditions.OutDegree.COutdegreeCriteriumCreator)1 CSelectionCriteriumCreator (com.google.security.zynamics.binnavi.Gui.CriteriaDialog.Conditions.Selection.CSelectionCriteriumCreator)1 CTagCriteriumCreator (com.google.security.zynamics.binnavi.Gui.CriteriaDialog.Conditions.Tag.CTagCriteriumCreator)1 CTextCriteriumCreator (com.google.security.zynamics.binnavi.Gui.CriteriaDialog.Conditions.Text.CTextCriteriumCreator)1 CVisibilityCriteriumCreator (com.google.security.zynamics.binnavi.Gui.CriteriaDialog.Conditions.Visibillity.CVisibilityCriteriumCreator)1 IPlugin (com.google.security.zynamics.binnavi.api2.plugins.IPlugin)1 ArrayList (java.util.ArrayList)1