[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Problems with the Mapping model

Not sure I understood everything...but I've tried to not generated any link mappings through the dashboard now. Instead, I've created new link mapping-children to the mapping-node in the .gmfmap-editor, but unfortunately with the same result as before, only the first child is drawn when I use my statechart-editor.

I don't want to have the different link mappings to have their own toolbar tools since they are the same type of link...I want them combined from the beginning (if possible).

Maybe my explanation was a bit messy before, I'll try to clear it up...my problem is that I have three different nodes; A, B and C. I want to create different mappings so that it's possible to draw links like this.
A -> B
B -> B
B -> C


They should all share the same tool, but if I try to create a link from B to A or from A to C, this should not be possible.

I've tried to look at the getEdgeViewClass() method, but I can't see any difference between the case that works and the cases that don't...but maybe that was not what I was supposed to do? I know all the correct visual_ID:s are created, so at least that should not be a problem.

I'm sorry if I don't explain/understand properly, I'm pretty new to both Eclipse and GMF...

/Anna