Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Dynamically adding SpecializationTypes
Dynamically adding SpecializationTypes [message #93637] Wed, 17 January 2007 10:56
Eclipse UserFriend
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
Previous Topic:compartment problem
Next Topic:Purpose of CanvasMapping.domainModel in GMFMapping Model
Goto Forum:
  


Current Time: Tue Jun 24 01:57:35 EDT 2025

Powered by FUDForum. Page generated in 0.45820 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top