Community
Participate
Working Groups
Build Identifier: 20100617-1415 Custom labels specified in ItemLabelProvider.ext do not work as expected if the corresponding model is contained in a package hierarchy (see STR). The attached patch fixes this issue. Reproducible: Always Steps to Reproduce: 1. Create an ecore model 2. Create package p1 3. Create package p1.p2 4. Create class p1.p2.C1 5. Create p1.p2.ItemLabelProvider.ext with the following contents: import p1.p2; String label(C1 c): "Test!"; 6. Create a dynamic instance of p1.p2.T and save it to a .xmi file 7. Open the dynamic instance using the Generic EMF Form Editor. 8. Observe that the custom label does not work. 9. A possible workaround is putting the ItemLabelProvider.ext file in the package p2. 10. For a fix please see the attached patch.
Created attachment 176787 [details] Proposed patch to fix to make ItemLabelProvider.ext work with nested packages
Thanks for your report. Fixed in head.
Bug resolved before Xpand 1.2 release date => Closing