/**
   * {@inheritDoc}
   *
   * @see
   *     org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent#initPart(java.lang.Object,
   *     int, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.resource.ResourceSet)
   */
  public void initPart(Object key, int kind, EObject elt, ResourceSet allResource) {
    setInitializing(true);
    if (editingPart != null && key == partKey) {
      editingPart.setContext(elt, allResource);

      final Binding binding = (Binding) elt;
      final BindingPropertiesEditionPart bindingPart = (BindingPropertiesEditionPart) editingPart;
      // init values
      if (isAccessible(SoaViewsRepository.Binding.Properties.technology)) {
        bindingPart.initTechnology(
            EEFUtils.choiceOfValues(binding, SoaPackage.eINSTANCE.getBinding_Technology()),
            binding.getTechnology());
      }
      if (isAccessible(SoaViewsRepository.Binding.Properties.description))
        bindingPart.setDescription(
            EcoreUtil.convertToString(EcorePackage.Literals.ESTRING, binding.getDescription()));
      // init filters

      // init values for referenced views

      // init filters for referenced views

    }
    setInitializing(false);
  }
  /**
   * {@inheritDoc}
   *
   * @see
   *     org.eclipse.emf.eef.runtime.impl.components.StandardPropertiesEditionComponent#updatePart(org.eclipse.emf.common.notify.Notification)
   */
  public void updatePart(Notification msg) {
    super.updatePart(msg);
    if (editingPart.isVisible()) {
      BindingPropertiesEditionPart bindingPart = (BindingPropertiesEditionPart) editingPart;
      if (SoaPackage.eINSTANCE.getBinding_Technology().equals(msg.getFeature())
          && msg.getNotifier().equals(semanticObject)
          && isAccessible(SoaViewsRepository.Binding.Properties.technology))
        bindingPart.setTechnology((BindingKind) msg.getNewValue());

      if (EnvironmentPackage.eINSTANCE.getObeoDSMObject_Description().equals(msg.getFeature())
          && msg.getNotifier().equals(semanticObject)
          && bindingPart != null
          && isAccessible(SoaViewsRepository.Binding.Properties.description)) {
        if (msg.getNewValue() != null) {
          bindingPart.setDescription(
              EcoreUtil.convertToString(EcorePackage.Literals.ESTRING, msg.getNewValue()));
        } else {
          bindingPart.setDescription("");
        }
      }
    }
  }