Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Feature request: can XSDEcoreBuilder use EcorePackage.eINSTANCE.getEFactoryInstance() instead of
Feature request: can XSDEcoreBuilder use EcorePackage.eINSTANCE.getEFactoryInstance() instead of [message #598752] Tue, 26 September 2006 04:56
Martin Taal is currently offline Martin Taal
Messages: 5329
Registered: July 2009
Senior Member
Hi,
I noticed that the XSDEcoreBuilder uses the EcoreFactory.eINSTANCE to create eenums (and maybe also
other model elements). Would it be possible to let it use
EcorePackage.eINSTANCE.getEFactoryInstance() instead?

The reason that I ask is that this makes it possible to override the default EcoreFactory with our
own implementation (by setting the EcoreFactory in the EcorePackage). We require our own
implementation to make use of our own serializable EEnumLiteral.

Btw, is overriding EcoreFactory a valid approach in this case?

--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Previous Topic:adding an import to a schema and validating
Next Topic:Feature request: can XSDEcoreBuilder use EcorePackage.eINSTANCE.getEFactoryInstance() instead of
Goto Forum:
  


Current Time: Sat Aug 23 07:45:21 EDT 2014

Powered by FUDForum. Page generated in 0.02191 seconds