Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » create a project of multiple diagrams
create a project of multiple diagrams [message #1051395] Sun, 28 April 2013 18:30 Go to next message
Simon Zutterman is currently offline Simon ZuttermanFriend
Messages: 28
Registered: October 2012
Junior Member
Hi,

I created several diagrams which all are based on the same ecore model.
In that ecore model i have 4 classes.
I created a different diagram for each class, but by using the "load resource" in runtime, the classes can still be linked to each other.

What you have to do now in runtime to use all diagrams:

-File->new->folder
-File->new->examples->diagram 1
-File->new->examples->diagram 2
-File->new->examples->diagram 3
-File->new->examples->diagram 4

My question:

Is it possible to make a sort of 'project' containing all 4 diagram editors, so when i go into the runtime:

-File->new->examples->"ProjectXXX"

Which then creates a folder already containing 4 empty diagrams (one of each class).


Regards & greets from Belgium,

Simon

[Updated on: Sun, 28 April 2013 18:39]

Report message to a moderator

Re: create a project of multiple diagrams [message #1052574 is a reply to message #1051395] Tue, 30 April 2013 08:53 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 697
Registered: November 2009
Senior Member
Hi,

this should help you http://www.vogella.com/articles/EclipseWizards/article.html#wizards_commands . All you need to do is a Wizzard for the to create a new project.

Ralph
Re: create a project of multiple diagrams [message #1052587 is a reply to message #1052574] Tue, 30 April 2013 09:11 Go to previous message
Simon Zutterman is currently offline Simon ZuttermanFriend
Messages: 28
Registered: October 2012
Junior Member
Thanks Ralph, i'll take a look into this!
Previous Topic:TextChangeHelper doesn't receive focus out events
Next Topic:What is the best code practice to modify the domain model on diagram loading?
Goto Forum:
  


Current Time: Sun Dec 21 19:26:33 GMT 2014

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

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