/** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ protected EReference getChildReference(Object object, Object child) { // Check the type of the specified child object and return the proper feature to use for // adding (see {@link AddCommand}) it as a child. return super.getChildReference(object, child); }
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ protected EReference getChildReference(Object object, Object child) { // Check the type of the specified child object and return the proper feature to use for // adding (see {@link AddCommand}) it as a child. return super.getChildReference(object, child); }
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ protected EReference getChildReference(Object object, Object child) { // Check the type of the specified child object and return the proper feature to use for // adding (see {@link AddCommand}) it as a child. return super.getChildReference(object, child); }
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ protected EReference getChildReference(Object object, Object child) { // Check the type of the specified child object and return the proper feature to use for // adding (see {@link AddCommand}) it as a child. return super.getChildReference(object, child); }
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ protected EReference getChildReference(Object object, Object child) { // Check the type of the specified child object and return the proper feature to use for // adding (see {@link AddCommand}) it as a child. return super.getChildReference(object, child); }
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ protected EReference getChildReference(Object object, Object child) { // Check the type of the specified child object and return the proper feature to use for // adding (see {@link AddCommand}) it as a child. return super.getChildReference(object, child); }
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ protected EReference getChildReference(Object object, Object child) { // Check the type of the specified child object and return the proper feature to use for // adding (see {@link AddCommand}) it as a child. return super.getChildReference(object, child); }
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ protected EReference getChildReference(Object object, Object child) { // Check the type of the specified child object and return the proper feature to use for // adding (see {@link AddCommand}) it as a child. return super.getChildReference(object, child); }
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ protected EReference getChildReference(Object object, Object child) { // Check the type of the specified child object and return the proper feature to use for // adding (see {@link AddCommand}) it as a child. return super.getChildReference(object, child); }
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ protected EReference getChildReference(Object object, Object child) { // Check the type of the specified child object and return the proper feature to use for // adding (see {@link AddCommand}) it as a child. return super.getChildReference(object, child); }
/** * This returns the most appropriate feature of the object into which the given child could be added. * This default implementation first calls the deprecated {@link #getChildReference getChildReference}, for backwards * compatibility. If that does not yield a non-null result, it returns the first feature returned by {@link * #getChildrenFeatures getChildrenFeatures} that has a type compatible with the child. You can override this to * return a better result or to compute it more efficiently. */ protected EStructuralFeature getChildFeature(Object object, Object child) { // First, try an existing implementation of getChildReference(). This provides backwards compatibility if that // method, now deprecated, was overridden. // EStructuralFeature oldFeature = getChildReference(object, child); if (oldFeature != null) return oldFeature; for (EStructuralFeature feature : getAnyChildrenFeatures(object)) { if (isValidValue(object, child, feature)) { return feature; } } return null; }