Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [emf-dev] Modify adding the new child/sibling node in EMF
[emf-dev] Modify adding the new child/sibling node in EMF [message #508739] Wed, 20 January 2010 03:58 Go to next message
Eclipse UserFriend
Originally posted by: dulethanhtam.gmail.com

Hi,

I'm using EMF to create my own tree editor. In my editor, everything is okay
except the adding new child/ sibling node feature. I found that the nodes,
which have the same type, are grouped automatically. This is not my desire.
Actually, I want:

a.. When adding a new child node, the new node will be added at the end of
the children list of the selected node
b.. When adding a new sibling node, the new node will be added right after
the selected node.
I have searched the net, but I couldn't find a solution. Could you please
help me?

(Hard to explain with my English, hope you understand!)

Thanks for your help,

Tam Du
Re: [emf-dev] Modify adding the new child/sibling node in EMF [message #508799 is a reply to message #508739] Wed, 20 January 2010 06:32 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Tam,

I answered this in the mailing list pointing you at the feature map
article on the documentation page. Did you have a look at that?


Tam Du wrote:
> Hi,
>
> I'm using EMF to create my own tree editor. In my editor, everything is okay
> except the adding new child/ sibling node feature. I found that the nodes,
> which have the same type, are grouped automatically. This is not my desire.
> Actually, I want:
>
> a.. When adding a new child node, the new node will be added at the end of
> the children list of the selected node
> b.. When adding a new sibling node, the new node will be added right after
> the selected node.
> I have searched the net, but I couldn't find a solution. Could you please
> help me?
>
> (Hard to explain with my English, hope you understand!)
>
> Thanks for your help,
>
> Tam Du
>
>
>
>
>
>
>
>
>
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[emf] Notifier after CompoundCommand / Trigger Databinding
Next Topic:[CDO] Methods to retrieve or cascade not yet loaded referencing objects?
Goto Forum:
  


Current Time: Wed Apr 24 21:02:09 GMT 2024

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

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

Back to the top