Consequently, the Coffea plug-in needs refactoring. The first objective is to separate the UML2 Tools dependencies from the rest of the software. Here is the current state of the code:
- A core plug-in only allows reverse-engineering using the UML2 API (to produce an XMI compliant document)
- Another plug-in provides the code edition feature. Not to reproduce the UML2Tools situation, here is the plan: code edition will be triggered with EMF ResourceSetListeners.
To use the (legacy) UML2 Tools plug-in, you need an eclipse Galileo distribution including the Java development tools and the UML2 tools : just download the jar file (from sourceforge) and deploy it in the eclipse plug-ins directory. This plug-in allows to reverse java packages code to UML diagrams ; selected classes and attributes are displayed in the class diagram editor in the workbench navigators views. Classes, properties and packages creation, renaming and removal performed using the editor are propagated to the code. The tutorial is still an example of such an operation.