Package org.emftrace.metamodel.URNModel

Examples of org.emftrace.metamodel.URNModel.IntentionalElement


  @Test
  public void testdoRunForGoal() {
    // add a goal

    IntentionalElement goal = URNModelFactory.eINSTANCE
        .createIntentionalElement();
    goal.setName("foo goal");
    goal.setType(IntentionalElementType.GOAL);
    project.addModelElement(goal);

    // add a task
    IntentionalElement task = URNModelFactory.eINSTANCE
        .createIntentionalElement();
    task.setName("foo task");
    task.setType(IntentionalElementType.TASK);
    project.addModelElement(task);

     // add a product FactorTable
    FactorTable pFactorTable = EMFfitModelFactory.eINSTANCE.createFactorTable();
    pFactorTable.setType(CategoryType.PRODUCT);
View Full Code Here


  @Test
  public void testdoRunForSoftGoal() {

    // add a softgoal
    IntentionalElement softgoal = URNModelFactory.eINSTANCE
        .createIntentionalElement();
    softgoal.setName("foo softgoal");
    softgoal.setType(IntentionalElementType.SOFTGOAL);
    project.addModelElement(softgoal);

    // add a task
    IntentionalElement task = URNModelFactory.eINSTANCE
        .createIntentionalElement();
    task.setName("foo task");
    task.setType(IntentionalElementType.TASK);
    project.addModelElement(task);

     // add a product FactorTable
    FactorTable pFactorTable = EMFfitModelFactory.eINSTANCE.createFactorTable();
    pFactorTable.setType(CategoryType.PRODUCT);
View Full Code Here

  @Test
  public void testdoRunForNumbering() {
    // add a goal

    IntentionalElement goal1 = URNModelFactory.eINSTANCE
        .createIntentionalElement();
    goal1.setName("foo goal1");
    goal1.setType(IntentionalElementType.GOAL);
    project.addModelElement(goal1);

    // add a goal

    IntentionalElement goal2 = URNModelFactory.eINSTANCE
        .createIntentionalElement();
    goal2.setName("foo goal2");
    goal2.setType(IntentionalElementType.GOAL);
    project.addModelElement(goal2);

    // add a softgoal
    IntentionalElement softgoal = URNModelFactory.eINSTANCE
        .createIntentionalElement();
    softgoal.setName("foo softgoal");
    softgoal.setType(IntentionalElementType.SOFTGOAL);
    project.addModelElement(softgoal);

    // add a task
    IntentionalElement task = URNModelFactory.eINSTANCE
        .createIntentionalElement();
    task.setName("foo task");
    task.setType(IntentionalElementType.TASK);
    project.addModelElement(task);

     // add a product FactorTable
    FactorTable pFactorTable = EMFfitModelFactory.eINSTANCE.createFactorTable();
    pFactorTable.setType(CategoryType.PRODUCT);
View Full Code Here

 
  @Test
  public void testdoRunForHypertextsNotNull() {
    // add a goal

    IntentionalElement goal1 = URNModelFactory.eINSTANCE
        .createIntentionalElement();
    goal1.setName("foo goal1");
    goal1.setType(IntentionalElementType.GOAL);
    project.addModelElement(goal1);

     // add a product FactorTable
    FactorTable pFactorTable = EMFfitModelFactory.eINSTANCE.createFactorTable();
    pFactorTable.setType(CategoryType.PRODUCT);
View Full Code Here

    //clear all
    fTICPackage.getTables().clear();
   
    // add a goal

    IntentionalElement goal = URNModelFactory.eINSTANCE
        .createIntentionalElement();
    goal.setName("foo goal1");
    goal.setType(IntentionalElementType.GOAL);
    project.addModelElement(goal);


    // add a softgoal
    IntentionalElement softgoal = URNModelFactory.eINSTANCE
        .createIntentionalElement();
    softgoal.setName("foo softgoal");
    softgoal.setType(IntentionalElementType.SOFTGOAL);
    project.addModelElement(softgoal);

    // add a task
    IntentionalElement task = URNModelFactory.eINSTANCE
        .createIntentionalElement();
    task.setName("foo task");
    task.setType(IntentionalElementType.TASK);
    project.addModelElement(task);
   
    //run the command
    new NewFTICPackageDefaultFactorTablesCommand(fTICPackage, true, false, configFilePath).runWithoutUnicaseCommand();
 
View Full Code Here

    //clear all
    fTICPackage.getTables().clear();
   
    // add a goal

    IntentionalElement goal = URNModelFactory.eINSTANCE
        .createIntentionalElement();
    goal.setName("foo goal");
    goal.setType(IntentionalElementType.GOAL);
    project.addModelElement(goal);

    // add a task
    IntentionalElement task = URNModelFactory.eINSTANCE
        .createIntentionalElement();
    task.setName("foo task");
    task.setType(IntentionalElementType.TASK);
    project.addModelElement(task);

   
    //run the command
    new NewFTICPackageDefaultFactorTablesCommand(fTICPackage, true, true, configFilePath).runWithoutUnicaseCommand();
View Full Code Here

TOP

Related Classes of org.emftrace.metamodel.URNModel.IntentionalElement

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.