Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Get rid of node's children elements
Get rid of node's children elements [message #210630] Thu, 06 November 2008 17:26 Go to next message
Eclipse UserFriend
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
Re: Get rid of node's children elements [message #210639 is a reply to message #210630] Thu, 06 November 2008 17:48 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Get rid of node's children elements [message #210936 is a reply to message #210639] Wed, 12 November 2008 07:29 Go to previous message
Eclipse UserFriend
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
Previous Topic:How to make more editor working in an rcp application
Next Topic:How to add Save As Image command
Goto Forum:
  


Current Time: Sun Apr 18 07:19:45 GMT 2021

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

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

Back to the top