Finding difficulties to open a GMF editor from another GMF editor [message #657110] |
Tue, 01 March 2011 11:04  |
Eclipse User |
|
|
|
I am trying to open a GMF editor from another GMF editor. both of these GMF editors are in different Ecore models and packages. Can anyone help me to solve this problem. For eg: I want to open GMF editor(2) from right click of an element in GMF editor(1) .GMF editor(1) is from df.ecore and GMF2 editor(2) is from df1.ecore.
|
|
|
|
|
|
Re: Finding difficulties to open a GMF editor from another GMF editor [message #659731 is a reply to message #659684] |
Tue, 15 March 2011 07:54  |
Eclipse User |
|
|
|
Hello,
To my understanding this is not actually GMF question.
If your problem is that you can't find "interesting" df1 elements based on choosen df-element, I would suggest you to do either of the following:
- change metamodel to add readonly transient references intp df which are opposite to the references of interest from df1 to df
- use EMF Search component
- implement micro-search manually, by traversing all of the important DF1 resources, and caching their outgoing references pointed to DF instances
However, once again, to my understanding this is not specifically GMF problem -- you would face the same issue working with only the Tree editors, without any GEF at all.
Regards,
Michael
|
|
|
Powered by
FUDForum. Page generated in 0.03172 seconds