Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "Acceleo/Views Perspective"

(Improved Generation pattern view.)
(Overrides view)
Line 3: Line 3:
  
 
= Overrides View =
 
= Overrides View =
 +
The Overrides view allows the user to see all the Acceleo modules available in its workspace and in its plug-ins.
 +
[[Image:Acceleo-overrides-view.png|thumb|none|600px|The Overrides view showing the modules in the workspace and in the plug-ins]]
 +
 +
 +
With this view, you can quickly see those modules by double clicking on them by you can also select one of those module to override it.
 +
[[Image:Acceleo-overrides-completion.png|thumb|none|415px|The completion created by the selection in the Overrides view.]]
 +
 +
 +
After having selected a template, use the completion to override it in an existing module.
 +
[[Image:Acceleo-overrides-result.png|thumb|none|600px|The new template created thanks to the Overrides view.]]
 +
 +
 +
This view can help you find a module in your Eclipse platform, it can also be used to quickly and easily override several templates of a module.
  
  
Line 9: Line 22:
  
 
[[Image:Acceleo-traceability-result.png|thumb|none|400px|The Result view with some traceability informations.]]
 
[[Image:Acceleo-traceability-result.png|thumb|none|400px|The Result view with some traceability informations.]]
 +
  
 
= Generation Pattern =  
 
= Generation Pattern =  
Line 14: Line 28:
  
 
[[Image:Acceleo-generationpattern-view.png|thumb|none|600px|The Generation Pattern view for an Acceleo module with the UML metamodel]]
 
[[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.
 
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.]]
 
[[Image:Acceleo-generationpattern-completion.png|thumb|none|400px|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".
 
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.]]
 
[[Image:Acceleo-generationpattern-result.png|thumb|none|432px|The templates generated thanks to the Generation Pattern view.]]
 +
  
 
{{Acceleo-index}}
 
{{Acceleo-index}}

Revision as of 15:46, 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

The Overrides view allows the user to see all the Acceleo modules available in its workspace and in its plug-ins.

The Overrides view showing the modules in the workspace and in the plug-ins


With this view, you can quickly see those modules by double clicking on them by you can also select one of those module to override it.

The completion created by the selection in the Overrides view.


After having selected a template, use the completion to override it in an existing module.

The new template created thanks to the Overrides view.


This view can help you find a module in your Eclipse platform, it can also be used to quickly and easily override several templates of a module.


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
Features Acceleo Features · Runtime · Acceleo editor · Views & Perspective · Interpreter · Maven
User documentation Getting Started · User Guide · 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 Professional Support · Report a bug

Back to the top