Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Multiple top-level classes
Multiple top-level classes [message #534282] Tue, 18 May 2010 14:51
Julien Richard-Foy is currently offline Julien Richard-FoyFriend
Messages: 3
Registered: May 2010
Junior Member
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: Sat May 18 07:22:52 GMT 2024

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

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

Back to the top