Examples of SetCategoryNameCommand


Examples of org.emftrace.emffit.ui.commands.factorcategories.SetCategoryNameCommand

      public void focusGained(FocusEvent e) {
      }

      @Override
      public void focusLost(FocusEvent e) {
        new SetCategoryNameCommand(category, part.getCaption())
            .runAsJob();
      }

    };
  }
View Full Code Here

Examples of org.emftrace.emffit.ui.commands.factorcategories.SetCategoryNameCommand

   * - name has been updated after command run
   */
  @Test
  public void testDoRun() {
    FactorCategory fc1st  = (FactorCategory) factorTable.getEntries().get(0);
    new SetCategoryNameCommand(fc1st,"new name for category").runWithoutUnicaseCommand();
    assertEquals("new name for category", fc1st.getName());
  }
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.