Is there any uml tools(as Rose) on ubuntu ? thanks
I use Dia for drawing UML diagrams (as well as other diagrams), but it cannot generate code (at least not without some additional tools, like dia2code). It's more like a general-purpose diagram drawing tool with a decent support for UML.
Umbrello is a tool dedicated to UML-based modelling. It's comparable to Dia in terms of drawing, plus it can export and import code from/to several languages.
The above apps are, in my opinion, the best you can get from Ubuntu. Nevertheless, there are several other apps/libraries that are somehow related to UML modelling. Open System -> Administration -> Synaptic Package Manager and type "uml" in the search box.
Go for Eclipse Modeling Tools. I am just going for it, you may install it on top of existing eclipse http://www.vogella.de/articles/UML/article.html
It is platform independent. It is developed constantly.
I use argoUML, and it can also generate code. It seems it is not very updated to the last UML standards, but it can succesfully generate C++, Python, and PHP code. I find it very useful.
More info at: