|
Re: Problem of Edge in Container [message #1706836 is a reply to message #1706744] |
Mon, 31 August 2015 12:42 |
|
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 #1706954 is a reply to message #1706926] |
Tue, 01 September 2015 07:32 |
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.02948 seconds