| [news.eclipse.modeling.gmf] Re: Problems with the Mapping model |
Hello Linda,
Itâs not a problem to stay with three type of nodes but keep only one link with proper constraints.The reason that we chose to have three types of nodes is because they should not look the same when drawn in the editor. It seem as though
Again, I think the reason is: incorrect type of the link was ârecognizedâ by GMF-generated code. I.e. we are creating link of type-1, but somewhere in VisualIdRegistry/ViewProvider this type will be substituted by another one ant type-2 ViewProvider will be returned which is incorrectâ So, try following my suggestions with the single link and several constraints or try to debugging ???ViewProvider to see which class of ViewFactory will be returned.combined in a certain way but the actual creation of the link is not done.
I simply do not understand what do you mean here.. If you are talking about some misplacing the actual type of the link with incorrect one then this is exactly what I was thinking about and in this case you have to debug ???VisualIdRegistry + ???ViewProvideer.We think it is the connection between the graphic display part and the controller - get/set variables that is "broken" rather than the actual drawing of the link. The link is not "saved" anywhere so when "repaint" or whatever is done there is no link information to paint. Where is this done?
----------------- Alex Shatalin