Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Store] External Editor
[EMF Store] External Editor [message #1067372] Mon, 08 July 2013 13:01 Go to next message
Marcel Michel is currently offline Marcel Michel
Messages: 10
Registered: January 2011
Junior Member
Hi there,

is it possible to use the EMF-Store (like git or svn) in connection with an external (non-EMF) model editor?
The model itself can be loaded as emf resource.

I'm asking because it seems that the changes to a model are only tracked by a linked editor (e.g. an ecp instance) as a history of operations which were applied to the model.

Thanks,
Marcel
Re: [EMF Store] External Editor [message #1067473 is a reply to message #1067372] Mon, 08 July 2013 21:26 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas Helming
Messages: 455
Registered: July 2009
Senior Member
Hi,
that is absolutly possible, the only precondition is that changes on the
model are applied using the API of the model ant not directly to a
underyling XMI file. If your editro works like that (like the generated
editro or ECP), then EMFStore is able to track the changes.
I hope that answers your question?

Regards

Jonas

Am 08.07.2013 15:01, schrieb Marcel Mising name:
> Hi there,
>
> is it possible to use the EMF-Store (like git or svn) in connection with
> an external (non-EMF) model editor?
> The model itself can be loaded as emf resource.
>
> I'm asking because it seems that the changes to a model are only tracked
> by a linked editor (e.g. an ecp instance) as a history of operations
> which were applied to the model.
> Thanks,
> Marcel
>
Re: [EMF Store] External Editor [message #1067562 is a reply to message #1067473] Tue, 09 July 2013 10:50 Go to previous messageGo to next message
Marcel Michel is currently offline Marcel Michel
Messages: 10
Registered: January 2011
Junior Member
Quote:
Hi,
that is absolutly possible, the only precondition is that changes on the
model are applied using the API of the model ant not directly to a
underyling XMI file. If your editro works like that (like the generated
editro or ECP), then EMFStore is able to track the changes.
I hope that answers your question?

Regards

Jonas


Yep, that was informative.
Just a further question to the history/tracking: Are the changes tracked as operations?
Or is there some delta-algorithm implemented?
Re: [EMF Store] External Editor [message #1067572 is a reply to message #1067562] Tue, 09 July 2013 11:42 Go to previous messageGo to next message
Maximilian Koegel is currently offline Maximilian Koegel
Messages: 201
Registered: July 2009
Senior Member
> Yep, that was informative. Just a further question to the
> history/tracking: Are the changes tracked as operations? Or is there
> some delta-algorithm implemented?
Yes, changes are tracked as operations, that is they are recorded WHILE
the model is changed. This opposed to diffing with a delta-algorithm
AFTER the model was changed. A more detailed description can be found here:
http://eclipsesource.com/blogs/emfstore-versioning-history-and-branching/

Cheers,
Maximilian


--
Maximilian Kögel

Get Professional Eclipse Support: http://eclipsesource.com/munich
Re: [EMF Store] External Editor [message #1067653 is a reply to message #1067572] Tue, 09 July 2013 20:00 Go to previous message
Marcel Michel is currently offline Marcel Michel
Messages: 10
Registered: January 2011
Junior Member
Thanks again. Great article Smile
Previous Topic:[CDO/EMF] Modeling BIG amounts of tiny data
Next Topic:[ECP][CDO] connect to cdo repository without branching support
Goto Forum:
  


Current Time: Sat Oct 25 09:40:24 GMT 2014

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

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