Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 87825 - Need a way to pre/post-process XML resources
Summary: Need a way to pre/post-process XML resources
Status: VERIFIED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: XML/XMI (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Elena Litani CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 77410
  Show dependency tree
 
Reported: 2005-03-11 16:09 EST by Kenn Hussey CLA
Modified: 2008-01-28 16:45 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenn Hussey CLA 2005-03-11 16:09:08 EST
There should be a mechanism whereby a client can receive callbacks 
before/after a resource has been loaded/saved. This could be done by providing 
(an) interface(s) for which (an) implementation(s) could be specified via 
load/save options. These callbacks could be used (for example) to process the 
extension map for a resource after it's been loaded, or to keep track of when 
resources have started/finished being loaded/saved.
Comment 1 Elena Litani CLA 2005-03-15 13:57:54 EST
Added XMLResource.ResourceHandler interface and OPTION_RESOURCE_HANDLER. 
Please, verify the fix.
Comment 2 Nick Boldt CLA 2005-03-17 11:47:33 EST
Fixed in build 2.1.0.I200503170700.
Comment 3 Nick Boldt CLA 2008-01-28 16:45:45 EST
Move to verified as per bug 206558.