Hi Chris,
in the 'eclipse.technology.gmf' archive i found a post which seems to
describe exactly your problem, maybe this helps:
http://dev.eclipse.org/newslists/news.eclipse.technology.gmf/msg03951.html
best regards,
David
Chris Klapdohr schrieb:
Hi,
I have an editor for a metamodel that consist basically just of the
classes "Node" and "Edge". Now I want to add any number of
specialization types for these basic types (based on another model)
dynamically (so I cant use the elementTypes extension point).
In my palette I want to have a Creation Tool for any of my
specialization types. What I did so far:
- I created new specialization types for my basic element types "Node"
and "Edge" and registered them to the ElementTypeRegistry.
- I bound these specialization types to the client context of my editor.
- I created an palette entry for these types.
Now the specialization types are shown on the palette but I cannot add
them to the diagram canvas (only the basic ElementTypes of "Node" and
"Edge").
Is there a special thing I have to add, so my specialization types can
be added to the canvas?
Thank you for helping, Chris Klapdohr