Find the path between two classes [message #1850200] |
Mon, 21 February 2022 09:25  |
Eclipse User |
|
|
|
Hi all,
I wanted to ask if there is a method or a way to find the path between two classes in EMF. Let's consider the following example.
Root
-Child 1
--Grandchild1
---Grandgrandchild1
---Grandgrandchild2
--Grandchild2
---Grandgrandchild3
--Grandchild3
---Grandgrandchild4
Is there a way to find the path from Root to GrandGrandChild2? (by path I mean to have all the names of the EReferences) from root to grandgrandchild2 or vice versa. The solution should work no matter the number of nesting.
[Updated on: Mon, 21 February 2022 09:26] by Moderator
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03527 seconds