Compartments and metaclass hierarchy [message #145362] |
Sun, 05 August 2007 08:09  |
Eclipse User |
|
|
|
Hello all,
after playing around with the common examples I began to create my first
own editor intended for one subdomain of my domain model.
The diagram root element (class A) has a composition to multiple
elements of class B. Class B is abstract, it's subclasses are used for
Node Mappings.
Is there a way to define only one Compartment Mapping for all these
subclasses? Otherwise the amount of maintenance points would increase,
so I want to avoid this.
Thanks in advance for your answers.
Axel
|
|
|
|
|
Re: Compartments and metaclass hierarchy [message #149086 is a reply to message #149071] |
Wed, 05 September 2007 10:25  |
Eclipse User |
|
|
|
Not for me, what I needed was exactly many child nodes ;-)
Gregory Van Seghbroeck schrieb:
> Axel,
>
> I want to do the same intuitive thing. But noticed that the "Gen
> Compartement" object has a 1-to-many relation with a "Gen Child Node"
> object, meaning that a child node is capable of containing several
> compartements, but a compartement can only belong to one child node.
>
> I wonder why this design decision was made?
> But for now (at least to my humble opinion) we are stuck with creating
> zillions of identical compartements or make some drastic changes to the
> generated code.
>
> Kind Regards,
> Gregory
>
|
|
|
Powered by
FUDForum. Page generated in 0.26536 seconds