|Persisting the Eclipse Application? [message #1008453]
||Tue, 12 February 2013 09:57
| Alex Kipling
Registered: July 2012
We would like to persist our Eclipse Application and are looking for the best appraoach for it.|
- e4 does persist the Windows size / positions. Where are those informations stored?
Can we extend the mechanism, hwich is used by Eclipse to store our own information?
- is it posible to persist / serialize an IEclipseContext object with it#s subContext objects?
|Re: Persisting the Eclipse Application? [message #1008535 is a reply to message #1008526]
||Tue, 12 February 2013 16:53
| Thomas Schindl
Registered: July 2009
When it comes to loading/saveing I'd suggest to you serialize your stuff
e.g. as XML and use JAXB to bind it to a bean.
The model loading/saveing is done through the IModelResourceHandler you
can force the framework to use your custom one by passing something like
Am 12.02.13 21:39, schrieb Alex Kipling:
> Thnx Thomas, setting persisten state on model elements, as described
> was a really useful buzzword, thnx Tom.
> What I would like to do is saving a bunch of attributes, for every part.
> (Integer, maybe Serializables)
> These attributes I would like to save in a DB,
> so I thought about using Eclipse's persistency mechanism, and
> implementing it's interfaces.
> Do you know which mechanism is responsible for persisting a model on
> application stop?
> Where do I have too hook in, in order to change the save location from
> Eclipse's native location to my DB?
Powered by FUDForum
. Page generated in 0.02068 seconds