Package org.eclipse.emf.ecore

Examples of org.eclipse.emf.ecore.InternalEObject.eClass()


      if (!hasInstanceClass())
      {
        return
          internalEObject.eInverseAdd
            (owner,
             internalEObject.eClass().getFeatureID(getInverseEReference()),
             null,
             notifications);
      }
      else
      {
View Full Code Here


      if (!hasInstanceClass())
      {
        return
          internalEObject.eInverseRemove
            (owner,
             internalEObject.eClass().getFeatureID(getInverseEReference()),
             null,
             notifications);
      }
      else
      {
View Full Code Here

                notificationChain =
                  newEObject.eInverseAdd
                    (owner,
                     inverseFeature == null  ?
                       InternalEObject.EOPPOSITE_FEATURE_BASE - owner.eClass().getFeatureID(feature) :
                       newEObject.eClass().getFeatureID(inverseFeature),
                     null,
                     notificationChain);               
              }
              if (notificationChain != null)
              {
View Full Code Here

          {
            InternalEObject internalEObject = (InternalEObject)oldValue;
            notifications =
              internalEObject.eInverseRemove
                (owner,
                 internalEObject.eClass().getFeatureID(inverseFeature),
                 null,
                 notifications);
          }
          if (newValue != null)
          {
View Full Code Here

          {
            InternalEObject internalEObject = (InternalEObject)newValue;
            notifications =
              internalEObject.eInverseAdd
                (owner,
                 internalEObject.eClass().getFeatureID(inverseFeature),
                 null,
                 notifications);
          }
        }
      }
View Full Code Here

        {
          InternalEObject internalEObject = (InternalEObject)oldValue;
          notifications =
            internalEObject.eInverseRemove
              (owner,
               internalEObject.eClass().getFeatureID(inverseFeature),
               null,
               notifications);
        }
        else if (isContainment())
        {
View Full Code Here

        {
          InternalEObject internalEObject = (InternalEObject)oldValue;
          notifications =
            internalEObject.eInverseRemove
              (owner,
               internalEObject.eClass().getFeatureID(inverseFeature),
               null,
               notifications);
        }
      }
      else if (isContainment())
View Full Code Here

      InternalEObject proxy = i.next();

      // Look through all the references...
      //
      LOOP:
      for (EReference eReference : proxy.eClass().getEAllReferences())
      {
        // And find the one that holds this proxy.
        //
        EReference oppositeEReference = eReference.getEOpposite();
        if (oppositeEReference != null && oppositeEReference.isChangeable() && proxy.eIsSet(eReference))
View Full Code Here

        InternalEObject internalEObject = (InternalEObject)newValue;
        if (newValue != null)
        {
          notifications =
            internalEObject.eInverseAdd
              (owner, internalEObject.eClass().getFeatureID(inverseFeature), null, notifications);
        }

        notifications = owner.eBasicSetContainer(internalEObject, featureID, notifications);
        if (notifications != null) notifications.dispatch();
      }
View Full Code Here

      if (!hasInstanceClass())
      {
        return
          internalEObject.eInverseAdd
            (owner,
             internalEObject.eClass().getFeatureID(getInverseEReference()),
             null,
             notifications);
      }
      else
      {
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.