Examples of ViewerNotification


Examples of org.eclipse.emf.edit.provider.ViewerNotification

      case OntoUMLPackage.PROPERTY__END_TYPE:
      case OntoUMLPackage.PROPERTY__ASSOCIATION_END:
      case OntoUMLPackage.PROPERTY__SOURCE:
      case OntoUMLPackage.PROPERTY__TARGET:
      case OntoUMLPackage.PROPERTY__ASSOCIATION_END_POSITION_AUX:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
        return;
//      case OntoUMLPackage.PROPERTY__OWNER:
//        Property property = (Property) notification.getNotifier();
//        if ((notification.getNewValue() == null) && (property != null)) {
//          if (property.getSource() != null) {
View Full Code Here

Examples of org.eclipse.emf.edit.provider.ViewerNotification

  public void notifyChanged(Notification notification) {
    updateChildren(notification);

    switch (notification.getFeatureID(Collective.class)) {
      case OntoUMLPackage.COLLECTIVE__IS_EXTENSIONAL:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
        return;
    }
    super.notifyChanged(notification);
  }
View Full Code Here

Examples of org.eclipse.emf.edit.provider.ViewerNotification

    switch (notification.getFeatureID(Classifier.class)) {
      case OntoUMLPackage.CLASSIFIER__ATTRIBUTE:
      case OntoUMLPackage.CLASSIFIER__IS_ABSTRACT:
      case OntoUMLPackage.CLASSIFIER__GENERAL:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
        return;
      case OntoUMLPackage.CLASSIFIER__GENERALIZATION:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
        return;
    }
    super.notifyChanged(notification);
  }
View Full Code Here

Examples of org.eclipse.emf.edit.provider.ViewerNotification

  public void notifyChanged(Notification notification) {
    updateChildren(notification);

    switch (notification.getFeatureID(TypedElement.class)) {
      case OntoUMLPackage.TYPED_ELEMENT__TYPE:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
        return;
    }
    super.notifyChanged(notification);
  }
View Full Code Here

Examples of org.eclipse.emf.edit.provider.ViewerNotification

  public void notifyChanged(Notification notification) {
    updateChildren(notification);

    switch (notification.getFeatureID(RedefinableElement.class)) {
      case OntoUMLPackage.REDEFINABLE_ELEMENT__IS_LEAF:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
        return;
    }
    super.notifyChanged(notification);
  }
View Full Code Here

Examples of org.eclipse.emf.edit.provider.ViewerNotification

      case OntoUMLPackage.STRUCTURAL_FEATURE__NAME:
      case OntoUMLPackage.STRUCTURAL_FEATURE__IS_LEAF:
      case OntoUMLPackage.STRUCTURAL_FEATURE__IS_STATIC:
      case OntoUMLPackage.STRUCTURAL_FEATURE__TYPE:
      case OntoUMLPackage.STRUCTURAL_FEATURE__IS_READ_ONLY:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
        return;
    }
    super.notifyChanged(notification);
  }
View Full Code Here

Examples of org.eclipse.emf.edit.provider.ViewerNotification

    switch (notification.getFeatureID(Generalization.class)) {
      case OntoUMLPackage.GENERALIZATION__NAME:
      case OntoUMLPackage.GENERALIZATION__SPECIFIC:
      case OntoUMLPackage.GENERALIZATION__GENERAL:
      case OntoUMLPackage.GENERALIZATION__GENERALIZATION_SET:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
        return;
    }
    super.notifyChanged(notification);
  }
View Full Code Here

Examples of org.eclipse.emf.edit.provider.ViewerNotification

      case OntoUMLPackage.ASSOCIATION__ASSOCIATION_END_AUX2:
      case OntoUMLPackage.ASSOCIATION__ASSOCIATION_END1_PROPERTY_NAME_LABEL_AUX:
      case OntoUMLPackage.ASSOCIATION__ASSOCIATION_END2_PROPERTY_NAME_LABEL_AUX:
      case OntoUMLPackage.ASSOCIATION__ASSOCIATION_END1_PROPERTY_CARDINALITIES_LABEL_AUX:
      case OntoUMLPackage.ASSOCIATION__ASSOCIATION_END2_PROPERTY_CARDINALITIES_LABEL_AUX:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
        return;
      case OntoUMLPackage.ASSOCIATION__GENERALIZATION:
      case OntoUMLPackage.ASSOCIATION__ASSOCIATION_END3_AUX:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
        return;
    }
    super.notifyChanged(notification);
  }
View Full Code Here

Examples of org.eclipse.emf.edit.provider.ViewerNotification

      case OntoUMLPackage.DIRECTED_RELATIONSHIP__SOURCE_AUX1:
      case OntoUMLPackage.DIRECTED_RELATIONSHIP__SOURCE_PROPERTY_NAME_LABEL_AUX:
      case OntoUMLPackage.DIRECTED_RELATIONSHIP__TARGET_PROPERTY_NAME_LABEL_AUX:
      case OntoUMLPackage.DIRECTED_RELATIONSHIP__SOURCE_PROPERTY_CARDINALITIES_LABEL_AUX:
      case OntoUMLPackage.DIRECTED_RELATIONSHIP__TARGET_PROPERTY_CARDINALITIES_LABEL_AUX:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
        return;
      case OntoUMLPackage.DIRECTED_RELATIONSHIP__TARGET_AUX2:
      case OntoUMLPackage.DIRECTED_RELATIONSHIP__SOURCE_AUX2:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
        return;
    }
    super.notifyChanged(notification);
  }
View Full Code Here

Examples of org.eclipse.emf.edit.provider.ViewerNotification

  public void notifyChanged(Notification notification) {
    updateChildren(notification);

    switch (notification.getFeatureID(Container.class)) {
      case OntoUMLPackage.CONTAINER__INSTANCIAR_ELEMENT:
        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
        return;
    }
    super.notifyChanged(notification);
  }
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.