Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Texo/Code Generation Details"
(→Introduction) |
(→Introduction) |
||
Line 3: | Line 3: | ||
== Introduction == | == Introduction == | ||
− | The | + | The Texo code generation is controlled by annotations on the model. These annotations determine the class names, names of methods and java package names. When Teneo generates code it will automatically create these annotations (in-memory) for each model element (EClass, EStructuralFeature). However, it is also possible to define these annotations in a so-called annotations model. This gives you the possibility to override the choices made by the Texo code generator. Texo will use these manual annotations and add its own annotations to have a complete annotated model. |
This document describes how the annotations model works and how you can define the annotations model. | This document describes how the annotations model works and how you can define the annotations model. |
Revision as of 03:41, 14 May 2010
Contents
Introduction
The Texo code generation is controlled by annotations on the model. These annotations determine the class names, names of methods and java package names. When Teneo generates code it will automatically create these annotations (in-memory) for each model element (EClass, EStructuralFeature). However, it is also possible to define these annotations in a so-called annotations model. This gives you the possibility to override the choices made by the Texo code generator. Texo will use these manual annotations and add its own annotations to have a complete annotated model.
This document describes how the annotations model works and how you can define the annotations model.
Creating and Editing an Annotations Model
Code Generation Properties (annotations)
This section gives a detailed description of the properties/features in the annotations model used for code generation.