I am aware of this question, however, I am explicitly requesting UML 2 support.
Must have
- free license, for commercial use
- support for class diagrams
- and message sequence charts
- and state diagrams
- code generation for C++
- Windows support
Nice to have
- other diagram types (especially use cases & activity)
- round trip editing
- code generation for C
- code generation for PHP
- the ability to draw diagrams from textual input (see, for instance YUML).
- Linux support