|
|
|
Re: One way cross document reference to any EObject [message #774719 is a reply to message #774680] |
Wed, 04 January 2012 13:22 |
Ed Merks Messages: 33146 Registered: July 2009 |
Senior Member |
|
|
Martin,
Comments below.
On 04/01/2012 12:53 PM, Martin odloucký wrote:
> Thank your very much Ed, this works like a charm.
We do this in other models, such as the Change model, so I know it will
work. :-)
> However I alwayes had a doubt about referencing classes from ecore in
> my model which is to me like referencing a metamodel from its model.
Most of the EDataTypes in Ecore, as well as EObject, are really
fundamental things much like the built-in types in Java such as int and
Object...
> This seemed somehow inappropriate to me.
Extending Ecore is a bad idea, but reusing it is fine.
> Are there some information or advice when such a thing is consdired a
> good design and where it is a dirty trick?
Not really. Just ask and you'll get opinions and advice.
>
> Ed Merks wrote on Tue, 03 January 2012 10:52
>> Martin,
>> > I wonder if this is a good solution according to experienced EMF
>> masters. No.
>
>
> Very simple and nice answer, really made me laugh. :)
Not only do we inform, we also entertain. :-P
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.04146 seconds