Bug 543017 - Remove IMetamodelExtender and all the associated infrastructure/indirections
Summary: Remove IMetamodelExtender and all the associated infrastructure/indirections
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 6.0.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Pierre-Charles David CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2018-12-23 05:01 EST by Pierre-Charles David CLA
Modified: 2019-09-18 08:59 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre-Charles David CLA 2018-12-23 05:01:34 EST
The org.eclipse.sirius.ecore.extender.business.api.accessor.IMetamodelExtender type and associated code is a leftover from a failed mechanism which was supposed to allow semi-transparent metamodel extensions. It was never actually used in practice. As it is, it only adds a useless indirection between the client code in Sirius which uses the ModelAccessor to mediate access to the semantic models and the only actual implementation, in EcoreIntrinsicExtender, which provides some helpers for reflective access to EMF models.

The whole extension mechanism and related code should be removed to make ModelAccessor directly implement the actual code from EcoreIntrinsicExtender.

This is a rather central mechanism. Lots of code can depend in subtle ways of the current smeantics, so care must be taken to make the changes progressively over a series of small and safe commits.