Skip to main content



      Home
Home » Eclipse Projects » Sirius » Associated Elements Expression
Associated Elements Expression [message #1408131] Thu, 14 August 2014 06:04 Go to next message
Eclipse UserFriend
I added more semantic elements in Associated Elements Expression for a diagram element and also for target expression in advanced tab. But the property list now shows only the features of associated semantic element, the main properties of main semantic element diappeared. Is this a bug?

Regards
Arun
Re: Associated Elements Expression [message #1409616 is a reply to message #1408131] Mon, 18 August 2014 10:36 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

You should also add "self" in the Associated Elements Expression.

Best regards,

--
Laurent - Obeo

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

Le 14/08/2014 12:04, Arunkumar Ramaswamy a écrit :
> I added more semantic elements in Associated Elements Expression for a
> diagram element and also for target expression in advanced tab. But the
> property list now shows only the features of associated semantic
> element, the main properties of main semantic element diappeared. Is
> this a bug?
>
> Regards
> Arun
Re: Associated Elements Expression [message #1695939 is a reply to message #1409616] Wed, 20 May 2015 08:24 Go to previous messageGo to next message
Eclipse UserFriend
What is the separator to be used inside the expression to include "self" also?

[self <separator?> thisEObject.eContents()/]
Re: Associated Elements Expression [message #1696508 is a reply to message #1695939] Tue, 26 May 2015 17:09 Go to previous message
Eclipse UserFriend
Le 20/05/2015 14:24, Vijetha Shivarudraiah a écrit :
> What is the separator to be used inside the expression to include
> "self" also?
>
> [self <separator?> thisEObject.eContents()/]

Probably something like

[thisEObject.eContents()->including(self)/]

You can find more details here:
http://help.eclipse.org/luna/topic/org.eclipse.acceleo.doc/pages/reference/operations.html?cp=0_3_2

Regards,

--
Laurent Redor - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Workspace Image path
Next Topic:Looking for a simple example containing Drop attributes action
Goto Forum:
  


Current Time: Wed May 14 17:27:10 EDT 2025

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

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

Back to the top