/**
   * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that
   * can be created under this object.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   *
   * @generated
   */
  @Override
  protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
    super.collectNewChildDescriptors(newChildDescriptors, object);

    newChildDescriptors.add(
        createChildParameter(
            ReqIF10Package.Literals.SPEC_HIERARCHY__CHILDREN,
            ReqIF10Factory.eINSTANCE.createSpecHierarchy()));
  }
  /**
   * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that
   * can be created under this object.
   * <!--
   * begin-user-doc -->
   * Adding ChildDescriptors for SpecHierarchies with attached specObjects.
   * <!-- end-user-doc -->
   *
   * @generated NOT
   */
  @Override
  protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
    super.collectNewChildDescriptors(newChildDescriptors, object);

    newChildDescriptors.add(
        createChildParameter(
            SPEC_HIERARCHY__CHILDREN, ReqIF10Factory.eINSTANCE.createSpecHierarchy()));

    // Allow creation of new untyped SpecObjects
    newChildDescriptors.add(
        createChildParameter(
            SPEC_HIERARCHY__CHILDREN, ReqIF10Factory.eINSTANCE.createSpecObject()));

    // Allow creation of typed SpecObjects
    ProrUtil.collectNewChildDescriptorsForTypeCreators(
        newChildDescriptors, object, SPEC_HIERARCHY__CHILDREN, SpecObjectType.class);
  }