Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338443 - Split of the Class pattern within the EMF generation patterns
Summary: Split of the Class pattern within the EMF generation patterns
Status: CLOSED FIXED
Alias: None
Product: EMF.EGF
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Matthieu Helleboid CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-28 13:02 EST by Mathias CLA
Modified: 2011-05-16 10:01 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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