/**
  * {@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()) {
     FlowEventPropertiesEditionPart flowEventPart = (FlowEventPropertiesEditionPart) editingPart;
     if (EnvironmentPackage.eINSTANCE.getObeoDSMObject_Description().equals(msg.getFeature())
         && msg.getNotifier().equals(semanticObject)
         && flowEventPart != null
         && isAccessible(FlowViewsRepository.FlowEvent.Properties.description)) {
       if (msg.getNewValue() != null) {
         flowEventPart.setDescription(
             EcoreUtil.convertToString(EcorePackage.Literals.ESTRING, msg.getNewValue()));
       } else {
         flowEventPart.setDescription("");
       }
     }
     if (CinematicPackage.eINSTANCE.getNamedElement_Name().equals(msg.getFeature())
         && msg.getNotifier().equals(semanticObject)
         && flowEventPart != null
         && isAccessible(FlowViewsRepository.FlowEvent.Properties.name)) {
       if (msg.getNewValue() != null) {
         flowEventPart.setName(
             EcoreUtil.convertToString(EcorePackage.Literals.ESTRING, msg.getNewValue()));
       } else {
         flowEventPart.setName("");
       }
     }
     if (FlowPackage.eINSTANCE.getFlowEvent_Binds().equals(msg.getFeature())
         && isAccessible(FlowViewsRepository.FlowEvent.Properties.binds))
       flowEventPart.updateBinds();
   }
 }
  /**
   * {@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 FlowEvent flowEvent = (FlowEvent) elt;
      final FlowEventPropertiesEditionPart flowEventPart =
          (FlowEventPropertiesEditionPart) editingPart;
      // init values
      if (isAccessible(FlowViewsRepository.FlowEvent.Properties.description))
        flowEventPart.setDescription(
            EEFConverterUtil.convertToString(
                EcorePackage.Literals.ESTRING, flowEvent.getDescription()));

      if (isAccessible(FlowViewsRepository.FlowEvent.Properties.name))
        flowEventPart.setName(
            EEFConverterUtil.convertToString(EcorePackage.Literals.ESTRING, flowEvent.getName()));

      if (isAccessible(FlowViewsRepository.FlowEvent.Properties.binds)) {
        bindsSettings =
            new ReferencesTableSettings(flowEvent, FlowPackage.eINSTANCE.getFlowEvent_Binds());
        flowEventPart.initBinds(bindsSettings);
      }
      // init filters

      if (isAccessible(FlowViewsRepository.FlowEvent.Properties.binds)) {
        flowEventPart.addFilterToBinds(new EObjectFilter(ViewPackage.Literals.VIEW_EVENT));
        // Start of user code for additional businessfilters for binds
        // End of user code
      }
      // init values for referenced views

      // init filters for referenced views

    }
    setInitializing(false);
  }