|
Re: Reuse of created GMF diagrams [message #169226 is a reply to message #169202] |
Tue, 22 January 2008 08:36 |
Eclipse User |
|
|
|
Originally posted by: trommas.yahoo.com
BG wrote:
> Hello all,
>
> I have requirement to load existing diagram into GMF editor while
> creating new diagram which is some what similar to ecore diagram
> creation where we have option to "load resource".So that i can reuse the
> existing diagram components.Can i known what is the best way to achive
> it ?.Is there any
> GMF examples avilable with this feature ?
>
If I understand you correctly, you want to be able to load a diagram
resource into an existing diagram? This comes built in in GMF and is
similar to the behavior you get in an EMF generated editor. I don't know
of any example of this, but I don't think you really need one. Just
initialize to editors (of same or different type) that contain objects
that can relate to each other. Load Resource. Now you can create
relations across diagrams.
HTH,
Tomas Zijdemans
|
|
|
|
Powered by
FUDForum. Page generated in 0.02547 seconds