Alternative implementations of diagram meta model? [message #553710] |
Wed, 18 August 2010 10:51  |
Eclipse User |
|
|
|
Hello,
we're currently building a prototype which uses Graphiti in combination with KOMMA to create graphical editors for system structures.
In addition to Graphiti's diagram data, our business objects are stored as RDF data in separate resources.
Since KOMMA enables the mapping between Java objects and RDF, it could also be possible to store the PictogramElements as RDF.
A prerequisite to do this is to remove all EMF specific code from the org.eclipse.graphiti.mm plugin and introduce some interfaces that encapsulate the notification and persistence logic.
Now the question is, will the Graphiti team support such developments in the future?
Best regards,
Ken
|
|
|
Re: Alternative implementations of diagram meta model? [message #553861 is a reply to message #553710] |
Thu, 19 August 2010 04:34  |
Eclipse User |
|
|
|
I think you can achieve persistence as RDF through the implementation
of an appropriate EMF Resource. Just plug the resource into the framework and it should do what you want.
(You probably would need to overwrite DiagramEditor, DiagramEditorFactory, and DiagramEditorInput)
I am curious if such an approach would do?
Best, Tim
|
|
|
Powered by
FUDForum. Page generated in 0.04447 seconds