UML does not have a way to display a model elements documentation on the
diagram. The only way to display the documentation on a diagram is via
the Comment element, but as you stated it does not effect the code
generation process. To make is easier to see and edit the documentation
we created the documentation view. When a model element is selected
(via the diagram or project explorer) the documentation view will show
the documentation for the selected model element.
To display the documentation view use the menu Window | Other | UML
Documentation. You can also use the keysroke CTRL-SHIFT-D.
Andrew Hughes wrote:
> Hi Again,
>
> Q: I have a "class" for example... and in that I can add some
> documentation about that class (right click properties ->
> documentation). That's awesome because it's round-trip and goes
> to/from javadoc, however I can't get the documentation to display in a
> UML diagram (specifically class diagram for what its worth). Is there
> a way to display this documentation in the diagram? Because creating
> external comments and links is overhead and they don't do the
> impressive round-trip behavior.
>
> Thanks for anyone reading & answering :)