/**
  * {@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.impl.components.StandardPropertiesEditionComponent#updateSemanticModel(org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent)
  */
 public void updateSemanticModel(final IPropertiesEditionEvent event) {
   State state = (State) semanticObject;
   if (StatemachineViewsRepository.State.Properties.name == event.getAffectedEditor()) {
     state.setName(
         (java.lang.String)
             EEFConverterUtil.createFromString(
                 EcorePackage.Literals.ESTRING, (String) event.getNewValue()));
   }
   if (StatemachineViewsRepository.State.Properties.actions == event.getAffectedEditor()) {
     if (event.getKind() == PropertiesEditionEvent.ADD) {
       if (event.getNewValue() instanceof Command) {
         actionsSettings.addToReference((EObject) event.getNewValue());
       }
     } else if (event.getKind() == PropertiesEditionEvent.REMOVE) {
       actionsSettings.removeFromReference((EObject) event.getNewValue());
     } else if (event.getKind() == PropertiesEditionEvent.MOVE) {
       actionsSettings.move(event.getNewIndex(), (Command) event.getNewValue());
     }
   }
   if (StatemachineViewsRepository.State.Properties.transitions == event.getAffectedEditor()) {
     if (event.getKind() == PropertiesEditionEvent.ADD) {
       EReferencePropertiesEditionContext context =
           new EReferencePropertiesEditionContext(
               editingContext, this, transitionsSettings, editingContext.getAdapterFactory());
       PropertiesEditingProvider provider =
           (PropertiesEditingProvider)
               editingContext
                   .getAdapterFactory()
                   .adapt(semanticObject, PropertiesEditingProvider.class);
       if (provider != null) {
         PropertiesEditingPolicy policy = provider.getPolicy(context);
         if (policy instanceof CreateEditingPolicy) {
           policy.execute();
         }
       }
     } else if (event.getKind() == PropertiesEditionEvent.EDIT) {
       EObjectPropertiesEditionContext context =
           new EObjectPropertiesEditionContext(
               editingContext,
               this,
               (EObject) event.getNewValue(),
               editingContext.getAdapterFactory());
       PropertiesEditingProvider provider =
           (PropertiesEditingProvider)
               editingContext
                   .getAdapterFactory()
                   .adapt((EObject) event.getNewValue(), PropertiesEditingProvider.class);
       if (provider != null) {
         PropertiesEditingPolicy editionPolicy = provider.getPolicy(context);
         if (editionPolicy != null) {
           editionPolicy.execute();
         }
       }
     } else if (event.getKind() == PropertiesEditionEvent.REMOVE) {
       transitionsSettings.removeFromReference((EObject) event.getNewValue());
     } else if (event.getKind() == PropertiesEditionEvent.MOVE) {
       transitionsSettings.move(event.getNewIndex(), (Transition) event.getNewValue());
     }
   }
 }
 /**
  * {@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) {
   PropertiesEditionElement propertiesEditionElement = (PropertiesEditionElement) semanticObject;
   if (ComponentsViewsRepository.PropertiesEditionElement.Properties.name
       == event.getAffectedEditor()) {
     propertiesEditionElement.setName(
         (java.lang.String)
             EEFConverterUtil.createFromString(
                 EcorePackage.Literals.ESTRING, (String) event.getNewValue()));
   }
   if (ComponentsViewsRepository.PropertiesEditionElement.Binding.views
       == event.getAffectedEditor()) {
     if (event.getKind() == PropertiesEditionEvent.ADD) {
       if (event.getNewValue() instanceof ElementEditor) {
         viewsSettings.addToReference((EObject) event.getNewValue());
       }
     } else if (event.getKind() == PropertiesEditionEvent.REMOVE) {
       viewsSettings.removeFromReference((EObject) event.getNewValue());
     } else if (event.getKind() == PropertiesEditionEvent.MOVE) {
       viewsSettings.move(event.getNewIndex(), (ElementEditor) event.getNewValue());
     }
   }
   if (ComponentsViewsRepository.PropertiesEditionElement.Binding.model
       == event.getAffectedEditor()) {
     if (event.getKind() == PropertiesEditionEvent.SET) {
       modelSettings.setToReference((EStructuralFeature) event.getNewValue());
     } else if (event.getKind() == PropertiesEditionEvent.ADD) {
       EReferencePropertiesEditionContext context =
           new EReferencePropertiesEditionContext(
               editingContext, this, modelSettings, editingContext.getAdapterFactory());
       PropertiesEditingProvider provider =
           (PropertiesEditingProvider)
               editingContext
                   .getAdapterFactory()
                   .adapt(semanticObject, PropertiesEditingProvider.class);
       if (provider != null) {
         PropertiesEditingPolicy policy = provider.getPolicy(context);
         if (policy instanceof CreateEditingPolicy) {
           policy.execute();
         }
       }
     }
   }
   if (ComponentsViewsRepository.PropertiesEditionElement.Properties.helpID
       == event.getAffectedEditor()) {
     propertiesEditionElement.setHelpID(
         (java.lang.String)
             EEFConverterUtil.createFromString(
                 EcorePackage.Literals.ESTRING, (String) event.getNewValue()));
   }
 }
 /**
  * {@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) {
   InputPin inputPin = (InputPin) semanticObject;
   if (UmlViewsRepository.InputPin.Properties.name == event.getAffectedEditor()) {
     inputPin.setName(
         (java.lang.String)
             EEFConverterUtil.createFromString(
                 UMLPackage.eINSTANCE.getString(), (String) event.getNewValue()));
   }
   if (UmlViewsRepository.InputPin.Properties.visibility == event.getAffectedEditor()) {
     inputPin.setVisibility((VisibilityKind) event.getNewValue());
   }
   if (UmlViewsRepository.InputPin.Properties.clientDependency == event.getAffectedEditor()) {
     if (event.getKind() == PropertiesEditionEvent.ADD) {
       if (event.getNewValue() instanceof Dependency) {
         clientDependencySettings.addToReference((EObject) event.getNewValue());
       }
     } else if (event.getKind() == PropertiesEditionEvent.REMOVE) {
       clientDependencySettings.removeFromReference((EObject) event.getNewValue());
     }
   }
   if (UmlViewsRepository.InputPin.Properties.isLeaf == event.getAffectedEditor()) {
     inputPin.setIsLeaf((Boolean) event.getNewValue());
   }
   if (UmlViewsRepository.InputPin.Properties.inStructuredNode == event.getAffectedEditor()) {
     if (event.getKind() == PropertiesEditionEvent.SET) {
       inStructuredNodeSettings.setToReference((StructuredActivityNode) event.getNewValue());
     } else if (event.getKind() == PropertiesEditionEvent.ADD) {
       StructuredActivityNode eObject = UMLFactory.eINSTANCE.createStructuredActivityNode();
       EObjectPropertiesEditionContext context =
           new EObjectPropertiesEditionContext(
               editingContext, this, eObject, editingContext.getAdapterFactory());
       PropertiesEditingProvider provider =
           (PropertiesEditingProvider)
               editingContext.getAdapterFactory().adapt(eObject, PropertiesEditingProvider.class);
       if (provider != null) {
         PropertiesEditingPolicy policy = provider.getPolicy(context);
         if (policy != null) {
           policy.execute();
         }
       }
       inStructuredNodeSettings.setToReference(eObject);
     }
   }
   if (UmlViewsRepository.InputPin.Properties.activity == event.getAffectedEditor()) {
     if (event.getKind() == PropertiesEditionEvent.SET) {
       activitySettings.setToReference((Activity) event.getNewValue());
     } else if (event.getKind() == PropertiesEditionEvent.ADD) {
       Activity eObject = UMLFactory.eINSTANCE.createActivity();
       EObjectPropertiesEditionContext context =
           new EObjectPropertiesEditionContext(
               editingContext, this, eObject, editingContext.getAdapterFactory());
       PropertiesEditingProvider provider =
           (PropertiesEditingProvider)
               editingContext.getAdapterFactory().adapt(eObject, PropertiesEditingProvider.class);
       if (provider != null) {
         PropertiesEditingPolicy policy = provider.getPolicy(context);
         if (policy != null) {
           policy.execute();
         }
       }
       activitySettings.setToReference(eObject);
     }
   }
   if (UmlViewsRepository.InputPin.Properties.outgoing == event.getAffectedEditor()) {
     if (event.getKind() == PropertiesEditionEvent.ADD) {
       if (event.getNewValue() instanceof ActivityEdge) {
         outgoingSettings.addToReference((EObject) event.getNewValue());
       }
     } else if (event.getKind() == PropertiesEditionEvent.REMOVE) {
       outgoingSettings.removeFromReference((EObject) event.getNewValue());
     }
   }
   if (UmlViewsRepository.InputPin.Properties.incoming == event.getAffectedEditor()) {
     if (event.getKind() == PropertiesEditionEvent.ADD) {
       if (event.getNewValue() instanceof ActivityEdge) {
         incomingSettings.addToReference((EObject) event.getNewValue());
       }
     } else if (event.getKind() == PropertiesEditionEvent.REMOVE) {
       incomingSettings.removeFromReference((EObject) event.getNewValue());
     }
   }
   if (UmlViewsRepository.InputPin.Properties.inPartition == event.getAffectedEditor()) {
     if (event.getKind() == PropertiesEditionEvent.ADD) {
       if (event.getNewValue() instanceof ActivityPartition) {
         inPartitionSettings.addToReference((EObject) event.getNewValue());
       }
     } else if (event.getKind() == PropertiesEditionEvent.REMOVE) {
       inPartitionSettings.removeFromReference((EObject) event.getNewValue());
     }
   }
   if (UmlViewsRepository.InputPin.Properties.inInterruptibleRegion == event.getAffectedEditor()) {
     if (event.getKind() == PropertiesEditionEvent.ADD) {
       if (event.getNewValue() instanceof InterruptibleActivityRegion) {
         inInterruptibleRegionSettings.addToReference((EObject) event.getNewValue());
       }
     } else if (event.getKind() == PropertiesEditionEvent.REMOVE) {
       inInterruptibleRegionSettings.removeFromReference((EObject) event.getNewValue());
     }
   }
   if (UmlViewsRepository.InputPin.Properties.redefinedNode == event.getAffectedEditor()) {
     if (event.getKind() == PropertiesEditionEvent.ADD) {
       if (event.getNewValue() instanceof ActivityNode) {
         redefinedNodeSettings.addToReference((EObject) event.getNewValue());
       }
     } else if (event.getKind() == PropertiesEditionEvent.REMOVE) {
       redefinedNodeSettings.removeFromReference((EObject) event.getNewValue());
     }
   }
   if (UmlViewsRepository.InputPin.Properties.type == event.getAffectedEditor()) {
     if (event.getKind() == PropertiesEditionEvent.SET) {
       typeSettings.setToReference((Type) event.getNewValue());
     } else if (event.getKind() == PropertiesEditionEvent.ADD) {
       EReferencePropertiesEditionContext context =
           new EReferencePropertiesEditionContext(
               editingContext, this, typeSettings, editingContext.getAdapterFactory());
       PropertiesEditingProvider provider =
           (PropertiesEditingProvider)
               editingContext
                   .getAdapterFactory()
                   .adapt(semanticObject, PropertiesEditingProvider.class);
       if (provider != null) {
         PropertiesEditingPolicy policy = provider.getPolicy(context);
         if (policy instanceof CreateEditingPolicy) {
           policy.execute();
         }
       }
     }
   }
   if (UmlViewsRepository.InputPin.Properties.ordering == event.getAffectedEditor()) {
     inputPin.setOrdering((ObjectNodeOrderingKind) event.getNewValue());
   }
   if (UmlViewsRepository.InputPin.Properties.isControlType == event.getAffectedEditor()) {
     inputPin.setIsControlType((Boolean) event.getNewValue());
   }
   if (UmlViewsRepository.InputPin.Properties.inState == event.getAffectedEditor()) {
     if (event.getKind() == PropertiesEditionEvent.ADD) {
       if (event.getNewValue() instanceof State) {
         inStateSettings.addToReference((EObject) event.getNewValue());
       }
     } else if (event.getKind() == PropertiesEditionEvent.REMOVE) {
       inStateSettings.removeFromReference((EObject) event.getNewValue());
     }
   }
   if (UmlViewsRepository.InputPin.Properties.selection == event.getAffectedEditor()) {
     if (event.getKind() == PropertiesEditionEvent.SET) {
       selectionSettings.setToReference((Behavior) event.getNewValue());
     } else if (event.getKind() == PropertiesEditionEvent.ADD) {
       EReferencePropertiesEditionContext context =
           new EReferencePropertiesEditionContext(
               editingContext, this, selectionSettings, editingContext.getAdapterFactory());
       PropertiesEditingProvider provider =
           (PropertiesEditingProvider)
               editingContext
                   .getAdapterFactory()
                   .adapt(semanticObject, PropertiesEditingProvider.class);
       if (provider != null) {
         PropertiesEditingPolicy policy = provider.getPolicy(context);
         if (policy instanceof CreateEditingPolicy) {
           policy.execute();
         }
       }
     }
   }
   if (UmlViewsRepository.InputPin.Properties.isOrdered == event.getAffectedEditor()) {
     inputPin.setIsOrdered((Boolean) event.getNewValue());
   }
   if (UmlViewsRepository.InputPin.Properties.isUnique == event.getAffectedEditor()) {
     inputPin.setIsUnique((Boolean) event.getNewValue());
   }
   if (UmlViewsRepository.InputPin.Properties.isControl == event.getAffectedEditor()) {
     inputPin.setIsControl((Boolean) event.getNewValue());
   }
 }
 /**
  * {@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) {
   Solution solution = (Solution) semanticObject;
   if (GsnViewsRepository.Solution.Properties.identifier == event.getAffectedEditor()) {
     solution.setIdentifier(
         (java.lang.String)
             EEFConverterUtil.createFromString(
                 ArmPackage.eINSTANCE.getString(), (String) event.getNewValue()));
   }
   if (GsnViewsRepository.Solution.Properties.description == event.getAffectedEditor()) {
     solution.setDescription(
         (java.lang.String)
             EEFConverterUtil.createFromString(
                 ArmPackage.eINSTANCE.getString(), (String) event.getNewValue()));
   }
   if (GsnViewsRepository.Solution.Properties.content == event.getAffectedEditor()) {
     solution.setContent(
         (java.lang.String)
             EEFConverterUtil.createFromString(
                 ArmPackage.eINSTANCE.getString(), (String) event.getNewValue()));
   }
   if (GsnViewsRepository.Solution.Properties.isTagged == event.getAffectedEditor()) {
     if (event.getKind() == PropertiesEditionEvent.ADD) {
       EReferencePropertiesEditionContext context =
           new EReferencePropertiesEditionContext(
               editingContext, this, isTaggedSettings, editingContext.getAdapterFactory());
       PropertiesEditingProvider provider =
           (PropertiesEditingProvider)
               editingContext
                   .getAdapterFactory()
                   .adapt(semanticObject, PropertiesEditingProvider.class);
       if (provider != null) {
         PropertiesEditingPolicy policy = provider.getPolicy(context);
         if (policy instanceof CreateEditingPolicy) {
           policy.execute();
         }
       }
     } else if (event.getKind() == PropertiesEditionEvent.EDIT) {
       EObjectPropertiesEditionContext context =
           new EObjectPropertiesEditionContext(
               editingContext,
               this,
               (EObject) event.getNewValue(),
               editingContext.getAdapterFactory());
       PropertiesEditingProvider provider =
           (PropertiesEditingProvider)
               editingContext
                   .getAdapterFactory()
                   .adapt((EObject) event.getNewValue(), PropertiesEditingProvider.class);
       if (provider != null) {
         PropertiesEditingPolicy editionPolicy = provider.getPolicy(context);
         if (editionPolicy != null) {
           editionPolicy.execute();
         }
       }
     } else if (event.getKind() == PropertiesEditionEvent.REMOVE) {
       isTaggedSettings.removeFromReference((EObject) event.getNewValue());
     } else if (event.getKind() == PropertiesEditionEvent.MOVE) {
       isTaggedSettings.move(event.getNewIndex(), (TaggedValue) event.getNewValue());
     }
   }
   if (GsnViewsRepository.Solution.Properties.target == event.getAffectedEditor()) {
     if (event.getKind() == PropertiesEditionEvent.ADD) {
       if (event.getNewValue() instanceof ModelElement) {
         targetSettings.addToReference((EObject) event.getNewValue());
       }
     } else if (event.getKind() == PropertiesEditionEvent.REMOVE) {
       targetSettings.removeFromReference((EObject) event.getNewValue());
     } else if (event.getKind() == PropertiesEditionEvent.MOVE) {
       targetSettings.move(event.getNewIndex(), (ModelElement) event.getNewValue());
     }
   }
   if (GsnViewsRepository.Solution.Properties.source == event.getAffectedEditor()) {
     if (event.getKind() == PropertiesEditionEvent.ADD) {
       if (event.getNewValue() instanceof ModelElement) {
         sourceSettings.addToReference((EObject) event.getNewValue());
       }
     } else if (event.getKind() == PropertiesEditionEvent.REMOVE) {
       sourceSettings.removeFromReference((EObject) event.getNewValue());
     } else if (event.getKind() == PropertiesEditionEvent.MOVE) {
       sourceSettings.move(event.getNewIndex(), (ModelElement) event.getNewValue());
     }
   }
   if (GsnViewsRepository.Solution.Properties.solutionEvidence == event.getAffectedEditor()) {
     if (event.getKind() == PropertiesEditionEvent.ADD) {
       EReferencePropertiesEditionContext context =
           new EReferencePropertiesEditionContext(
               editingContext, this, solutionEvidenceSettings, editingContext.getAdapterFactory());
       PropertiesEditingProvider provider =
           (PropertiesEditingProvider)
               editingContext
                   .getAdapterFactory()
                   .adapt(semanticObject, PropertiesEditingProvider.class);
       if (provider != null) {
         PropertiesEditingPolicy policy = provider.getPolicy(context);
         if (policy instanceof CreateEditingPolicy) {
           policy.execute();
         }
       }
     } else if (event.getKind() == PropertiesEditionEvent.EDIT) {
       EObjectPropertiesEditionContext context =
           new EObjectPropertiesEditionContext(
               editingContext,
               this,
               (EObject) event.getNewValue(),
               editingContext.getAdapterFactory());
       PropertiesEditingProvider provider =
           (PropertiesEditingProvider)
               editingContext
                   .getAdapterFactory()
                   .adapt((EObject) event.getNewValue(), PropertiesEditingProvider.class);
       if (provider != null) {
         PropertiesEditingPolicy editionPolicy = provider.getPolicy(context);
         if (editionPolicy != null) {
           editionPolicy.execute();
         }
       }
     } else if (event.getKind() == PropertiesEditionEvent.REMOVE) {
       solutionEvidenceSettings.removeFromReference((EObject) event.getNewValue());
     } else if (event.getKind() == PropertiesEditionEvent.MOVE) {
       solutionEvidenceSettings.move(event.getNewIndex(), (Evidence) event.getNewValue());
     }
   }
   if (GsnViewsRepository.Solution.Properties.solutionContexts == event.getAffectedEditor()) {
     if (event.getKind() == PropertiesEditionEvent.ADD) {
       EReferencePropertiesEditionContext context =
           new EReferencePropertiesEditionContext(
               editingContext, this, solutionContextsSettings, editingContext.getAdapterFactory());
       PropertiesEditingProvider provider =
           (PropertiesEditingProvider)
               editingContext
                   .getAdapterFactory()
                   .adapt(semanticObject, PropertiesEditingProvider.class);
       if (provider != null) {
         PropertiesEditingPolicy policy = provider.getPolicy(context);
         if (policy instanceof CreateEditingPolicy) {
           policy.execute();
         }
       }
     } else if (event.getKind() == PropertiesEditionEvent.EDIT) {
       EObjectPropertiesEditionContext context =
           new EObjectPropertiesEditionContext(
               editingContext,
               this,
               (EObject) event.getNewValue(),
               editingContext.getAdapterFactory());
       PropertiesEditingProvider provider =
           (PropertiesEditingProvider)
               editingContext
                   .getAdapterFactory()
                   .adapt((EObject) event.getNewValue(), PropertiesEditingProvider.class);
       if (provider != null) {
         PropertiesEditingPolicy editionPolicy = provider.getPolicy(context);
         if (editionPolicy != null) {
           editionPolicy.execute();
         }
       }
     } else if (event.getKind() == PropertiesEditionEvent.REMOVE) {
       solutionContextsSettings.removeFromReference((EObject) event.getNewValue());
     } else if (event.getKind() == PropertiesEditionEvent.MOVE) {
       solutionContextsSettings.move(event.getNewIndex(), (Context) event.getNewValue());
     }
   }
 }