public static List<Object> eGetFeatureValues(
EFeatureInfo eStructure, EObject eObject, Transaction transaction) {
//
// Get internal EFeature implementation
//
EFeatureInternal eInternal = EFeatureInternal.eInternal(eStructure, eObject);
//
// Enter modification mode
//
eInternal.enter(transaction);
//
// Try to get values
//
try {
List<Object> eList = new ArrayList<Object>();
for(EAttribute it : eStructure.eGetAttributeList(true)) {
eList.add(eObject.eGet(it));
}
return Collections.unmodifiableList(eList);
} finally {
//
// Leave modification mode
//
eInternal.leave();
}
}