Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsGet rid of node's children elements
https://www.eclipse.org/forums/index.php/mv/msg/67092/210630/#msg_210630
Originally posted by: knakov.scopeset.de
Hi,
Maybe because of some new feature in GMF used by Ganymede, when I create
a reference to existing object in the diagram, all its children are
added and I have to remove them by hand. How can I get rid of them upon
creation of the edit part?
Cheers,
Kalin]]>2008-11-06T17:26:32-00:00Re: Get rid of node's children elements
https://www.eclipse.org/forums/index.php/mv/msg/67092/210639/#msg_210639
Originally posted by: knakov.scopeset.de
In brief I don't want the transient children.
Kalin Nakov wrote:
> Hi,
>
> Maybe because of some new feature in GMF used by Ganymede, when I create
> a reference to existing object in the diagram, all its children are
> added and I have to remove them by hand. How can I get rid of them upon
> creation of the edit part?
>
> Cheers,
> Kalin]]>2008-11-06T17:48:56-00:00Re: Get rid of node's children elements
https://www.eclipse.org/forums/index.php/mv/msg/67092/210936/#msg_210936
Originally posted by: knakov.scopeset.de
Hi,
I have found a solution for this. The code generator creates a
customized CanonicalEditPolicy which adds children not existing in the
diagram. I have removed that policy and everything works fine.
Cheers,
Kalin
Kalin Nakov wrote:
> In brief I don't want the transient children.
>
> Kalin Nakov wrote:
>> Hi,
>>
>> Maybe because of some new feature in GMF used by Ganymede, when I
>> create a reference to existing object in the diagram, all its children
>> are added and I have to remove them by hand. How can I get rid of them
>> upon creation of the edit part?
>>
>> Cheers,
>> Kalin]]>2008-11-12T07:29:09-00:00