Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344643 - [Eugenia] GenerateAllDelegate do not call the FixGenModelDelegate (request)
Summary: [Eugenia] GenerateAllDelegate do not call the FixGenModelDelegate (request)
Status: CLOSED FIXED
Alias: None
Product: Epsilon
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Antonio Garcia-Dominguez CLA
QA Contact:
URL:
Whiteboard:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2011-05-03 17:15 EDT by Silvia CLA
Modified: 2013-02-13 06:30 EST (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 Silvia CLA 2011-05-03 17:15:28 EDT
Hi, I'm writing because when customizations are done to the GenModel with an eol module, the synchronization (i.e. with the FixGenModel.eol) is not automatically called. Therefore, manual steps are required. The generateAllDelegate is called when using -> Eugenia -> Generate GMF Editor for both ecore and emf models.

I checked the source code (snv -> trunk) and this functionality is not even included there. I would appreciate if it can be included:

Eugenia project -> Class -> GenerateAllDelegate

// Do Emfatic to Ecore transformation
....
// Do Ecore to GenModel transformation
....

//TODO Include: //Do FixGenModel :)
....

// Do Ecore  to GmfTool, GmfGraph and GmfMap
// Do GmfMap to GmfGen
// Do FixGmfGen
// Generate code from EMF


Thanks.
Silvia
Comment 1 Silvia CLA 2011-05-03 18:03:05 EDT
Hi again. I forgot to include that the customization of the GenModel is not applied neither when the GenModel is generated from the .ecore file. So it would be interesting to have this automatization too. Although is more important to have the complete automatization when using the Generate GMF editor action.

Thanks.
Comment 2 Antonio Garcia-Dominguez CLA 2013-02-13 06:30:51 EST
(In reply to comment #1)
> Hi again. I forgot to include that the customization of the GenModel is not
> applied neither when the GenModel is generated from the .ecore file. So it
> would be interesting to have this automatization too. Although is more
> important to have the complete automatization when using the Generate GMF
> editor action.
> 
> Thanks.

Hi Silvia,

This bug was fixed shortly after your report, particularly on SVN r1744 (March 2012). Sorry for the delay in the update.

The "Generate EMF GenModel" menu entry has its own polishing transformation, "Ecore2GenModel.eol". The FixGenModelDelegate and its polishing transformation "FixGenModel.eol" is called from the "Synchronize EMF GenModel" menu entry.

I've fixed the documentation regarding this (see "What models can I access from the ECore2GMF.eol and FixGMFGen.eol transformations?"):

http://eclipse.org/epsilon/doc/articles/eugenia-polishing/

You're welcome,
Antonio