|Export Graphiti diagram image via API [message #985611]
||Thu, 15 November 2012 09:33
we use a Eclipse based tool for our model based requirement and
development process. As part of that we create documentation for models
and diagrams in a generic way (supporting several DSL's and diagram
providers like GMF and Graphiti).
To do that we have the need to export a diagram content as image in a
programatic way from a plugin in Eclipse. This documentation generation
is also available in a headless Eclipse (without UI). Now i have two
problems with Graphiti:
1. Also after migration to 0.9.x i cannot find a API to export a diagram
(model) content as image (JPG, PNG etc.) with public accessable classes.
All functionality to export a diagram as image is hidden in internal
packages strong coupled to the editor.
Is there a plan for more refactorings (like from 0.8. to 0.9) to open a
API for public diagram exports?
2. The complete image export requires a running Eclipse with UI. There
is no chance to export the diagram content without "Display".
It is possible to get the implementation for diagram export a few less
Powered by FUDForum
. Page generated in 0.01552 seconds