Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Merging notation and model in one file
Merging notation and model in one file [message #39163] Tue, 05 September 2006 10:22 Go to next message
Joao Assuncao is currently offline Joao AssuncaoFriend
Messages: 9
Registered: July 2009
Junior Member
Hello all,
Is it possible to use a single file to store the model and the corresponding
diagram instead of using separate files?
If so, how can I do that? Maybe implementing a custom ResourceSet?
Thank you.

My best regards,
Joao
Re: Merging notation and model in one file [message #39194 is a reply to message #39163] Tue, 05 September 2006 10:29 Go to previous messageGo to next message
Boris Blajer is currently offline Boris BlajerFriend
Messages: 217
Registered: July 2009
Senior Member
Hi Joao,

See GenEditorGenerator.isSameFileForDiagramAndModel() option in GMFGen.

Best regards,
Boris


"Joao Assuncao" <jassuncao@deetc.isel.ipl.pt> wrote in message
news:edjj44$lho$1@utils.eclipse.org...
> Hello all,
> Is it possible to use a single file to store the model and the
> corresponding
> diagram instead of using separate files?
> If so, how can I do that? Maybe implementing a custom ResourceSet?
> Thank you.
>
> My best regards,
> Joao
>
Re: Merging notation and model in one file [message #39255 is a reply to message #39163] Tue, 05 September 2006 10:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: khai.n.situvista.com

In your .gmfgen file select "Gen Editor Generator..."
There is a property called "Same File For Diagram And Model" that you
can set to true/false to control this.

-- Khai --

Joao Assuncao wrote:
> Hello all,
> Is it possible to use a single file to store the model and the corresponding
> diagram instead of using separate files?
> If so, how can I do that? Maybe implementing a custom ResourceSet?
> Thank you.
>
> My best regards,
> Joao
>
Re: Merging notation and model in one file [message #39286 is a reply to message #39194] Tue, 05 September 2006 10:51 Go to previous message
Joao Assuncao is currently offline Joao AssuncaoFriend
Messages: 9
Registered: July 2009
Junior Member
Boris Blajer wrote:

> Hi Joao,
>
> See GenEditorGenerator.isSameFileForDiagramAndModel() option in GMFGen.
>
> Best regards,
> Boris
>
>
> "Joao Assuncao" <jassuncao@deetc.isel.ipl.pt> wrote in message
> news:edjj44$lho$1@utils.eclipse.org...
>> Hello all,
>> Is it possible to use a single file to store the model and the
>> corresponding
>> diagram instead of using separate files?
>> If so, how can I do that? Maybe implementing a custom ResourceSet?
>> Thank you.
>>
>> My best regards,
>> Joao
>>

Great!!!
Thank you very much for your quick response.
Previous Topic:Copy Paste Actions
Next Topic:Hooking into creation tool
Goto Forum:
  


Current Time: Sun Nov 10 01:29:10 GMT 2024

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

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

Back to the top