Render in-memory GMF Diagram on a SWT Composite/Canvas [message #697037] |
Fri, 15 July 2011 11:26 |
Erdal Karaca Messages: 854 Registered: July 2009 |
Senior Member |
|
|
I would like to render a GMF diagram on a SWT Composite at run time, i.e. the diagram is read from a file/db/... and needs to be visualized.
Moreover, I need to be able to change the figure properties (e.g. background color) programmatically once it has been rendered.
It is a BPMN diagram from the BPMN project which has an gmf editor, but I do not need the editing functionality at run time.
I am not familiar with gmf, just a basic understanding of it: Is rendering a gmf diagram decoupled from its editor possible? Any examples?
I could figure out how the Export to Image operations work, but I need to be able to select single figures of the diagram once it has been rendered...
[Updated on: Fri, 15 July 2011 11:30] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.01970 seconds