Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Drag and Drop.
Drag and Drop. [message #1807604] Tue, 04 June 2019 14:14 Go to next message
Bushra Harraq is currently offline Bushra HarraqFriend
Messages: 5
Registered: February 2019
Junior Member

I have the following Metamodel:

I want now the following Scenario.

I want to drag a process Segment B, which is a container, in the process Segment A.
The logic would be, that A is now a children of B.

Thanks in advance,

[Updated on: Tue, 04 June 2019 14:14]

Report message to a moderator

Re: Drag and Drop. [message #1808332 is a reply to message #1807604] Fri, 21 June 2019 15:29 Go to previous message
Pierre Guilet is currently offline Pierre GuiletFriend
Messages: 250
Registered: June 2017
Senior Member

You should define a container drop tool
Then in the operation make B a child of A. See to understand how it works.
Use a change context with
that will be A.
Then a Set operation to make B a child of A with something like
aql:newSemanticContainer .children->insertAt(0,element)
as value expression and children as feature.


Pierre Guilet - Obeo
Need training or professional services for Sirius?
Previous Topic:ELK nodes
Next Topic:How to add listener to button in property view
Goto Forum:

Current Time: Sat Apr 04 03:16:23 GMT 2020

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

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

Back to the top