/**
   * 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(
            LQNPackage.Literals.ACTIVITY_LOOP_LIST_TYPE__ACTIVITY,
            LQNFactory.eINSTANCE.createActivityLoopType()));
  }
예제 #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(
            Component_diagramPackage.Literals.ARCHITECTURE__COMPONENT,
            Component_diagramFactory.eINSTANCE.createHardwareComponent()));

    newChildDescriptors.add(
        createChildParameter(
            Component_diagramPackage.Literals.ARCHITECTURE__COMPONENT,
            Component_diagramFactory.eINSTANCE.createSoftwareComponent()));

    newChildDescriptors.add(
        createChildParameter(
            Component_diagramPackage.Literals.ARCHITECTURE__COMPONENT,
            Component_diagramFactory.eINSTANCE.createElectronicDevice()));

    newChildDescriptors.add(
        createChildParameter(
            Component_diagramPackage.Literals.ARCHITECTURE__COMPONENT,
            Component_diagramFactory.eINSTANCE.createMechanicalDevice()));

    newChildDescriptors.add(
        createChildParameter(
            Component_diagramPackage.Literals.ARCHITECTURE__COMPONENT,
            Component_diagramFactory.eINSTANCE.createActuator()));

    newChildDescriptors.add(
        createChildParameter(
            Component_diagramPackage.Literals.ARCHITECTURE__COMPONENT,
            Component_diagramFactory.eINSTANCE.createSensor()));

    newChildDescriptors.add(
        createChildParameter(
            Component_diagramPackage.Literals.ARCHITECTURE__CONNECTORS,
            Component_diagramFactory.eINSTANCE.createConnector()));

    newChildDescriptors.add(
        createChildParameter(
            Component_diagramPackage.Literals.ARCHITECTURE__PORTS,
            Component_diagramFactory.eINSTANCE.createPortInstance()));

    newChildDescriptors.add(
        createChildParameter(
            Component_diagramPackage.Literals.ARCHITECTURE__INSTANCES,
            Component_diagramFactory.eINSTANCE.createComponentInstance()));

    newChildDescriptors.add(
        createChildParameter(
            Component_diagramPackage.Literals.ARCHITECTURE__PORT_TYPE,
            Component_diagramFactory.eINSTANCE.createPortType()));
  }
  /**
   * 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(
            LQNPackage.Literals.SOLVER_PARAMS_TYPE__RESULT_GENERAL,
            LQNFactory.eINSTANCE.createResultGeneralType()));

    newChildDescriptors.add(
        createChildParameter(
            LQNPackage.Literals.SOLVER_PARAMS_TYPE__PRAGMA,
            LQNFactory.eINSTANCE.createPragmaType()));
  }