Dynamically adding SpecializationTypes [message #93637] |
Wed, 17 January 2007 10:56 |
Eclipse User |
|
|
|
Originally posted by: klapdohr.upb.de
Hi eveyone,
I have an editor for a model that consist basically just of the classes
"Node" and "Edge". The kind of node or edge is finally determined by a
"typeOf"-reference to a certain "NodeType" or "EdgeType".
The primary question is, how I can dynamically fill the palette
according to different NodeTypes and EdgeTypes that have been loaded
previously.
My idea is to dynamically register SpecializationTypes in the
ElementTyoeRegistry. Is that the right thing to do? What shall I do
next? Where should I add the code?
Any ideas how to approach the problem?
Thanks very much for the help, Chris
|
|
|
Powered by
FUDForum. Page generated in 0.45820 seconds