automatic diagram migration [message #172681] |
Fri, 15 February 2008 17:41 |
Eclipse User |
|
|
|
Originally posted by: jacob.barde.swri.org
The application I am building has some very possible long-term use, and
one of the things I have already come across, particularly in this early
development phase, are significant semantic model changes. I don't
foresee this changing much even after a production release.
I keep my semantic model URIs 'versioned' in the following fashion.
http://www.foo.com/ns/20070701/foo
http://www.foo.com/ns/20080201/foo
So when there's a significant change to the model, I update the URI.
I essentially want to do an automatic "Migration" (like some of the gmf
files had a popup menu entry to 'Migrate to GMV v2.0') when opening
older files in the editor.
So if I were to create a mechanism for changing a diagram that uses the
20070701 foo model into a diagram using the 20080201 foo model, whether
by xslt, or Resource, where would be the best place to put this logic?
Ideally, before the opening editor goes and complains with the error
dialog, I'd like to give the opportunity to the user on whether to
update the diagram, and then proceed from there.
Regards,
Jay
|
|
|
|
Powered by
FUDForum. Page generated in 0.05087 seconds