Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 08:35 Go to next message
Adil Bhatti is currently offline Adil BhattiFriend
Messages: 10
Registered: March 2019
Junior Member
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 11:13 Go to previous message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 516
Registered: July 2009
Location: Nantes, France
Senior Member
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


Maxime Porhel - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Specifying the default model object to create in new model creation
Next Topic:Rotate Diagram Element
Goto Forum:
  


Current Time: Fri Apr 19 15:11:28 GMT 2024

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

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

Back to the top