[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Link Mapping problem in eclipse 3.4

Hi Alex

In my generated code i have XXXViewProvider which is my superclass, but doesn't have any createEdge().

I Have to add link constraint or just constraint .




Hello govind,

Ok. If "true" is returned from XXXCreateCommand.canExecute() then you can try placing a breakpont into XXXViewProvider.createEdge() operation - this method will be called as a second part of link creation and can be another reason preventing you from second link creation.

do i have add any ocl to me link mapping
If you have several links with same underlying domain model meta-element then you have to add some (OCL) constraints to make it possible for GMF to destinguish between these links.