Jump to: navigation, search

Difference between revisions of "Acceleo/Views Perspective"

m (categories)
(Improved Generation pattern view.)
Line 6: Line 6:
  
 
= Result View =
 
= Result View =
see [[Acceleo/Traceability|Traceability]]
+
The Result view is used to display the traceability information computed during the generation. To learn more about this view and the traceability of Acceleo, you can go to the [[Acceleo/Traceability|Traceability article]].
 +
 
 +
[[Image:Acceleo-traceability-result.png|thumb|none|400px|The Result view with some traceability informations.]]
  
 
= Generation Pattern =  
 
= Generation Pattern =  
In order to customize the completion process with custom template using the input metamodel.
+
The Generation Pattern view allows the user to select one of the common design pattern of code generation and to choose the elements on which the pattern will apply.
 +
 
 +
[[Image:Acceleo-generationpattern-view.png|thumb|none|600px|The Generation Pattern view for an Acceleo module with the UML metamodel]]
 +
 
 +
After this selection, the pattern can be used thanks to the completion mechanism of the Acceleo editor.
 +
 
 +
[[Image:Acceleo-generationpattern-completion.png|thumb|none|400px|The completion proposal from the Generation Pattern view.]]
  
/!\ in construction /!\
+
And here you can see the result of a design pattern used to create a new template for all kinds of UML "classifier".
  
 +
[[Image:Acceleo-generationpattern-result.png|thumb|none|432px|The templates generated thanks to the Generation Pattern view.]]
  
 
{{Acceleo-index}}
 
{{Acceleo-index}}

Revision as of 14:35, 12 January 2011

Views and Perspective

Acceleo contains several views in its perspective in order to help the user during the development of its generators.

Overrides View

Result View

The Result view is used to display the traceability information computed during the generation. To learn more about this view and the traceability of Acceleo, you can go to the Traceability article.

The Result view with some traceability informations.

Generation Pattern

The Generation Pattern view allows the user to select one of the common design pattern of code generation and to choose the elements on which the pattern will apply.

The Generation Pattern view for an Acceleo module with the UML metamodel

After this selection, the pattern can be used thanks to the completion mechanism of the Acceleo editor.

The completion proposal from the Generation Pattern view.

And here you can see the result of a design pattern used to create a new template for all kinds of UML "classifier".

The templates generated thanks to the Generation Pattern view.

Acceleo Portal
Project Project · Installation · New & noteworthy · Release review · API policy · Retention policy · Next · Checklist
Features Acceleo Features · Runtime · Acceleo editor · Views & Perspective · Debugger · Profiler · Traceability · Wishlist · Interpreter · Maven
User documentation Getting Started · Acceleo operations reference · OCL operations reference · Text Production Rules · Migration From Acceleo 2.x · Best Practices · Videos · FAQ
Developer documentation Source code · How to contribute · Compatibility · MOFM2T specification · OCL specification
Community Conferences · Twitter & Blogs · Professional Support · Report a bug