Examples of NewFactorTableCategoryCommand


Examples of org.emftrace.emffit.ui.commands.factortables.NewFactorTableCategoryCommand

      command = new NewFactorTableFactorCommand(factorTable, newModelElementWizardPage.getName(),"2");
      break;

    case 1: //FactorCategory

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

Examples of org.emftrace.emffit.ui.commands.factortables.NewFactorTableCategoryCommand

public class NewFactorTableCategoryCommandTest extends EMFfitTestCase{

  @Test
  public void testDoRun() {   
    new NewFactorTableCategoryCommand(factorTable, "new foo category").runWithoutUnicaseCommand();
    assertEquals(3, factorTable.getEntries().size());
    FactorCategory newFactorCategory =  (FactorCategory) factorTable.getEntries().get(2);
    assertEquals("new foo category", newFactorCategory.getName());
    assertEquals("O3", newFactorCategory.getNumbering());
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.