Skip to main content



      Home
Home » Eclipse Projects » Sirius » Generation of ID's (How to generate ID and referencing using Eclipse Sirius?)
Generation of ID's [message #1822574] Tue, 10 March 2020 04:35 Go to next message
Eclipse UserFriend
Hello,

Good day..!!

I have used XML language in generator to create an application. Inside application i want to generate GUID and link it with other classes via references. How can i do it in generator? Is it possible to make some changes in meta-model so that it creates ID automatically?

Will be looking forward for a response.

Regards,
Adil
Re: Generation of ID's [message #1822732 is a reply to message #1822574] Thu, 12 March 2020 07:13 Go to previous message
Eclipse UserFriend
Hi Adil,

It seems your question is not related to Sirius but to a more general topic about ids in the meta-metamodels.

There are several threads on the EMF forum dealing with those aspects (among them : https://www.eclipse.org/forums/index.php/t/1085133/, https://www.eclipse.org/forums/index.php/t/241179/, https://www.eclipse.org/forums/index.php/t/214771/,...)
You will find the EMF forum here: https://www.eclipse.org/forums/index.php/f/108/
Note that you might also take a look to the EMF Book.

In you metamodel, a first lead might be to check if you have some EAttribute elements with the id property set to true.

Regards
Previous Topic:Specifying the default model object to create in new model creation
Next Topic:Rotate Diagram Element
Goto Forum:
  


Current Time: Wed Jun 25 02:05:50 EDT 2025

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

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

Back to the top