Hi,
Code generation from UML should lead to a lot of configuration options.
To address this problem, maybe we can take some inspirations from the EMF Ecore to Java code generator: namely the ‘.genmodel’.
Starting from an ‘.uml’ model, it should be possible to create (and consolidate) a ‘.genumlmodel’ model.
This model should store default properties for code generation (stereotypes mapping,…).
These properties should be modified by the users. This model should refer to the source UML model.
As for ‘.genmodel’, a contextual dropout menu should start the code generation.
The code generation will retrieve the configuration from the ‘.genumlmodel’ and the model from the referenced ‘.uml’.
Dominique Torette, Spacebel.
-------------------------------------------------------------------------------------------------------------------------------------------
Message: 4
Date: Fri, 24 Jan 2014 09:56:30 +0100
From: Fabien Toral <fabien.toral@xxxxxx>
To: polarsys-iwg@xxxxxxxxxxx
Subject: Re: [polarsys-iwg] UML Generators proposal
Message-ID: <52E22ABE.3090303@xxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi,
i'm involved in the maintenance of the UML2C/C2UML component at CS.
And i think that your proposal is necessary to bring better consistency in the UI.
So i could provide work to help these plugins adhere any specification provided by this new UML Generator project for Polarsys. I will follow any work effort on that project.
Fabien Toral
CS Communication & Systems
Le 23/01/2014 12:13, FAURE Tristan a ?crit :
> Hi,
> About UML generator project, it could make sense to have one entry point (one dialog/menu/preferences....) for all of these.
>
> In TOPCASED some of these generators was present in previous versions but community was quite lost to find them.
>
> Is it plan to do some refactor to provide a GUI and extension point for the migrated generators ?
>
> Regards
>
> Tristan FAURE
>
|
Dominique Torette
System Architect
Rue des Chasseurs Ardennais - Liège Science Park - B-4031 Angleur
Tel: +32 (0) 4 361 81 11 - Fax: +32 (0) 4 361 81 20
www.spacebel.be
|