/**
   * 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(
            CommonPackage.Literals.MODEL_ELEMENT__COMMENTS,
            ClazzFactory.eINSTANCE.createClassComment()));

    newChildDescriptors.add(
        createChildParameter(
            CommonPackage.Literals.MODEL_ELEMENT__COMMENTS,
            ClazzFactory.eINSTANCE.createAssociationEnd()));
  }
Пример #2
0
  /**
   * 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(
            CommonPackage.Literals.MODEL_ELEMENT__COMMENTS,
            ClazzFactory.eINSTANCE.createClassComment()));

    newChildDescriptors.add(
        createChildParameter(
            CommonPackage.Literals.MODEL_ELEMENT__COMMENTS,
            ClazzFactory.eINSTANCE.createAssociationEnd()));

    newChildDescriptors.add(
        createChildParameter(
            PortalPackage.Literals.HAVE_PORTLET__POSITION_GROUP,
            PortalFactory.eINSTANCE.createPositionGroup()));
  }