Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Problem deleting an reation edge(What to enter in Element Expression)
Problem deleting an reation edge [message #1790218] Thu, 07 June 2018 08:21 Go to next message
Andreas Buchner is currently offline Andreas BuchnerFriend
Messages: 34
Registered: August 2017
Member
Hi,

if you want to delete an relation edge, you create an delete element in section Tools.

create an Change context element under Begin.
Write var:element in Browse Expression
Add the Operation Unset and write in Feature Name the name of the reference.

in the example basicfamily, thats quite it and it works, because you only have one father and one mother. The Element Expression is left empty.


Imaging you had multiple fathers and mothers,

what do you write in the Element Expression to unset the particular father/mother

I thought aql:elementView.target would be the solution, but its not ? :/
Re: Problem deleting an reation edge [message #1790244 is a reply to message #1790218] Thu, 07 June 2018 11:12 Go to previous message
Andreas Buchner is currently offline Andreas BuchnerFriend
Messages: 34
Registered: August 2017
Member
okey, I got it myself, it is:

aql:elementView.targetNode.target

It was a little tricky, because the last part, the '.target' is not suggested when you hit strg + space
Previous Topic:Displaying attributes of an entity on a diagram
Next Topic:Insert new form for source arrow
Goto Forum:
  


Current Time: Thu Sep 20 17:11:32 GMT 2018

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

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

Back to the top