Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Acceleo 3 in Properties view(Acceleo 3 in Properties view)
Acceleo 3 in Properties view [message #1771942] Fri, 01 September 2017 11:14 Go to next message
Anetta van der Walt is currently offline Anetta van der WaltFriend
Messages: 3
Registered: August 2016
Junior Member
Hey,

We use Sirius 4.1.3 and have defined some queries (in queries.mtl) which is used in our diagrams for example

[query public getValue(e : metaModel::metaModelElement) : String =
metaModelElement.getName()
/]

I would like to also use this query in my properties view to define the value expression of a text widget.
What I did was define value expression as [self.getValue()/] (similar as in my diagram), but the display is empty. Thus nothing is displayed.

Any suggestions?

Regards
Anetta
Re: Acceleo 3 in Properties view [message #1772906 is a reply to message #1771942] Mon, 18 September 2017 15:01 Go to previous message
Pierre Guilet is currently offline Pierre GuiletFriend
Messages: 250
Registered: June 2017
Senior Member
Hi Anetta,

This is a bug. I filled a ticket for it : https://bugs.eclipse.org/bugs/show_bug.cgi?id=522434

For the moment the only option I see is to use services with AQL interpreter instead of mtl because Acceleo interpreter does not work for properties definitions.

Regards


Pierre Guilet - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:THANK YOU!!
Next Topic:Disable move/resize notes (text) in diagram
Goto Forum:
  


Current Time: Mon Mar 30 14:56:40 GMT 2020

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

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

Back to the top