/**
   * 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);

      addHideElementsPropertyDescriptor(object);
      addIsCollapsedPropertyDescriptor(object);
    }
    return itemPropertyDescriptors;
  }
  /**
   * 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(UMLDestructionEventChangeRightTarget.class)) {
      case UML2DiffPackage.UML_DESTRUCTION_EVENT_CHANGE_RIGHT_TARGET__IS_COLLAPSED:
        fireNotifyChanged(
            new ViewerNotification(notification, notification.getNotifier(), false, true));
        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(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLAssociationChangeLeftTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLAssociationChangeRightTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLAssociationBranchChangeLeftTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLAssociationBranchChangeRightTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLDependencyBranchChangeLeftTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLDependencyBranchChangeRightTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLGeneralizationSetChangeLeftTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLGeneralizationSetChangeRightTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLDependencyChangeLeftTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLDependencyChangeRightTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLExtendChangeLeftTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLExtendChangeRightTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLExecutionSpecificationChangeLeftTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLExecutionSpecificationChangeRightTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLDestructionEventChangeLeftTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLDestructionEventChangeRightTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLIntervalConstraintChangeLeftTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLIntervalConstraintChangeRightTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLMessageChangeLeftTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLMessageChangeRightTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLStereotypeAttributeChangeLeftTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLStereotypeAttributeChangeRightTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLStereotypeUpdateAttribute()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLStereotypeApplicationAddition()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLStereotypeApplicationRemoval()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLStereotypeReferenceChangeLeftTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLStereotypeReferenceChangeRightTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLStereotypeUpdateReference()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLStereotypeReferenceOrderChange()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLProfileApplicationAddition()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLProfileApplicationRemoval()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLElementChangeLeftTarget()));

    newChildDescriptors.add(
        createChildParameter(
            DiffPackage.Literals.DIFF_ELEMENT__SUB_DIFF_ELEMENTS,
            UML2DiffFactory.eINSTANCE.createUMLElementChangeRightTarget()));
  }