Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF Parsley » Can not change int attribute
Can not change int attribute [message #1794265] Tue, 28 August 2018 09:25 Go to next message
Miklós Nagy is currently offline Miklós NagyFriend
Messages: 2
Registered: August 2018
Junior Member
Hi!

Until now I only used string attributes and references and everything worked fine, but now I want to use int attributes and with default implementation (no change in the DSL) I can't change the int value in the form view.

I debugged the problem with a new model like

class Test {
    int testInt
    String testString
}


and a new Parsley project with a saveable tree-form view. In this view I can change the string value, but not the int.
I debugged a little and find out that the generated SetCommand not executed, but I don't know why.

Does anybody have an idea why this command not executed or what I'm doing wrong?

Parsley version: 1.1.1
EMF version: 2.12.0

Thanks a lot,
Miklós
Re: Can not change int attribute [message #1794868 is a reply to message #1794265] Sun, 09 September 2018 23:10 Go to previous messageGo to next message
Vincenzo Caselli is currently offline Vincenzo CaselliFriend
Messages: 215
Registered: January 2012
Senior Member

Hi Miklós,
this bug has been fixed in version 1.2, available at
http://download.eclipse.org/emf-parsley/updates/1.2/

Since Parsley 1.2 requires Xtext 2.12 you can try it starting from Eclipse Oxygen or also in Eclipse Neon, as soon as you add
http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases
to your update sites before the Parsley update to 1.2

Let me know if it works
Vincenzo Caselli
RCP Vision
Re: Can not change int attribute [message #1795042 is a reply to message #1794868] Thu, 13 September 2018 12:29 Go to previous message
Miklós Nagy is currently offline Miklós NagyFriend
Messages: 2
Registered: August 2018
Junior Member
Hi Vincenzo,

Thanks for your reply. I tried it with Photon release and it works.

Thanks again,
Miklós


Previous Topic:Loading Resource via Filechooser
Goto Forum:
  


Current Time: Sun Nov 18 01:18:00 GMT 2018

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

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

Back to the top