Package org.emftrace.core.rules.ruleengine

Examples of org.emftrace.core.rules.ruleengine.RuleEngine


   *
   * @return new RuleEngine-component
   */
  public static RuleEngine createRuleEngine()
  {
    return new RuleEngine();
  }
View Full Code Here


        List<Rule> rules = null;
        if( selectedRules != null ) rules = selectedRules;
        else                        rules = selectedCatalog.getRules();
               
            int numRules = rules.size();
            RuleEngine ruleEngine = Activator.getRuleEngine();
   
            monitor.beginTask("Applying rules...", numRules+1);
   
            for(int i = 0; i < rules.size(); i++)
            {                                       
                monitor.subTask(rules.get(i).getRuleID() + " ("+(i+1)+"/"+numRules+")");
                ruleEngine.applyRule(project, selectedModels, rules.get(i));
                monitor.worked(1);
            }
           
            monitor.subTask("Cleaning up project");
            Activator.getProjectCleaner().cleanUpProject(project);
View Full Code Here

    }
   
    @Test
    public void testCreateRuleEngine()
    {
      RuleEngine tmp = null;
      assertNull(tmp);
      tmp = EMFTraceCoreFactory.createRuleEngine();
      assertNotNull(tmp);
    }
View Full Code Here

TOP

Related Classes of org.emftrace.core.rules.ruleengine.RuleEngine

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.