コード例 #1
0
ファイル: PlaceImpl.java プロジェクト: cosminstefanxp/epns
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case ExtendedpetrinetPackage.PLACE__INTERACTIVE_INPUT:
       setInteractiveInput((InteractiveInput) null);
       return;
     case ExtendedpetrinetPackage.PLACE__ANIMATIONS:
       setAnimations((AnimationLabel) null);
       return;
     case ExtendedpetrinetPackage.PLACE__TOKENS:
       getTokens().clear();
       return;
     case ExtendedpetrinetPackage.PLACE__APPEARANCE:
       setAppearance((InputPlaceAppearance) null);
       return;
     case ExtendedpetrinetPackage.PLACE__GEOMETRY_LABEL:
       setGeometryLabel((GeometryLabel) null);
       return;
   }
   super.eUnset(featureID);
 }
コード例 #2
0
ファイル: PlaceImpl.java プロジェクト: cosminstefanxp/epns
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case ExtendedpetrinetPackage.PLACE__INTERACTIVE_INPUT:
       setInteractiveInput((InteractiveInput) newValue);
       return;
     case ExtendedpetrinetPackage.PLACE__ANIMATIONS:
       setAnimations((AnimationLabel) newValue);
       return;
     case ExtendedpetrinetPackage.PLACE__TOKENS:
       getTokens().clear();
       getTokens().addAll((Collection<? extends Token>) newValue);
       return;
     case ExtendedpetrinetPackage.PLACE__APPEARANCE:
       setAppearance((InputPlaceAppearance) newValue);
       return;
     case ExtendedpetrinetPackage.PLACE__GEOMETRY_LABEL:
       setGeometryLabel((GeometryLabel) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }