|How to find if two model elements have the same children? [message #1806245]
||Mon, 06 May 2019 18:40
| Parsa Pourali
Registered: February 2014
I was wondering if there is a utility function to determine if two model elements have the same children? For instance, if two classes in the transitions in a state-machine have the same event, guard, and effect.
If not, another way would be traversing through all the children and check one by one, I assume. Or can we simply compare ele1.eAllcontents() and ele2.eAllcontents() ?
[Updated on: Mon, 06 May 2019 18:58]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01990 seconds