Package org.emftrace.emffit.ui.commands.factors

Examples of org.emftrace.emffit.ui.commands.factors.UpdateFactorDescriptionCommand


    newDescription.getContent().add(term);
   
    Factor factor = (Factor)((FactorCategory)factorTable.getEntries().get(1)).getChildren().get(0);
   
    //run command
    new UpdateFactorDescriptionCommand(factor,newDescription ).runWithoutUnicaseCommand();
   
    //check results
    assertEquals(1, factor.getDescription().getContent().size());
    assertEquals(content, ((Term)factor.getDescription().getContent().get(0)).getVisibleContent());
  }
View Full Code Here


   
    Factor factor = (Factor)((FactorCategory)factorTable.getEntries().get(1)).getChildren().get(0);
    factor.setDescription(null);
   
    //run command
    new UpdateFactorDescriptionCommand(factor,newDescription ).runWithoutUnicaseCommand();
   
    //check results
    assertEquals(1, factor.getDescription().getContent().size());
    assertEquals(content, ((Term)factor.getDescription().getContent().get(0)).getVisibleContent());
  }
View Full Code Here

TOP

Related Classes of org.emftrace.emffit.ui.commands.factors.UpdateFactorDescriptionCommand

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.