Skip to main content



      Home
Home » Modeling » EMF » Custom resource with non XML persistence
Custom resource with non XML persistence [message #1662244] Mon, 09 March 2015 20:32 Go to next message
Eclipse UserFriend
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 11:28 Go to previous message
Eclipse UserFriend
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 Jul 06 03:55:42 EDT 2025

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

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

Back to the top