Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356064 - [EMF Runtime Extensions] EObjectUtil enhancement
Summary: [EMF Runtime Extensions] EObjectUtil enhancement
Status: CLOSED FIXED
Alias: None
Product: Sphinx
Classification: Automotive
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 0.7.0   Edit
Assignee: Stephan Eberle CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-29 06:58 EDT by Lan Phan CLA
Modified: 2021-07-14 02:17 EDT (History)
2 users (show)

See Also:


Attachments
EObjectUtil.java.patch (2.07 KB, patch)
2011-08-29 06:59 EDT, Lan Phan CLA
idydieng: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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