Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Tweaking genModel from schema
Tweaking genModel from schema [message #527629] Thu, 15 April 2010 19:44 Go to next message
Eclipse UserFriend
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 #527647 is a reply to message #527629] Thu, 15 April 2010 21:57 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
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


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Tweaking genModel from schema [message #527662 is a reply to message #527647] Fri, 16 April 2010 02:06 Go to previous message
Eclipse UserFriend
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
Previous Topic:[Teneo] Several different mappings for one EClass
Next Topic:TextEditor connection
Goto Forum:
  


Current Time: Fri Apr 26 09:13:32 GMT 2024

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

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

Back to the top