Code2UML is a open-source tool for creating UML diagrams from pseudo-code (syntax is pretty similar to java). It lets you focus more on your projects structure instead of thinking about designing diagrams and UML Standards.
+++ Version 1.1 is now out, adding support for implementing interfaces and extending classes! For more information see here.
If you want to try it out yourself, you can either just donwload and run a compiled version or donwload the source code and compile it yourself.
.jar named Code2UML + version name, for example : Code2UMLv.1.0.jar..jar file is located. Then run java -jar filename.jar putting the name of the .jar file as filename.After running the programm, a blank editor window pops up, where you can write your uml code.
a blank editor window
Type in:
class HelloWorld{
private string message;
public bool isHappy;
int GetSomeInt();
public void DoSomething();
}
In the upper left corner click on file and then run.
editor file -> run
Now a new window should pop up, containing a UML diagram of your class. Congrats, you created your first UML diagram!
created uml diagram
(Optionally) you can now save your uml script clicking on file and then save as. A window will show up where you can specify where you want to save the file. If you succesfulle saved your file you can always open it up again using file and then open. (It doesnt really matter if you save the file as a .txt or something else but I recommend saving it as a .uml file so you always know that it is more than just a text file.)
For more information see documentation{coming soon}