Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Set incoming and outgoing edges(Set incoming and outgoing edges in nodes properties (EAttributes))
Set incoming and outgoing edges [message #1696539] Wed, 27 May 2015 07:34 Go to next message
Alexander Schledewitz is currently offline Alexander SchledewitzFriend
Messages: 10
Registered: March 2015
Junior Member
Hi everbody,

I'm working on an Petri Net Editor based on the attached Ecore Model.

My problem is that I can create more than one arc from one Place to a Transition (example attached). It's because the Eattributes "Incomings" and "Outgoings" aren't set if I create an arc.
Can anybody give me some hints how i can handle this problem?


Thank's for any help!
  • Attachment: Petri.JPG
    (Size: 26.14KB, Downloaded 120 times)
  • Attachment: Beispiel1.JPG
    (Size: 31.25KB, Downloaded 110 times)
Re: Set incoming and outgoing edges [message #1696619 is a reply to message #1696539] Wed, 27 May 2015 13:54 Go to previous messageGo to next message
Esteban Dugueperoux is currently offline Esteban DugueperouxFriend
Messages: 472
Registered: July 2009
Senior Member
Hi Alexander,

Can you give more details about how do you want your semantic elements
be displayed and what mappings have you done in your odesign?

Best Regards

Le 27/05/2015 09:34, Alexander Schledewitz a écrit :
> Hi everbody,
>
> I'm working on an Petri Net Editor based on the attached Ecore Model.
>
> My problem is that I can create more than one arc from one Place to a Transition (example attached). It's because the Eattributes "Incomings" and "Outgoings" aren't set if I create an arc.
> Can anybody give me some hints how i can handle this problem?
>
>
> Thank's for any help!
>



--
Esteban Dugueperoux - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Set incoming and outgoing edges [message #1697037 is a reply to message #1696539] Mon, 01 June 2015 06:49 Go to previous messageGo to next message
Hallvard Traetteberg is currently offline Hallvard TraettebergFriend
Messages: 673
Registered: July 2009
Location: Trondheim, Norway
Senior Member
On 27.05.15 09:34, Alexander Schledewitz wrote:
> Hi everbody,
>
> I'm working on an Petri Net Editor based on the attached Ecore Model.
>
> My problem is that I can create more than one arc from one Place to a Transition (example attached). It's because the Eattributes "Incomings" and "Outgoings" aren't set if I create an arc.
> Can anybody give me some hints how i can handle this problem?

Have you indicated that incoming and outgoing are opposites of target
and source, respectively. Select one of the references and set the
opposite property. When you do this, the associations (references) will
be merged into one edge in the diagram.

Hallvard
Re: Set incoming and outgoing edges [message #1697317 is a reply to message #1697037] Wed, 03 June 2015 07:19 Go to previous message
Alexander Schledewitz is currently offline Alexander SchledewitzFriend
Messages: 10
Registered: March 2015
Junior Member
Sorry for the late reply.

Thank you for your replies I will try this one out.


Greetings Alex
Previous Topic:a node label cannot be saved when using Node Creation from a Palette.
Next Topic:Any problem if use Project explorer instead of Model explorer?
Goto Forum:
  


Current Time: Thu Mar 28 19:34:13 GMT 2024

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

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

Back to the top