Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Custom resource with non XML persistence
Custom resource with non XML persistence [message #1662244] Tue, 10 March 2015 00:32 Go to next message
Nigel Daniels is currently offline Nigel DanielsFriend
Messages: 40
Registered: May 2011
Member
Hi, can anyone recommend a good tutorial or examples that implement a
custom resource especially if it applies to none XML persistence?

I currently have an EMF editor that describes a configuration file but I
was wondering if I could use the editor to edit the configuration files
directly.

Thanks for any advice.
Re: Custom resource with non XML persistence [message #1663760 is a reply to message #1662244] Tue, 10 March 2015 15:28 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30463
Registered: July 2009
Senior Member
Nigel,

There BinaryResourceImpl you could have a look at. Also the Xtext
project has examples, though rather more complex. In the end, it's
mostly about implementing doLoad and doSave. The rest of the frameworks
won't care how those are in fact implemented, so yes you should be able
to use all the rest of the framework...

On 10/03/2015 1:32 AM, Nigel Daniels wrote:
> Hi, can anyone recommend a good tutorial or examples that implement a
> custom resource especially if it applies to none XML persistence?
>
> I currently have an EMF editor that describes a configuration file but
> I was wondering if I could use the editor to edit the configuration
> files directly.
>
> Thanks for any advice.
Previous Topic:Attaching properties from one Model Element to another
Next Topic:Dynamic EMF
Goto Forum:
  


Current Time: Sun Sep 22 20:37:03 GMT 2019

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

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

Back to the top