|
|
|
Re: How to create attributes using EMF API ? [message #757939 is a reply to message #757938] |
Thu, 17 November 2011 12:14  |
Eclipse User |
|
|
|
Hi Ed,
Possibly. I generated the ecore model from the pom xsd so I'd prefer
not to modify it... but it had occurred to me to do so. My guess is
this issue could arise from other xsd to ecore use cases.
Thanks!
Roy
On 11/17/2011 6:39 AM, Mickael Istria wrote:
> Hello Benjamin,
>
> The good practive would be that your pom.ecore contained the right
> entries for these attribute so that you could manipulate then using
> setSource or PomPackage.Literals.CONFIGURATION_SOURCE EAttribute.
>
> If you cannot modify your .ecore to support this, then you are in a
> tricky situation. I found a way to leverage EFeatureMaps to support
> 3rd-party extensions in your models. this is the issue described here:
> http://www.eclipsecon.org/2012/sessions/hack-emf-models-support-vendor-specific-attributes
>
>
> Is this your use-case?
|
|
|
Powered by
FUDForum. Page generated in 0.03423 seconds