limitation of child extender ? [message #1806733] |
Tue, 14 May 2019 13:28 |
|
Hello everybody,
I'm working with several metamodels and I don't get all possible new children in one usecase...
I have an Ecore metamodel A, with a element ElementA, which owns element called SubElementA.
I generated the model, edit and editor plugins
I have a 2nd Ecore metamodel B, with an element SubElementB which extends SubElementA.
I generated only model and edit plugins
I have a 3rd Ecore metamodel C, with an element ElementC which extends ElementA.
I generated only model and edit plugins.
Child Creation Extender is set to true in each genmodel.
I'm not able to create SubElementB as child of ElementC in the editor generated for the A model.
Is it the expected behavior or I forgot to do something ?
Regards,
|
|
|
Re: limitation of child extender ? [message #1806735 is a reply to message #1806733] |
Tue, 14 May 2019 13:31 |
|
Hi, Vincent.
The child creation extension is a two-way street. The Edit providers for the model that wants to find child creation extenders also needs to set the "Extensible Provider Factory" property in the GenModel. Otherwise, generated extenders will have no effect because the Edit providers won't look for them.
HTH,
Christian
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02098 seconds