Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[emf-dev] Modify adding the new child/sibling node in EMF


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:

  • When adding a new child node, the new node will be added at the end of the children list of the selected node
  • 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


Back to the top