[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Showing parent's figure instead of its own

Hi everyone,

Recently I've got a problem that's really puzzling me. I'm trying to generate an editor for graphs with different kinds of nodes. Let's simplify it a bit and say I have a "Node" abstract metaclass, being "A" a subclass of "Node" and "B" a subclass of "A". In the tooling, graphical and mapping definitions both "A" and "B" have its own creation tools, figures, diagram nodes, node mappings, etc.

But in the generated editor, while the "A" nodes are created and shown perfectly, "B" nodes are not shown inmediately. They are only shown after I move any other element in the editor, and the figure shown is that of its parent A, not its own figure. However, when selecting the recently created "B" you can see in its property view that actually is a B node.

Any kind of hint to resolve this problem will be greatly appreciated

Thanks in advance

David