Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356064

Summary: [EMF Runtime Extensions] EObjectUtil enhancement
Product: [Automotive] Sphinx Reporter: Lan Phan <quoclan>
Component: CoreAssignee: Stephan Eberle <stephaneberle9>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: idydieng, r.sezestre
Version: 0.7.0   
Target Milestone: 0.7.0   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
EObjectUtil.java.patch idydieng: iplog+

Description Lan Phan CLA 2011-08-29 06:58:53 EDT
Build Identifier: Eclipse 3.6

EObjectUtil provides 1 method to get EStructuralFeature:
getEStructuralFeature(Object owner, String featureName)

In fact, we can get EStructuralFeature from featureID, and featureID is easily taken via interface *Package, so that I proposed to add 1 more method:
getEStructuralFeature(Object owner, int featureID)

Patch is in attachment

Reproducible: Always
Comment 1 Lan Phan CLA 2011-08-29 06:59:36 EDT
Created attachment 202308 [details]
EObjectUtil.java.patch
Comment 2 Stephan Eberle CLA 2011-09-01 07:47:33 EDT
Fixed by applying proposed patch.
Comment 3 Balazs Grill CLA 2021-07-14 02:17:07 EDT
Mass-closing Resolved tickets