문제

Let's say, I have an Ecore model A (containing ClassP, ClassQ) for which I generated a graphical editor using GMF. Now, I have another Ecore model B wich is a superset of model A. Say, it has ClassX, ClassY, ClassP, ClassQ.

What I want to do is, to design a graphical representation using the GMF editor based on model A, and then, to be able to import that diagram in the GMF diagram editor which is based on model B, so that I don't have to draw the elements of model A again in the generated diagram which uses model B.

Is this posslible somehow? At least something close to this?

도움이 되었습니까?

해결책

maybe its late and you already have the solution, but yetserday I was reading this tutorial, maybe it will help! http://gmfsamples.tuxfamily.org/wiki/doku.php?id=emf_tutorial2. Also in the emf book in chapter 13 there are some pages related with this. I am not sure if this is what you need, but I hope it will help.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top