public NotificationChain eBasicRemoveFromContainer(NotificationChain notifications) { return instance.eBasicRemoveFromContainer(notifications); }
public NotificationChain eBasicRemoveFromContainer(NotificationChain notifications) { return instance.eBasicRemoveFromContainer(notifications); }
@Override public NotificationChain dynamicInverseAdd (InternalEObject owner, EStructuralFeature.Internal.DynamicValueHolder settings, int index, InternalEObject otherEnd, NotificationChain notifications) { if (owner.eInternalContainer() != null) { notifications = owner.eBasicRemoveFromContainer(notifications); } int featureID = owner.eClass().getFeatureID(feature); return owner.eBasicSetContainer(otherEnd, featureID, notifications); }
@Override public NotificationChain dynamicInverseAdd (InternalEObject owner, EStructuralFeature.Internal.DynamicValueHolder settings, int index, InternalEObject otherEnd, NotificationChain notifications) { if (owner.eInternalContainer() != null) { notifications = owner.eBasicRemoveFromContainer(notifications); } int featureID = owner.eClass().getFeatureID(feature); return owner.eBasicSetContainer(otherEnd, featureID, notifications); }
public void dynamicUnset(InternalEObject owner, EStructuralFeature.Internal.DynamicValueHolder settings, int index) { EObject eContainer = owner.eInternalContainer(); if (eContainer != null) { NotificationChain notifications = owner.eBasicRemoveFromContainer(null); int featureID = owner.eClass().getFeatureID(feature); notifications = owner.eBasicSetContainer(null, featureID, notifications); if (notifications != null) notifications.dispatch(); } else { if (owner.eNotificationRequired()) owner.eNotify(new ENotificationImpl(owner, Notification.SET, feature, null, null)); } }
if (eContainer != null) notifications = owner.eBasicRemoveFromContainer(notifications);
if (eContainer != null) notifications = owner.eBasicRemoveFromContainer(notifications);
public void dynamicUnset(InternalEObject owner, EStructuralFeature.Internal.DynamicValueHolder settings, int index) { EObject eContainer = owner.eInternalContainer(); if (eContainer != null) { NotificationChain notifications = owner.eBasicRemoveFromContainer(null); int featureID = owner.eClass().getFeatureID(feature); notifications = owner.eBasicSetContainer(null, featureID, notifications); if (notifications != null) notifications.dispatch(); } else { if (owner.eNotificationRequired()) owner.eNotify(new ENotificationImpl(owner, Notification.SET, feature, null, null)); } }