Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Problem of Edge in Container
Problem of Edge in Container [message #1706744] Sat, 29 August 2015 14:25 Go to next message
Shin-Yi Lin is currently offline Shin-Yi LinFriend
Messages: 34
Registered: June 2015
Member
Hi All,

I tried to contain Edge in the Container like the example in the following hierarchy. Sequence Flow SF1-1 in Subprocess SP1-1 and Sequence Flow SF1-2 in Subprocess SP1-2.
index.php/fa/23058/0/


But SF1-1 and SF1-2 are both in Lane, not in SP1-1 and SP1-2.
index.php/fa/23059/0/


This is the Container Drop I used.
index.php/fa/23060/0/

Could anyone help me solve the problem?

Thanks and Regards,

Wendy
  • Attachment: Q2.jpg
    (Size: 70.87KB, Downloaded 221 times)
  • Attachment: Q1.jpg
    (Size: 120.32KB, Downloaded 217 times)
  • Attachment: Q4.jpg
    (Size: 171.44KB, Downloaded 228 times)
Re: Problem of Edge in Container [message #1706836 is a reply to message #1706744] Mon, 31 August 2015 12:42 Go to previous messageGo to next message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 516
Registered: July 2009
Location: Nantes, France
Senior Member
Le 29/08/2015 16:25, Shin-Yi Lin a écrit :
> Hi All,
>
> I tried to contain Edge in the Container like the example in the following hierarchy. Sequence Flow SF1-1 in Subprocess SP1-1 and Sequence Flow SF1-2 in Subprocess SP1-2.
>

In Sirius and GMF, edges are contained by the diagram, so you have to
correctly display their source and target nodes/containers. I think I
gave you the corresponding advices in the answer to your preceding post.

>
>
> But SF1-1 and SF1-2 are both in Lane, not in SP1-1 and SP1-2.
>
>
>
> This is the Container Drop I used.

The container drop tool allows you to specify the behavior of drag and
drop operations.
From the operations you created in the tool, does your metamodel have a
"Lanes" feature on eac referenced mapping's domain class? You call the
unset operation on the dropped element "Lanes" feature and then you use
a Set operation on it. Is there an eOpposite reference ? If no, you will
also need to update. Note that it is case sensitive.
>
>
> Could anyone help me solve the problem?
>
> Thanks and Regards,
>
> Wendy
>

Regards

--
Maxime - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius


Maxime Porhel - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Problem of Edge in Container [message #1706926 is a reply to message #1706836] Mon, 31 August 2015 22:13 Go to previous messageGo to next message
Shin-Yi Lin is currently offline Shin-Yi LinFriend
Messages: 34
Registered: June 2015
Member
Hi,

Thank you again. There are no Lanes feature and an eOpposite reference, so I deleted the set and unset parts. But, still, it doesn't work.
p.s. Sorry, I am a beginner. There're a lot I doesn't know.

Best Regards,

Shin-Yi
Re: Problem of Edge in Container [message #1706954 is a reply to message #1706926] Tue, 01 September 2015 07:32 Go to previous messageGo to next message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 516
Registered: July 2009
Location: Nantes, France
Senior Member
Le 01/09/2015 00:13, Shin-Yi Lin a écrit :
> Hi,
>
> Thank you again. There are no Lanes feature and an eOpposite reference,

In this case, the unset/set operations shown on the screenshots will do
nothing.

> so I deleted the set and unset parts. But, still, it doesn't work.

You have to create a set of operations to impact the model: you need to
move the dropped element in its new container: if you add to a
containment EReference, it will be automatically removed from its
preceding container as an EObject has only one eContainer.

> p.s. Sorry, I am a beginner. There're a lot I doesn't know.
>
> Best Regards,
>
> Shin-Yi

Regards

--
Maxime - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius


Maxime Porhel - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Problem of Edge in Container [message #1707163 is a reply to message #1706954] Wed, 02 September 2015 17:09 Go to previous message
Shin-Yi Lin is currently offline Shin-Yi LinFriend
Messages: 34
Registered: June 2015
Member
Hi,

Thank you.. I solve it!

Best Regards,

Shin-Yi
Previous Topic:Custom Style Bordernodes not allowing connections
Next Topic:Problem of Duplication of Elements in Every Container
Goto Forum:
  


Current Time: Fri Apr 26 06:11:59 GMT 2024

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

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

Back to the top