@Override protected Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) { if (childrenFeatures == null) { super.getChildrenFeatures(object); childrenFeatures.add(ReqIF10Package.Literals.REQ_IF_CONTENT__SPEC_RELATION_GROUPS); } return childrenFeatures; }
@Override protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { super.collectNewChildDescriptors(newChildDescriptors, target); // Allow creation of new untyped SpecRelations newChildDescriptors.add( createChildParameter( ReqIF10Package.Literals.REQ_IF_CONTENT__SPEC_RELATION_GROUPS, ReqIF10Factory.eINSTANCE.createRelationGroup())); // Allow creation of typed SpecRelations ProrUtil.collectNewChildDescriptorsForTypeCreators( newChildDescriptors, target, ReqIF10Package.Literals.REQ_IF_CONTENT__SPEC_RELATION_GROUPS, RelationGroupType.class); }