Package org.emftrace.emffit.ui.commands.ftentries

Examples of org.emftrace.emffit.ui.commands.ftentries.NewFTEntryCategoryCommand


      command = new NewFTEntryFactorCommand(entry, newModelElementWizardPage.getName(),"2");
      break;

    case 1: //FactorCategory

      command = new NewFTEntryCategoryCommand(entry, newModelElementWizardPage.getName());
      break;
    default:
      return false;
      // break;
    }
View Full Code Here


  public void testDoRunForFactorCategory() {
    //setup
    FactorCategory fc1st  = (FactorCategory) factorTable.getEntries().get(0);
   
    //run command
    new NewFTEntryCategoryCommand(fc1st, "new foo subcategory").runWithoutUnicaseCommand();
   
    //check
    assertEquals(5, fc1st.getChildren().size());
    FactorCategory newFactorCategory =  (FactorCategory) fc1st.getChildren().get(4);
    assertEquals("new foo subcategory", newFactorCategory.getName());
View Full Code Here

    //setup
    FactorCategory fc1st  = (FactorCategory) factorTable.getEntries().get(0);
    Factor factor12 = (Factor) fc1st.getChildren().get(1);
   
    //run command
    new NewFTEntryCategoryCommand(factor12, "new foo subcategory").runWithoutUnicaseCommand();
   
    //check
    assertEquals(1, factor12.getChildren().size());
    FactorCategory newFactorCategory =  (FactorCategory) factor12.getChildren().get(0);
    assertEquals("new foo subcategory", newFactorCategory.getName());
View Full Code Here

TOP

Related Classes of org.emftrace.emffit.ui.commands.ftentries.NewFTEntryCategoryCommand

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.