Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Using another data source for semantic model than xml-file
Using another data source for semantic model than xml-file [message #109668] Wed, 07 March 2007 12:01 Go to next message
Eclipse UserFriend
I have a question about changing the data source of the EMF model:

I want to use a remote data source in form of a proprietary repository.
Instead of the EMF xmi-file I want to connect to a remote repository, a
procedure my semantic model is able to. I want to implement the load
process only as the semantic model reacts on changes of the repository
already and vice versa.

What is the typical way to achive this? The size and possibilities of
the framework are overhelming me once again :-)

Is it simply implementing my own DocumentProvider oder do I have to look
more closely at the Resource-Framework of EMF?

Greetings,
Alexander
Re: Using another data source for semantic model than xml-file [message #110321 is a reply to message #109668] Thu, 08 March 2007 11:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Alexander,

You'll want to implement a derived ResourceImpl and override doLoad and
doSave.


Alexander Dotor wrote:
> I have a question about changing the data source of the EMF model:
>
> I want to use a remote data source in form of a proprietary repository.
> Instead of the EMF xmi-file I want to connect to a remote repository, a
> procedure my semantic model is able to. I want to implement the load
> process only as the semantic model reacts on changes of the repository
> already and vice versa.
>
> What is the typical way to achive this? The size and possibilities of
> the framework are overhelming me once again :-)
>
> Is it simply implementing my own DocumentProvider oder do I have to look
> more closely at the Resource-Framework of EMF?
>
> Greetings,
> Alexander
>
Re: Using another data source for semantic model than xml-file [message #110875 is a reply to message #110321] Mon, 12 March 2007 05:46 Go to previous message
Eclipse UserFriend
Hi Ed,

thank you very much.

Alexander

Ed Merks schrieb:
> Alexander,
>
> You'll want to implement a derived ResourceImpl and override doLoad and
> doSave.
>
>
> Alexander Dotor wrote:
>> I have a question about changing the data source of the EMF model:
>>
>> I want to use a remote data source in form of a proprietary repository.
>> Instead of the EMF xmi-file I want to connect to a remote repository, a
>> procedure my semantic model is able to. I want to implement the load
>> process only as the semantic model reacts on changes of the repository
>> already and vice versa.
>>
>> What is the typical way to achive this? The size and possibilities of
>> the framework are overhelming me once again :-)
>>
>> Is it simply implementing my own DocumentProvider oder do I have to look
>> more closely at the Resource-Framework of EMF?
>>
>> Greetings,
>> Alexander
>>
Previous Topic:Reference Based Link with a Type Based Link as target
Next Topic:where can i get org.eclipse.gmf.runtime.lite?
Goto Forum:
  


Current Time: Sat Jul 19 10:46:06 EDT 2025

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

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

Back to the top