/**
  * {@inheritDoc}
  *
  * @see
  *     org.eclipse.emf.eef.runtime.impl.components.StandardPropertiesEditionComponent#updateSemanticModel(org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent)
  */
 public void updateSemanticModel(final IPropertiesEditionEvent event) {
   FlowEvent flowEvent = (FlowEvent) semanticObject;
   if (FlowViewsRepository.FlowEvent.Properties.description == event.getAffectedEditor()) {
     flowEvent.setDescription(
         (java.lang.String)
             EEFConverterUtil.createFromString(
                 EcorePackage.Literals.ESTRING, (String) event.getNewValue()));
   }
   if (FlowViewsRepository.FlowEvent.Properties.name == event.getAffectedEditor()) {
     flowEvent.setName(
         (java.lang.String)
             EEFConverterUtil.createFromString(
                 EcorePackage.Literals.ESTRING, (String) event.getNewValue()));
   }
   if (FlowViewsRepository.FlowEvent.Properties.binds == event.getAffectedEditor()) {
     if (event.getKind() == PropertiesEditionEvent.ADD) {
       if (event.getNewValue() instanceof ViewEvent) {
         bindsSettings.addToReference((EObject) event.getNewValue());
       }
     } else if (event.getKind() == PropertiesEditionEvent.REMOVE) {
       bindsSettings.removeFromReference((EObject) event.getNewValue());
     } else if (event.getKind() == PropertiesEditionEvent.MOVE) {
       bindsSettings.move(event.getNewIndex(), (ViewEvent) event.getNewValue());
     }
   }
 }
  /**
   * {@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);
  }