Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Confusion with hierarchy of figures
Confusion with hierarchy of figures [message #557453] Tue, 07 September 2010 13:41
schmFriend
Messages: 17
Registered: June 2010
Junior Member
Hi,

I generated two different editors that both contain elements with compartments. In one editor the hierarchy of the figures looks like this:

+DefaultSizeNodeFigure
|-+ElementFigure (the one defined in the gmfgraph model)
  |->CompartmentFigure


In the other one, it looks like this:

+DefaultSizeNodeFigure
|->ElementFigure
|->CompartmentFigure


So, in the second one, the CompartmentFigure is not a child of the ElementFigure but of the DefaultSizeNodeFigure. I have spent several ours looking for the part in the graph- mapping- and gmfgen models that causes this difference but have not been able to find it. This is complicated by the fact that the editors and thus also their models are quite different from each other. Does anyone of you know what might cause this difference in the hierarchy? It is important for me that the second editor has the first hierarchy where the CompartmentFigure is a child of the ElementFigure.
Previous Topic:How children of an editPart are created?
Next Topic:How to invoke a GMF editor from outside
Goto Forum:
  


Current Time: Thu Apr 25 17:42:09 GMT 2024

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

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

Back to the top