Open eclipse-ocl-bot opened 1 month ago
By Ed Willink on Nov 02, 2015 14:30
(In reply to Ed Willink from comment #0)
Needs a bit of analysis and design.
ASResourceFactory doesn't sem to extend well for this purpose.
Bug 479445 identifies a different Ecore2AS extension failure in this case not an enhancement. Need to be able to load Classic OCL to support QVTo conversion.
Bug 479445 will probably add an extension point for an Ecore2AS helper.
This bug is then resolved by registering an EMF Profile nsURI helper that performs the extra Ecore2AS conversions.
By Ed Willink on Nov 05, 2015 05:56
A possible way forward could be for the EMF Profiles model, which has to migrate from EclipseLabs to move to OCL, so that EMFp2AS is built-in. Possibly OCLinEcore could provide textual support.
EMF Profile GEF editing would need to be elsewhere.
| --- | --- | | Bugzilla Link | 479880 | | Status | NEW | | Importance | P3 enhancement | | Reported | Oct 15, 2015 12:57 EDT | | Modified | Nov 05, 2015 05:56 EDT | | Reporter | Ed Willink |
Description
The ASResourceFactory has an extension point that notionally offers extensibility.
However, after fixing Bug 479841, the first use case for such extension does not work.
EMF Profiles defines a bigger better Ecore, so it would be nice to install a bigger better EcoreASResourceFactory, but it is final with some casts to self, and its NSTANCE extensibility is commented out.
Needs a bit of analysis and design.