Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Problem in edge ceration of an element based edge
Problem in edge ceration of an element based edge [message #1705553] Mon, 17 August 2015 13:17 Go to next message
Nawel Amok is currently offline Nawel AmokFriend
Messages: 18
Registered: November 2013
Junior Member
Hello,

In my DSL, an output from an enterprise to its partner is modelled with a labeled edge.
I can't seem to manage the creation of this edge ("Sortie" associated to the domain class "ExternalEnterpriseOutput") in the tool section.
What exactly should the Context be ?? I thought it was the root element of the diagram here the container of this edge...

I attached my projects, the problem is in the context view viewpoint.

Would you please tell me what am I missing ?

Thanks in advance,
Nawel

Re: Problem in edge ceration of an element based edge [message #1705655 is a reply to message #1705553] Tue, 18 August 2015 07:56 Go to previous messageGo to next message
Florian Barbin is currently offline Florian BarbinFriend
Messages: 270
Registered: August 2010
Senior Member
On 08/17/2015 03:17 PM, Nawel Amok wrote:
> Hello,

Hello Nawel,

The Edge Creation Tool will create a new instanceof
ExternalEnterpriseOutput by using a "Create Instance". The context will
be the semantic element that will hold this object (it seems to be
ContextView in your meta-model).Next, you need to specify in the "Create
Instance" properties the reference name (from the context) where this
new instance will be hold.

Regards,

Florian

>
> In my DSL, an output from an enterprise to its partner is modelled with a labeled edge.
> I can't seem to manage the creation of this edge ("Sortie" associated to the domain class "ExternalEnterpriseOutput") in the tool section.
> What exactly should the Context be ?? I thought it was the root element of the diagram here the container of this edge...
>
> I attached my projects, the problem is in the context view viewpoint.
>
> Would you please tell me what am I missing ?
>
> Thanks in advance,
> Nawel
>
>


--
Florian - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Problem in edge ceration of an element based edge [message #1705664 is a reply to message #1705655] Tue, 18 August 2015 09:01 Go to previous message
Nawel Amok is currently offline Nawel AmokFriend
Messages: 18
Registered: November 2013
Junior Member

Hello
Thank you Florian for your answer.
So I was right about the context.
I specified in the Create Instance the reference name.
Then I had to set in this instance the properties fromEntreprise and toPartner to the [source/] and [target/] respectively.
This way it worked Smile
The thing is I was misled by the Change Context thing. I thought that from there every thing will be related to this context. but it seems that in the Create Instance the expressions are related to that instance.

Thanks again,
Have a nice day,
Nawel
Previous Topic:Update the Palette from source code
Next Topic:No ability to add icon to popup menu
Goto Forum:
  


Current Time: Thu Apr 18 13:55:20 GMT 2024

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

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

Back to the top