/**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case NcpolicyPackage.NEW_CHILD_POLICY_SET__NAME:
       setName((String) newValue);
       return;
     case NcpolicyPackage.NEW_CHILD_POLICY_SET__POLICIES:
       getPolicies().clear();
       getPolicies().addAll((Collection<? extends NewChildPolicy>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
Beispiel #2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case ContextsPackage.SECTION__NAME:
       setName((String) newValue);
       return;
     case ContextsPackage.SECTION__TAB:
       setTab((Tab) newValue);
       return;
     case ContextsPackage.SECTION__SECTION_FILE:
       setSectionFile((String) newValue);
       return;
     case ContextsPackage.SECTION__WIDGET:
       setWidget((CompositeWidget) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
Beispiel #3
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case ContextsPackage.VIEW__NAME:
       setName((String) newValue);
       return;
     case ContextsPackage.VIEW__SECTIONS:
       getSections().clear();
       getSections().addAll((Collection<? extends Section>) newValue);
       return;
     case ContextsPackage.VIEW__CONTEXT:
       setContext((Context) newValue);
       return;
     case ContextsPackage.VIEW__AUTOMATIC_CONTEXT:
       setAutomaticContext((Boolean) newValue);
       return;
     case ContextsPackage.VIEW__DATACONTEXTS:
       getDatacontexts().clear();
       getDatacontexts().addAll((Collection<? extends DataContextElement>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }