Package org.emftrace.metamodel.EMFfitModel

Examples of org.emftrace.metamodel.EMFfitModel.Item


   */
  @Override
  public boolean performFinish() {

    String newName = newModelElementWizardPage.getName();
    Item newItem;
   
    //note: Hypertext elements must not be null
    //new element will be added to project by command
    switch (newModelElementWizardPage.getSelectionIndex()) {
    case 0:
View Full Code Here


    for (InfluencingFactor influencingFactor : ic.getInfluencingFactors()) {
      exculdeList.add(influencingFactor.getFactor());
    }

    for (RelatedIssue relatedIssue : ic.getRelatedIssues()) {
      Item issue = relatedIssue.getIssue();
      if (issue instanceof Factor) {
        exculdeList.add(issue);
      }
    }
View Full Code Here

   * @param part
   *            the Part of the RelatedIssue
   */
  protected void addRelatedIssueChangeListener(RelatedIssue relatedIssue,
      ListItemPart part) {
    Item item = relatedIssue.getIssue();
    if (item != null) {
      ModelElementChangeListener modelElementChangeListener = createRelatedIssueItemModelElementChangeListener(
          item, part);
      item.addModelElementChangeListener(modelElementChangeListener);
      modelElementChangeListeners.put(modelElementChangeListener, item);
    }
  }
View Full Code Here

      final RelatedIssue relatedIssue, final ListItemPart part) {
    ModelElementChangeListener issueChangeListener = new ModelElementChangeListener() {

      @Override
      public void onChange(Notification notification) {
        Item oldItem = (Item) notification.getOldValue();
        final Item newItem = (Item) notification.getNewValue();

        deleteModelElementChangeListener(oldItem);
        addRelatedIssueChangeListener(relatedIssue, part);
        Display.getDefault().asyncExec(new Runnable() {
View Full Code Here

TOP

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

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.