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

Bug 341222

Summary: customization on feature defined in another metamodel
Product: z_Archived Reporter: Nicolas Bros <nicolas.bros>
Component: EMF-FacetAssignee: Nicolas Bros <nicolas.bros>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: emft.facet-inbox, gdupe
Version: unspecifiedFlags: nicolas.bros: indigo+
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Nicolas Bros CLA 2011-03-29 08:34:51 EDT
If I define a customization on EModelElement#eAnnotations from the ecore metamodel and set appliesToSubclasses to true, the customization for eAnnotations doesn't work on metaclasses that are subtypes of EModelElement but are not defined in the ecore metamodel.
Comment 1 Nicolas Bros CLA 2011-03-29 10:00:12 EDT
Fixed in revision 466.
Comment 2 Nicolas Bros CLA 2011-03-29 10:03:13 EDT
To register a metamodel on which customizations may be applied even if the customization is not defined on it, call CustomizationEngine#registerMetamodel with the URI of the metamodel to register.
Comment 3 Gregoire Dupe CLA 2011-03-30 09:13:49 EDT
This bug can be closed.