Skip to main content



      Home
Home » Modeling » Ecore Tools » [Texo] Possibility to suppress generating of getter/setter
[Texo] Possibility to suppress generating of getter/setter [message #1719506] Fri, 08 January 2016 08:21 Go to next message
Eclipse UserFriend
Hi,
does anybody know whether there is a possibility to suppress the generating of the getter and/or setter of an attribute in Texo? It seems to me, that the EMF-way via "suppressedSetVisibility" does not work.

Best regards,
Sebastian
Re: [Texo] Possibility to suppress generating of getter/setter [message #1720780 is a reply to message #1719506] Wed, 20 January 2016 17:43 Go to previous message
Eclipse UserFriend
Hi Sebastian,
Hmm strange I did not get a notification of this post in my email. In any case this is currently not supported but should be doable and interesting. The one thing is how to specify that you want the setter/getter be suppressed. EMF has the concept of a genmodel, Texo uses annotationmodel. It seems logical to do this in the annotationmodel, but if there is extendedmetadata in the ecore which reflects the same then that can be used to.

Do you have an example of this? (suppressedsetvisibility as extendedmetadata), not even sure if it is even a standard EMF approach?

gr. Martin
Previous Topic:How to use compile-time annotations in ECore model without introducing runtime dependency
Next Topic:Renaming and regeneration?
Goto Forum:
  


Current Time: Sun Jul 13 05:00:39 EDT 2025

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

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

Back to the top