/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case GuigraphPackage.WIDGET__CHILDREN: getChildren().clear(); return; case GuigraphPackage.WIDGET__IMAGE: setImage(IMAGE_EDEFAULT); return; } super.eUnset(featureID); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case GuigraphPackage.WIDGET__CHILDREN: getChildren().clear(); getChildren().addAll((Collection<? extends Widget>) newValue); return; case GuigraphPackage.WIDGET__IMAGE: setImage((String) newValue); return; } super.eSet(featureID, newValue); }