.gmfmap nodes mapping for multiple concrete supertypes [message #206341] |
Mon, 22 September 2008 20:07  |
Eclipse User |
|
|
|
Hello,
I am working on a model where the root element contains an abstract
type, which is then later subclassed into concrete elements:
- Root
- children: Element
- abstract Element
- Page <- Element
- Form <- Element
When trying to generate the .gmfmap for this model, the wizard struggles
to list all possible Nodes because of the abstract elements, and I think
it only selects the first concrete element to map in the .gmfmap.
The solution in this case, I think, is to then edit the .gmfmap manually
and add the other concrete classes and adding OCL constraints (such as
"not self.oclIsTypeOf(Page)" to separate the different mappings into the
different references.
My question is: can the wizard be extended to provide this functionality
automatically? i.e. provide, in the list of Nodes/Edges, a list of all
possible concrete types that will address this need, rather than just
the first one it finds. It is a bit of a confusing stumbling block.
Jevon
|
|
|
Re: .gmfmap nodes mapping for multiple concrete supertypes [message #206467 is a reply to message #206341] |
Tue, 23 September 2008 05:23  |
Eclipse User |
|
|
|
Hello Jevon,
Well, wizard is currently providing only basic content of initial .gmfmap.
In general we need more good wizards, but bow we do not focus on UI.. So,
you can file a bugzilla for it to track this issue, but I'm not sure that
this problem will be fixed in near future.
-----------------
Alex Shatalin
|
|
|
Powered by
FUDForum. Page generated in 0.03845 seconds