Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » [Notation] why the notation models do not use unique id ?
[Notation] why the notation models do not use unique id ? [message #527821] Fri, 16 April 2010 14:59 Go to next message
Emilien Perico is currently offline Emilien PericoFriend
Messages: 36
Registered: July 2009
Member
Hi all,

I have a question about the GMF notation resource management.
Why notation resource is not an XMI resource type ?


EObjects in notation models don't use xmi:id to be identified.
Is there a specific reason to not use it ?

Thanks.

Emilien.
Re: [Notation] why the notation models do not use unique id ? [message #527834 is a reply to message #527821] Fri, 16 April 2010 15:29 Go to previous messageGo to next message
Mariot Chauvin is currently offline Mariot ChauvinFriend
Messages: 174
Registered: July 2009
Senior Member
Hi Emilien,

You simply need a custom diagram resource implementation which uses UUID.
You may use org.eclipse.gmf.runtime.emf.core.resources.GMFResource for that.

Regards

Mariot

Emilien Perico a écrit :
> Hi all,
>
> I have a question about the GMF notation resource management.
> Why notation resource is not an XMI resource type ?
>
>
> EObjects in notation models don't use xmi:id to be identified.
> Is there a specific reason to not use it ?
>
> Thanks.
>
> Emilien.
Re: [Notation] why the notation models do not use unique id ? [message #528082 is a reply to message #527834] Mon, 19 April 2010 09:12 Go to previous message
Emilien Perico is currently offline Emilien PericoFriend
Messages: 36
Registered: July 2009
Member
Hi Mariot,

thank you for your answer, GMFResource fulfills my need.


Le 16/04/2010 17:29, Mariot Chauvin a écrit :
> Hi Emilien,
>
> You simply need a custom diagram resource implementation which uses UUID.
> You may use org.eclipse.gmf.runtime.emf.core.resources.GMFResource for that.
>
> Regards
>
> Mariot
>
> Emilien Perico a écrit :
>> Hi all,
>>
>> I have a question about the GMF notation resource management.
>> Why notation resource is not an XMI resource type ?
>>
>>
>> EObjects in notation models don't use xmi:id to be identified.
>> Is there a specific reason to not use it ?
>>
>> Thanks.
>>
>> Emilien.
Previous Topic:Opening a new diagram on double click diagram element
Next Topic:creating gmf model from xmi model file
Goto Forum:
  


Current Time: Sun Sep 27 16:15:14 GMT 2020

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

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

Back to the top