Exemplo n.º 1
0
 /**
  *
  * <!-- begin-user-doc -->
  *
  * @param featureID
  *     <!-- end-user-doc -->
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case LabelsPackage.AREA_LABEL_VALUE__AREA:
       setArea(AREA_EDEFAULT);
       return;
     case LabelsPackage.AREA_LABEL_VALUE__AVERAGE_EXTENT:
       setAverageExtent(AVERAGE_EXTENT_EDEFAULT);
       return;
   }
   super.eUnset(featureID);
 }
Exemplo n.º 2
0
 /**
  *
  * <!-- begin-user-doc -->
  *
  * @param featureID
  * @param newValue
  *     <!-- end-user-doc -->
  * @generated
  */
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case LabelsPackage.AREA_LABEL_VALUE__AREA:
       setArea((Double) newValue);
       return;
     case LabelsPackage.AREA_LABEL_VALUE__AVERAGE_EXTENT:
       setAverageExtent((Double) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }