Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » How to auto generate derived features' logic code?
How to auto generate derived features' logic code? [message #414303] Tue, 30 October 2007 08:32
Eclipse UserFriend
Originally posted by: pwh06.mails.tsinghua.edu.cn

Hi all,



My domain model has many features that are derived from other features. So
hand coding these derived features's access methods is not a vesy easy job,
especially my demain model is always evoling. Only annotaing "generated not"
is not enough efficent. We wish define a language to describe the relation
between derived and non-derived features(we use xsd defining ecore, so our
language maybe can use xml annotations), then when we use genmodel to
generate code, derived features's logic code is also generated.



As far as I know, such senorio is not direct supported by EMF, so

1 Is my idea is viable? that mean if it will take not much efforts?

2 How to extend EMF to achieve this? which class I should inherit?

3 How do you deal with similar scenarios?

Thanks,

Wenhui Pan
Previous Topic:[Announce] Mint component proposal
Next Topic:How to auto generate derived features' logic code?
Goto Forum:
  


Current Time: Fri Apr 26 16:37:34 GMT 2024

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

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

Back to the top