|Archived resource [message #431800]
||Mon, 27 July 2009 12:26
Originally posted by: luzi.anderegg.ergon.ch|
I'm building a RCP application using EMF and EMF Transaction. My
resource set consists of two resources sharing the same zip container.
To access these two resources, I use an URI starting with "archive". If
the container changes outside of EMF (e.g. deleting the file in the
project explorer), WorkspaceSynchronizer does not realize, that the two
resources belong to the modified container.
What is the best solution for this problem? Do I have to write my own
converter such that getResource for the container URI resolves to the
container content? Or can I add the container file as a resource to the
|Re: Archived resource [message #431873 is a reply to message #431814]
||Tue, 28 July 2009 15:17
| Ed Merks
Registered: July 2009
Luzi Anderegg wrote:
>> Probably it should be supported but was never considered during the
>> design. Perhaps you'd like to contribute a bugzilla patch to support
>> it directly in the base framework...
> So, the "correct solution" would be to adapt WorkspaceSynchronizer to
> also consider files in a zipped container?
Yes, I think so. I'm not so familiar with the transaction APIs.
> Or is it possible to write a converter?
I'm not sure what a converter is...
Professional Support: https://www.macromodeling.com/
Powered by FUDForum
. Page generated in 0.02156 seconds