Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » .gmfmap nodes mapping for multiple concrete supertypes
.gmfmap nodes mapping for multiple concrete supertypes [message #206341] Tue, 23 September 2008 00:07 Go to next message
Jevon  is currently offline Jevon Friend
Messages: 164
Registered: July 2009
Senior Member
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 09:23 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
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
Previous Topic:gmf logging
Next Topic:Synchronization between Property Sheet and Tree View outline
Goto Forum:
  


Current Time: Thu Apr 25 09:27:39 GMT 2024

Powered by FUDForum. Page generated in 0.03262 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top