eUML2 Modeler adds an UML flavour to java development within Eclipse. It's easy to generate Class and Sequence diagram from code.

Real-time synchronization

eUML2 Modeler background jobs ensure the synchronization between the java code and the UML model. Thus, you can modify your code either from the Java editors or through the UML diagrams, both are always totally and immediately synchronized.