Package org.emftrace.emffit.ui.commands.influencingfactors

Examples of org.emftrace.emffit.ui.commands.influencingfactors.UpdateInfluencingFactorDescriptionCommand


    Term term = EMFfitModelFactory.eINSTANCE.createTerm();
    term.setVisibleContent(newDescriptionContent);
    newDescription.getContent().add(term);
   
    //run command
    new UpdateInfluencingFactorDescriptionCommand(influencingFactor, newDescription).runWithoutUnicaseCommand();
   
    //check
    assertEquals(1, influencingFactor.getDescription().getContent().size());
    assertEquals(newDescriptionContent, ((Term)influencingFactor.getDescription().getContent().get(0)).getVisibleContent());
  }
View Full Code Here


    Term term = EMFfitModelFactory.eINSTANCE.createTerm();
    term.setVisibleContent(newDescriptionContent);
    newDescription.getContent().add(term);
   
    //run command
    new UpdateInfluencingFactorDescriptionCommand(influencingFactor, newDescription).runWithoutUnicaseCommand();
   
    //check
    assertEquals(1, influencingFactor.getDescription().getContent().size());
    assertEquals(newDescriptionContent, ((Term)influencingFactor.getDescription().getContent().get(0)).getVisibleContent());
  }
View Full Code Here

TOP

Related Classes of org.emftrace.emffit.ui.commands.influencingfactors.UpdateInfluencingFactorDescriptionCommand

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.