


In either, the following window will appear: Right click on your project (or package) and select the “Reverse Java code” menu entry to generate the UML model. The Package Explorer view shows all the projects in your workspace and the files they contain. If your model does not have any component, you can configure in the launch configuration the name, classpath and Java runtime environment of the default Java project to create for your code. With this option, you will have an internationalized MANIFEST.MF files with exported and imported packages along with features.xml files grouping your plug-ins just like in your model. You can even opt-in to have Eclipse plug-ins and features generated to represent your component architecture. The generation will not use a regular folder as a target but instead, it will generate a new Java project for each components in your model. The generator now consider components as first class citizens. In this new launch configuration, you can choose the types to ignore, the Java runtime environment to associate with the generated project and much more.

This launch configuration can also be saved on your disk and shared with your team, giving you that way, the ability to reproduce easily a generation with specific settings. You can build your model with the tool of your choice like the regular tree-based UML editor or even UML Designer.įorget the properties files of a basic Acceleo generator, this new version of the UML to Java generator comes with a dedicated launch configuration where you can select all the details of the generation. The UML to Java code generator let you generate code from any UML model compatible with the Eclipse UML2 project. UML to Java Generate code from any kind of UML model… You can install them via the UML Discovery catalog, or via the UML Designer update site. A UML to Java generator module and a Java to UML reverse module are available along with UML Designer.
