[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmf] Re: how to create "abstract" node reference in gmfmap ?
|
Sylvain a +AOk-crit :
> Alex Shatalin a +AOk-crit :
>> Hello Sylvain,
>>
>> You have to create NodeMapping for each of your concrete sub-classes of
>> asbstract super-class. In this case you'll have two different toolbar
>> tools for each of concrete subclasses of AbstractElement on digram.
>>
>> -----------------
>> Alex Shatalin
>>
>>
> Hi Alex,
>
> Thanks for your response,
> I've created these nodes, my problem is that I add a compartment in each
> nodeMapping, and this compartment can contains ConcreteElement1 or
> ConcreteElement2 or any other specialization of AbstractElement, so I
> dont know what kind of "child reference" I can use whith the compartment..
>
> hope you understand my poor english ;-)
>
> Sylvain
In fact, my question is: how to set differently typed childs in the same
compartment ?