Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338443

Summary: Split of the Class pattern within the EMF generation patterns
Product: [Modeling] EMF.EGF Reporter: Mathias <mathias.fritzsche>
Component: CoreAssignee: Matthieu Helleboid <matthieu.helleboid>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: benoit.langlois
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mathias CLA 2011-02-28 13:02:43 EST
Hi,

I would like to customize the Ecore code generation by injecting some code into the generated EObjectImpl constructor methods. Unfortunately, the EMF generation patterns provided by EGF do not offer a pattern for overriding the constructor generation. Can you please split the Class pattern in a way which allows overriding the constructor methods?

Thanks alot,

Mathias
Comment 1 Benoit Langlois CLA 2011-05-16 09:59:51 EDT
Bug reassigned to Matthieu.
Comment 2 Benoit Langlois CLA 2011-05-16 10:00:37 EDT
Hi Mathias,

The EGF-0.5.0_RC1 fixed this evolution.
Location of the new pattern:
 - Factory Component: EMF Model Pattern
 - Pattern Library: org.eclipse.egf.emf.pattern.model.call.Class
 - Pattern: Class.egfCustom.constructor.override

This new can be freely overrived.

BenoƮt
Comment 3 Benoit Langlois CLA 2011-05-16 10:01:07 EDT
Fixed