コード例 #1
0
 /**
  * This returns the property descriptors for the adapted class.
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
   if (itemPropertyDescriptors == null) {
     super.getPropertyDescriptors(object);
   }
   return itemPropertyDescriptors;
 }
コード例 #2
0
 /**
  * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate
  * feature for an {@link org.eclipse.emf.edit.command.AddCommand}, {@link
  * org.eclipse.emf.edit.command.RemoveCommand} or {@link org.eclipse.emf.edit.command.MoveCommand}
  * in {@link #createCommand}.
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
   if (childrenFeatures == null) {
     super.getChildrenFeatures(object);
     childrenFeatures.add(EsbPackage.Literals.ENTITLEMENT_ON_ACCEPT_CONTAINER__MEDIATOR_FLOW);
   }
   return childrenFeatures;
 }
  /**
   * 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(
            EsbPackage.Literals.ABSTRACT_NAME_VALUE_EXPRESSION_PROPERTY__PROPERTY_EXPRESSION,
            EsbFactory.eINSTANCE.createNamespacedProperty()));
  }
コード例 #4
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(
            EsbPackage.Literals.ENTITLEMENT_ON_ACCEPT_CONTAINER__MEDIATOR_FLOW,
            EsbFactory.eINSTANCE.createMediatorFlow()));
  }
 /**
  * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate
  * feature for an {@link org.eclipse.emf.edit.command.AddCommand}, {@link
  * org.eclipse.emf.edit.command.RemoveCommand} or {@link org.eclipse.emf.edit.command.MoveCommand}
  * in {@link #createCommand}.
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
   if (childrenFeatures == null) {
     super.getChildrenFeatures(object);
     childrenFeatures.add(
         EsbPackage.Literals.ABSTRACT_NAME_VALUE_EXPRESSION_PROPERTY__PROPERTY_EXPRESSION);
   }
   return childrenFeatures;
 }
 /**
  * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate
  * feature for an {@link org.eclipse.emf.edit.command.AddCommand}, {@link
  * org.eclipse.emf.edit.command.RemoveCommand} or {@link org.eclipse.emf.edit.command.MoveCommand}
  * in {@link #createCommand}.
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
   if (childrenFeatures == null) {
     super.getChildrenFeatures(object);
     childrenFeatures.add(EsbPackage.Literals.ABSTRACT_COMMON_TARGET__SEQUENCE_KEY);
     childrenFeatures.add(EsbPackage.Literals.ABSTRACT_COMMON_TARGET__ENDPOINT);
     childrenFeatures.add(EsbPackage.Literals.ABSTRACT_COMMON_TARGET__ENDPOINT_KEY);
   }
   return childrenFeatures;
 }
  /**
   * This returns the property descriptors for the adapted class.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   *
   * @generated
   */
  @Override
  public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
    if (itemPropertyDescriptors == null) {
      super.getPropertyDescriptors(object);

      addSequenceTypePropertyDescriptor(object);
      addSequencePropertyDescriptor(object);
      addEndpointTypePropertyDescriptor(object);
    }
    return itemPropertyDescriptors;
  }
  /**
   * This returns the property descriptors for the adapted class.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   *
   * @generated
   */
  @Override
  public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
    if (itemPropertyDescriptors == null) {
      super.getPropertyDescriptors(object);

      addPropertyNamePropertyDescriptor(object);
      addPropertyValueTypePropertyDescriptor(object);
      addPropertyValuePropertyDescriptor(object);
    }
    return itemPropertyDescriptors;
  }
コード例 #9
0
  /**
   * This handles model notifications by calling {@link #updateChildren} to update any cached
   * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   *
   * @generated
   */
  @Override
  public void notifyChanged(Notification notification) {
    updateChildren(notification);

    switch (notification.getFeatureID(EntitlementOnAcceptContainer.class)) {
      case EsbPackage.ENTITLEMENT_ON_ACCEPT_CONTAINER__MEDIATOR_FLOW:
        fireNotifyChanged(
            new ViewerNotification(notification, notification.getNotifier(), true, false));
        return;
    }
    super.notifyChanged(notification);
  }
  /**
   * This handles model notifications by calling {@link #updateChildren} to update any cached
   * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   *
   * @generated
   */
  @Override
  public void notifyChanged(Notification notification) {
    updateChildren(notification);

    switch (notification.getFeatureID(ThrottleOnRejectContainer.class)) {
      case EsbPackage.THROTTLE_ON_REJECT_CONTAINER__MEDIATOR_FLOW:
        fireNotifyChanged(
            new ViewerNotification(notification, notification.getNotifier(), true, false));
        return;
    }
    super.notifyChanged(notification);
  }
  /**
   * This handles model notifications by calling {@link #updateChildren} to update any cached
   * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   *
   * @generated
   */
  @Override
  public void notifyChanged(Notification notification) {
    updateChildren(notification);

    switch (notification.getFeatureID(AbstractNameValueExpressionProperty.class)) {
      case EsbPackage.ABSTRACT_NAME_VALUE_EXPRESSION_PROPERTY__PROPERTY_NAME:
      case EsbPackage.ABSTRACT_NAME_VALUE_EXPRESSION_PROPERTY__PROPERTY_VALUE_TYPE:
      case EsbPackage.ABSTRACT_NAME_VALUE_EXPRESSION_PROPERTY__PROPERTY_VALUE:
        fireNotifyChanged(
            new ViewerNotification(notification, notification.getNotifier(), false, true));
        return;
      case EsbPackage.ABSTRACT_NAME_VALUE_EXPRESSION_PROPERTY__PROPERTY_EXPRESSION:
        fireNotifyChanged(
            new ViewerNotification(notification, notification.getNotifier(), true, false));
        return;
    }
    super.notifyChanged(notification);
  }
  /**
   * This handles model notifications by calling {@link #updateChildren} to update any cached
   * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   *
   * @generated
   */
  @Override
  public void notifyChanged(Notification notification) {
    updateChildren(notification);

    switch (notification.getFeatureID(AbstractCommonTarget.class)) {
      case EsbPackage.ABSTRACT_COMMON_TARGET__SEQUENCE_TYPE:
      case EsbPackage.ABSTRACT_COMMON_TARGET__ENDPOINT_TYPE:
        fireNotifyChanged(
            new ViewerNotification(notification, notification.getNotifier(), false, true));
        return;
      case EsbPackage.ABSTRACT_COMMON_TARGET__SEQUENCE_KEY:
      case EsbPackage.ABSTRACT_COMMON_TARGET__ENDPOINT:
      case EsbPackage.ABSTRACT_COMMON_TARGET__ENDPOINT_KEY:
        fireNotifyChanged(
            new ViewerNotification(notification, notification.getNotifier(), true, false));
        return;
    }
    super.notifyChanged(notification);
  }
  /**
   * 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(
            EsbPackage.Literals.ABSTRACT_COMMON_TARGET__SEQUENCE_KEY,
            EsbFactory.eINSTANCE.createRegistryKeyProperty()));

    newChildDescriptors.add(
        createChildParameter(
            EsbPackage.Literals.ABSTRACT_COMMON_TARGET__ENDPOINT,
            EsbFactory.eINSTANCE.createDefaultEndPoint()));

    newChildDescriptors.add(
        createChildParameter(
            EsbPackage.Literals.ABSTRACT_COMMON_TARGET__ENDPOINT,
            EsbFactory.eINSTANCE.createAddressEndPoint()));

    newChildDescriptors.add(
        createChildParameter(
            EsbPackage.Literals.ABSTRACT_COMMON_TARGET__ENDPOINT,
            EsbFactory.eINSTANCE.createTemplateEndpoint()));

    newChildDescriptors.add(
        createChildParameter(
            EsbPackage.Literals.ABSTRACT_COMMON_TARGET__ENDPOINT,
            EsbFactory.eINSTANCE.createHTTPEndpoint()));

    newChildDescriptors.add(
        createChildParameter(
            EsbPackage.Literals.ABSTRACT_COMMON_TARGET__ENDPOINT,
            EsbFactory.eINSTANCE.createParentEndPoint()));

    newChildDescriptors.add(
        createChildParameter(
            EsbPackage.Literals.ABSTRACT_COMMON_TARGET__ENDPOINT,
            EsbFactory.eINSTANCE.createFailoverEndPoint()));

    newChildDescriptors.add(
        createChildParameter(
            EsbPackage.Literals.ABSTRACT_COMMON_TARGET__ENDPOINT,
            EsbFactory.eINSTANCE.createWSDLEndPoint()));

    newChildDescriptors.add(
        createChildParameter(
            EsbPackage.Literals.ABSTRACT_COMMON_TARGET__ENDPOINT,
            EsbFactory.eINSTANCE.createLoadBalanceEndPoint()));

    newChildDescriptors.add(
        createChildParameter(
            EsbPackage.Literals.ABSTRACT_COMMON_TARGET__ENDPOINT,
            EsbFactory.eINSTANCE.createNamedEndpoint()));

    newChildDescriptors.add(
        createChildParameter(
            EsbPackage.Literals.ABSTRACT_COMMON_TARGET__ENDPOINT,
            EsbFactory.eINSTANCE.createAPIResourceEndpoint()));

    newChildDescriptors.add(
        createChildParameter(
            EsbPackage.Literals.ABSTRACT_COMMON_TARGET__ENDPOINT,
            EsbFactory.eINSTANCE.createAddressingEndpoint()));

    newChildDescriptors.add(
        createChildParameter(
            EsbPackage.Literals.ABSTRACT_COMMON_TARGET__ENDPOINT,
            EsbFactory.eINSTANCE.createRecipientListEndPoint()));

    newChildDescriptors.add(
        createChildParameter(
            EsbPackage.Literals.ABSTRACT_COMMON_TARGET__ENDPOINT_KEY,
            EsbFactory.eINSTANCE.createRegistryKeyProperty()));
  }