/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case ExtensionModelPackage.YHORIZONTAL_LAYOUT__SPACING: setSpacing(SPACING_EDEFAULT); return; case ExtensionModelPackage.YHORIZONTAL_LAYOUT__MARGIN: setMargin(MARGIN_EDEFAULT); return; case ExtensionModelPackage.YHORIZONTAL_LAYOUT__CELL_STYLES: getCellStyles().clear(); return; } super.eUnset(featureID); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case ExtensionModelPackage.YHORIZONTAL_LAYOUT__SPACING: setSpacing((Boolean) newValue); return; case ExtensionModelPackage.YHORIZONTAL_LAYOUT__MARGIN: setMargin((Boolean) newValue); return; case ExtensionModelPackage.YHORIZONTAL_LAYOUT__CELL_STYLES: getCellStyles().clear(); getCellStyles().addAll((Collection<? extends YHorizontalLayoutCellStyle>) newValue); return; } super.eSet(featureID, newValue); }