Tweaking genModel from schema [message #527629] |
Thu, 15 April 2010 19:44 |
Eclipse User |
|
|
|
Originally posted by: jconlon.apache.org
Have a XML Schema that I use to generate my ecore and genmodel. So far
I have been able to get away with only keeping my Schema in SCM.
There are a couple of minor issues with how the user is presented with
the descriptions of the model instance attributes. Some of them are
nonsensical and I would like to change that. Typically this is an easy
change to the Property Description in the genmodel, but I would rather
not change the file directly.
Am already using XML Schema annotations to add operations and code to my
generated classes and I see there is a way to add Javadoc as well.
Is there a way to change the genmodel's Property Description of an
attribute from within the XML Schema?
If not what is the best approach to this issue?
thanks,
John
|
|
|
|
Re: Tweaking genModel from schema [message #527662 is a reply to message #527647] |
Fri, 16 April 2010 02:06 |
Eclipse User |
|
|
|
Originally posted by: jconlon.apache.org
Thanks Ed, thats what I will do.
John
Ed Merks wrote:
> John,
>
> There is no other way. Moreover, once the plugin.properties exist, the
> value of any given property will never be changed via property merging.
> Only new properties will be added.
>
>
> John E. Conlon wrote:
>> Have a XML Schema that I use to generate my ecore and genmodel. So
>> far I have been able to get away with only keeping my Schema in SCM.
>>
>> There are a couple of minor issues with how the user is presented with
>> the descriptions of the model instance attributes. Some of them are
>> nonsensical and I would like to change that. Typically this is an
>> easy change to the Property Description in the genmodel, but I would
>> rather not change the file directly.
>>
>> Am already using XML Schema annotations to add operations and code to
>> my generated classes and I see there is a way to add Javadoc as well.
>>
>> Is there a way to change the genmodel's Property Description of an
>> attribute from within the XML Schema?
>>
>> If not what is the best approach to this issue?
>>
>> thanks,
>> John
|
|
|
Powered by
FUDForum. Page generated in 0.03108 seconds