Skip to main content



      Home
Home » Eclipse Projects » Sirius » No suggest var:NewValue
No suggest var:NewValue [message #1787437] Fri, 25 May 2018 07:21 Go to next message
Eclipse UserFriend
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 09:17 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: No suggest var:NewValue [message #1787519 is a reply to message #1787445] Mon, 28 May 2018 03:27 Go to previous messageGo to next message
Eclipse UserFriend
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 120 times)
Re: No suggest var:NewValue [message #1787525 is a reply to message #1787519] Mon, 28 May 2018 04:31 Go to previous message
Eclipse UserFriend
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
Previous Topic:Updating model element properties with Sirius.
Next Topic:Reconnecting Source, missing Variable
Goto Forum:
  


Current Time: Sun Jul 13 20:22:36 EDT 2025

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

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

Back to the top