Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » One domain file and multiple diagram files: is it possible?
One domain file and multiple diagram files: is it possible? [message #519555] Tue, 09 March 2010 10:12 Go to next message
Giovanni De Sossi is currently offline Giovanni De SossiFriend
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

Hi,

I need to generate only one model file and multiple diagram files, but GMF generated code doesn't allow this: every time I launch the wizard, it tries to create "new" domain file for each "new" diagram.

Any suggestion about this?
Thanks in advance, regards

Giovanni.
Re: One domain file and multiple diagram files: is it possible? [message #520380 is a reply to message #519555] Fri, 12 March 2010 03:20 Go to previous messageGo to next message
Ali Koudri is currently offline Ali KoudriFriend
Messages: 118
Registered: July 2009
Senior Member
Hi,

you've got to modify the GMF generated code. More precisely, you have to
modify the createDiagram(...) method of your XXXEditorUtil class in
order to avoid the creation of a new file storing your notational model
and add the newly created diagram in the same resource of the business
model.

Cheers.

Le 09/03/2010 11:12, Giovanni a écrit :
> Hi,
>
> I need to generate only one model file and multiple diagram files, but
> GMF generated code doesn't allow this: every time I launch the wizard,
> it tries to create "new" domain file for each "new" diagram.
>
> Any suggestion about this?
> Thanks in advance, regards
>
> Giovanni.
Re: One domain file and multiple diagram files: is it possible? [message #520395 is a reply to message #520380] Fri, 12 March 2010 08:57 Go to previous message
Giovanni De Sossi is currently offline Giovanni De SossiFriend
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

Hi Ali,

thank you for the answer: I tried it, and it works.

Regards,

Giovanni.
Previous Topic:Drawing blocks with predefined inputs/outputs
Next Topic:How to get a corresponding view to an element
Goto Forum:
  


Current Time: Tue Mar 19 04:47:42 GMT 2024

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

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

Back to the top