Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Associated Elements Expression
Associated Elements Expression [message #1408131] Thu, 14 August 2014 10:04 Go to next message
Arunkumar Ramaswamy is currently offline Arunkumar RamaswamyFriend
Messages: 57
Registered: April 2014
Member
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 14:36 Go to previous messageGo to next message
Laurent Redor is currently offline Laurent RedorFriend
Messages: 300
Registered: July 2009
Senior Member
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


Laurent Redor - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Associated Elements Expression [message #1695939 is a reply to message #1409616] Wed, 20 May 2015 12:24 Go to previous messageGo to next message
Vijetha Shivarudraiah is currently offline Vijetha ShivarudraiahFriend
Messages: 3
Registered: May 2015
Junior Member
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 21:09 Go to previous message
Laurent Redor is currently offline Laurent RedorFriend
Messages: 300
Registered: July 2009
Senior Member
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


Laurent Redor - Obeo

Need training or 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: Thu Apr 25 05:16:13 GMT 2024

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

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

Back to the top