|
Re: Specifying a description for a structural feature [message #1300154 is a reply to message #1300041] |
Thu, 17 April 2014 11:19 |
Ed Merks Messages: 33216 Registered: July 2009 |
Senior Member |
|
|
Bertrand,
As of now, you can only model features with Xcore, not something that
will map to just fields in the generated implementation class...
On 17/04/2014 11:34 AM, Bertrand Quenin wrote:
> Hi,
>
> I'm wondering if there's a way to specify a description for a "field".
> For instance, I have the following xcore model:
>
>
> class Product {
> String runtime_dir = "some runtime dir"
> String install_dir = "some install dir"
> }
>
>
> And this is more or less what I would like to do:
>
>
> class Product {
> // The runtime directory
> String runtime_dir = "some runtime dir"
>
> // The installation directory
> String install_dir = "some install dir"
> }
>
>
> Then, at runtime, I would like to be able to fetch this description in
> order to display it to the user.
>
> I would like to have this in the model in order to have everything in
> the same place.
>
> I'm not sure how to achieve this.
>
> Regards,
> BQ.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
Powered by
FUDForum. Page generated in 0.03701 seconds