Reverse engineering Java/XMI


There are many possible types of file in the reverse engineering process:
Instructions

To perform a reverse engineering:
  1. In the explorer, select the project where you want to generate the reversed model.

  2. Choose Tools > Java/XMI > Java/XMI Reverse Engineering. The reverse engineering interface window will appear.



  3. This window lets you add the files that you plan to reverse. You can also select some directory containing a batch of files to reverse. Click on the corresponding buttons and choose all the files that you plan to reverse.

  4. Click on the Reverse Engineering button to start the reverse operation. A message will appear at the end of the process letting you the opportunity to consult a report about the operation. The reversed model will appear in the explorer window.

Diagrams et graphical representations

The new model doesn't have diagrams by default. You have to add them under the class model or under the desired packages. Right-click on the class model or a package icon and choose Add > Diagram in the pop-up menu.

A diagram will be added. To see this diagram, double-click on its icon in the explorer window.

An empty diagram window will appear. To generate the graphical representations of the objects, right-click in the diagram background and choose Add Missing Diagram Objects in the pop-up menu.

Now, for a better layout of the objects, right-click in the diagram background and choose Layout Entire Diagram in the pop-up menu.


Result

After the reverse engineering process, you will obtain this: