Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Alternative implementations of diagram meta model?
Alternative implementations of diagram meta model? [message #563450] Wed, 18 August 2010 14:51 Go to next message
Ken Wenzel is currently offline Ken WenzelFriend
Messages: 39
Registered: July 2009
Member
Hello,

we're currently building a prototype which uses Graphiti in combination with http://komma.sourceforge.net/ 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 #563521 is a reply to message #563450] Thu, 19 August 2010 08:34 Go to previous message
Tim Kaiser is currently offline Tim KaiserFriend
Messages: 118
Registered: July 2009
Senior Member
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
Previous Topic:Alternative implementations of diagram meta model?
Next Topic:Use dependency injection instead of singletons for services
Goto Forum:
  


Current Time: Thu Nov 27 13:39:36 GMT 2014

Powered by FUDForum. Page generated in 0.02739 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software