
This plugin provides the capability to use Mia-Generation generators into the Eclipse environment :
Open the Mia-Generation window in Eclipse
You can either use the "Run > Run Mia-Generation > Mia-Generation..." global menu or the toolbar shortcut.
If Mia-Generation is already started, the use of this menu or this button will make Mia-Generation's interface be visible.

Create a new generation configuration
- Click on the "New" button to create a Launch Configuration
- Select a Mia-Generation generator, "Java Generation.prj" for example
- Select a UML model, the Rational Rose "PetStore.mdl" for example.
- Select a generation directory (your workbench currently selected folder by default). This is where files will be generated.
- Click on the "Generate" button to launch the generation process.

Wait for the generation to complete
A dialog shows up the generation progress, allowing to cancel the generation at any time.
The generation is launched in a modal mode, but you can decide to run it in background and continue to work in the workbench.
View the generated files in the Eclipse view for Mia-Generation
Once the generation terminated, the generated files are listed in a view which provides all the Developer mode functionalities : status of generated files (new, modified, contains manual code, ...), detail of code fragments, colorization of generated and hand-coded zones, visualization of differences between two generations, metrics, alerts, etc...

Generated zones can be protected by Mia-Generation to avoid modification outside tags which delimit the zones to complete manually. This option can be disabled.

If a file has been modified between two generations, it is possible to compare at the whole file level, or directly at the modified fragment level.

Metrics are displayed in a dedicated Eclipse editor.
Use short-cuts on previous generations
You can re-launch a generation by using its short-cuts in the history menu.
Using a short-cut does not make Mia-Generation be visible.
