Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Multiple top-level classes
Multiple top-level classes [message #534282] Tue, 18 May 2010 10:51
Eclipse UserFriend
for different reasons the meta-model I'm working on looks like this one
http://www.mirari.fr/71kZ

I want to create a graphical editor for this model, I should choose the Root class as the top-level class, but it would lead to force the user to create the Main class before being able to create Items.

I see two solutions :


  1. I choose the Main class as the top-level class, but I neeed then to create manually the Root class of the model before opening a diagram editor ;
  2. I keep the Root class as the top-level class, and I implicitely create the Main class when the diagram editor starts, allowing the user to draw items without having to know that there was this Main class.


What solution do you think is the best ? I don't know if they are easy to do with GMF...
Previous Topic:GMF API documentation missing
Next Topic:Rectilinear Routing as Default in GMF 2.1.1 +
Goto Forum:
  


Current Time: Wed Mar 26 01:52:39 EDT 2025

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

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

Back to the top