Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » No suggest var:NewValue
No suggest var:NewValue [message #1787437] Fri, 25 May 2018 11:21 Go to next message
Cristian Gómez is currently offline Cristian GómezFriend
Messages: 13
Registered: April 2018
Junior Member
Hi,

I want to create a dialog for change the name of my Activity node. I created the instance for use and i defined the expression for the OK button and Group Page However, when I intented define the Set Operation for add 'var:newValue' in the Value Expression, the system doesn't suggest this expression (figure definitionDialog). If i insert 'var:instance' in the Value Expression, then I can change the name in the dialog (figureDialog), and the system will rename the Activity node with the name 'Activity'(figure result) but I dont want this name for the Activity node.

I attached in this post a figure of the metamodel

Thanks,

Cristian.
Re: No suggest var:NewValue [message #1787445 is a reply to message #1787437] Fri, 25 May 2018 13:17 Go to previous messageGo to next message
Laurent Redor is currently offline Laurent RedorFriend
Messages: 238
Registered: July 2009
Senior Member
Hello,
It seems that it is a completion bug. Can you please fill a bug [1] ?
But you can use "var:newValue", it should work.

Regards,


[1] https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Sirius


Laurent Redor - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: No suggest var:NewValue [message #1787519 is a reply to message #1787445] Mon, 28 May 2018 07:27 Go to previous messageGo to next message
Cristian Gómez is currently offline Cristian GómezFriend
Messages: 13
Registered: April 2018
Junior Member
Hi Laurent,

Thanks for your fast answer. I done that you suggested me but didnt work. I attach in the post one photo with the error when I insert "var:newValue" [error]. One idea for the reason of the problem?

Thanks so much,

Cristian
  • Attachment: error.png
    (Size: 45.21KB, Downloaded 17 times)
Re: No suggest var:NewValue [message #1787525 is a reply to message #1787519] Mon, 28 May 2018 08:31 Go to previous message
Laurent Redor is currently offline Laurent RedorFriend
Messages: 238
Registered: July 2009
Senior Member
Hi,

Do you try to execute the "tool" with the dialog?
Indeed, the error.png seems to be a validation result dialog. The completion and the validation are linked. So, if the completion is KO, the validation will be KO too.

But at runtime, it should work.

Regards,

Laurent


Laurent Redor - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Updating model element properties with Sirius.
Next Topic:Reconnecting Source, missing Variable
Goto Forum:
  


Current Time: Thu Sep 20 09:12:11 GMT 2018

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

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

Back to the top