- Common ways to obtain EStructuralFeature
private void myMethod () {EStructuralFeature e =
ItemProviderAdapter zuper;zuper.getChildFeature(object, child)
EClass eClass;String featureName;eClass.getEStructuralFeature(featureName)
FeatureMap.Entry entry;entry.getEStructuralFeature()
- Smart code suggestions by Codota
}
EObject eObject = emofFeature.eContainer(); @SuppressWarnings("unchecked") List<EObject> list = (List<EObject>)eObject.eGet(emofFeature.eContainmentFeature()); list.set(list.indexOf(emofFeature), ecoreFeature);
EObject eObject = emofFeature.eContainer(); @SuppressWarnings("unchecked") List<EObject> list = (List<EObject>)eObject.eGet(emofFeature.eContainmentFeature()); list.set(list.indexOf(emofFeature), ecoreFeature);