| Summary: | [EMF Compare] Extension point for IPAF registration | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMFCompare | Reporter: | Arthur Daussy <arthur.daussy> | ||||||
| Component: | Core | Assignee: | EMF Compare <emf.compare-inbox> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | CC: | cedric.brun, faure.tristan, laurent.goubet | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Arthur Daussy
Created attachment 204929 [details]
New patch
Here is a new patch for the extension point:
-> Observation discussed with Laurent Goubet taken into account
-> Observation discussed with Mickeal Barbero to make the extension point dynamic taken into account. (Not tested - Do not know how to test dynamic extensions registry)
The latest patch looks good to me, opening the CQ right now. The CQ has been approved by the modeling PMC, we're now waiting for the IP team clearance. The Eclipse Legal team gave clearance, I just had to add Atos as contributor on a few files (AdapterUtils and EMFComparePlugin). It's now in the git repository (7231c670c5d63dba9741bf93d3f883e02b6fe33f) Thanks for your work ! Arthur, Just a quick note, I slightly altered your contribution while on the process of fixing memory leaks (bug 361907). Namely : - Renamed "RegisteredItemProviderAdapterFactoryRegistery" in "RegisteredItemProviderAdapterFactoryRegistry" (typo), - Use static methods for the RegisteredItemProviderAdapterFactoryRegistry instead of relying on a singleton instance (basically the same, but that was easier for me while working on the memory) and - Clear the registry when the plugin is stopped. There is an unused methods in the registry : updateAddedElementInComposedAdapterFactory. Can I remove it or do you need it for some part of your code? Yes you can remove it. Thanks for your help. |