|
Re: export ecore model to an image [message #219646 is a reply to message #219630] |
Sat, 21 February 2009 11:33 |
Eclipse User |
|
|
|
Originally posted by: thomas.beyer81.t-online.de
Hello Sebastian,
yes you can do so.
GMF provides all you need.
First of all, create a DiagramEditPart-instance with
OffScreenEditPartFactory and second use the CopyToImageUtil to save the
diagram to a file.
All works without ever opening an editor.
If you need further help, let me know.
Regards, Thomas
Sebastian schrieb:
> Hello!
>
> I'm developing an application, that handles ecore models and diagrams.
> One part should be, that diagrams are exported to image files
> automatically by the application. There should be no diagram editor
> visible to the user. So the solution with the context menu doesn't work.
> I have a model and a diagram file and what I want to get is an image file.
> Is there a possibility to use parts of gmf and emft to do this?
>
>
> Sebastian
>
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04049 seconds