Disable UUIDs? [message #515495] |
Fri, 19 February 2010 01:39 |
Jesse Steinfort Messages: 7 Registered: October 2009 |
Junior Member |
|
|
Hi Folks,
I've been poking around the forums for information because I've been using an EMF model in my application that, up until now, has not had UUIDs. In fact, I had set an attribute to be the id using the id notation.
Now that I am playing with using GMF to edit my model, I'm seeing UUIDs in models created with the generated diagram editor.
Is it possible to disable the use of UUIDs? I've read that they are necessary for copy and paste, but hypothetically, if I were to not care about that, could I somehow make my GMF editor use the old way?
If this is possible, if you could point a GMF newbie in the right direction as to how to accomplish this, I'd be very appreciative.
Regards,
Jesse
|
|
|
Re: Disable UUIDs? [message #515500 is a reply to message #515495] |
Fri, 19 February 2010 02:41 |
Ed Merks Messages: 33236 Registered: July 2009 |
Senior Member |
|
|
Jesse,
UUIDs are controlled by the resource implementation containing the
model. GMF resources use UUIDs but if you store your model in a resource
separate from the diagram itself then you'll have control over whether
your model's resource uses UUIDs or not. I'm not sure the notation
model will work without UUIDs, but your own model should.
Jesse Steinfort wrote:
> Hi Folks,
>
> I've been poking around the forums for information because I've been
> using an EMF model in my application that, up until now, has not had
> UUIDs. In fact, I had set an attribute to be the id using the id
> notation.
>
> Now that I am playing with using GMF to edit my model, I'm seeing
> UUIDs in models created with the generated diagram editor.
>
> Is it possible to disable the use of UUIDs? I've read that they are
> necessary for copy and paste, but hypothetically, if I were to not
> care about that, could I somehow make my GMF editor use the old way?
>
> If this is possible, if you could point a GMF newbie in the right
> direction as to how to accomplish this, I'd be very appreciative. :)
>
> Regards,
> Jesse
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03920 seconds