Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » New element creation
New element creation [message #1790117] Tue, 05 June 2018 11:58 Go to next message
Mahdjoub NOUR EL HOUDA is currently offline Mahdjoub NOUR EL HOUDAFriend
Messages: 1
Registered: June 2018
Junior Member
index.php/fa/33013/0/Hello,

I am new to Sirius. I have looked through all the tutorials, examples and forums posts, but have not been able to solve my problem: Is there any detailed tutorial, that describes step by step how to make the creation tool for element based edges? All the tutorials only look at relation based edges.

What do I do wrong, when I have/do the following:

My model:
- classes: relationends, relation (each with variables: source (type ends), target (type ends), name (type String))
* i have a probelme with the creation of ELEMENT BASED RELATION.
this is my model
and properties of the relation.
Re: New element creation [message #1790450 is a reply to message #1790117] Mon, 11 June 2018 09:25 Go to previous message
Julien Dupont is currently offline Julien DupontFriend
Messages: 129
Registered: July 2009
Senior Member
Dear Mahdjoub,

In your case, you can not use Relation Based Edge mapping because you have an EClass relationship named Relation.
You must use Element Based Edge mapping, in the Domain Class field you have put the EClass named Relation.
In the Semantic Candidates Expression, you put the reference which allows to recover the relations.
After defining your mapping, you would associate a a creation tool for this mapping

Regards,
Previous Topic:Sirius Editor
Next Topic:Fixed Position of node
Goto Forum:
  


Current Time: Fri Sep 21 12:04:58 GMT 2018

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

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

Back to the top