Package org.emftrace.metamodel.EMFfitModel

Examples of org.emftrace.metamodel.EMFfitModel.FTEntry


        Display.getDefault().asyncExec(new Runnable() {
          public void run() {

            switch (notification.getEventType()) {
            case Notification.REMOVE: {
              FTEntry elementToRemove = (FTEntry) notification
                  .getOldValue();
              Part partToRemove = partMap.get(elementToRemove);
              if (partToRemove != null) {
                partToRemove.dispose();
              }
              partMap.remove(elementToRemove);

              ModelElementChangeListener addRemoveListener = entriesAddRemoveListeners
                  .get(elementToRemove);
              ModelElementChangeListener numberingChangeListener = fTEntryModelElementNumberingChangeListeners
                  .get(elementToRemove);

              if (addRemoveListener != null)
                elementToRemove
                    .removeModelElementChangeListener(addRemoveListener);

              if (numberingChangeListener != null)
                elementToRemove
                    .removeModelElementChangeListener(numberingChangeListener);

              break;
            }
View Full Code Here


   */
  @Override
  protected void doRun() {
    //note: GUI doesn't support List.clear() yet!
    for (int i = factorTable.getEntries().size()-1; i >=0; i--) {
      FTEntry entry = factorTable.getEntries().get(i);
      new DeleteFTEntryCommand(entry).runWithoutUnicaseCommand();
    }

  }
View Full Code Here

TOP

Related Classes of org.emftrace.metamodel.EMFfitModel.FTEntry

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.