Multiple top-level classes [message #534282] |
Tue, 18 May 2010 10:51 |
Eclipse User |
|
|
|
for different reasons the meta-model I'm working on looks like this one

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 :
- 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 ;
- 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...
|
|
|
Powered by
FUDForum. Page generated in 0.03426 seconds