Skip to main content

Posts

Showing posts with the label uml

UML Diagram - Here we go

Finally, we made it! The UML assignment now has 3 versions Standalone version which is packed as a .jar file and can run without any problem in Windows and Linux (of course, JVM is required). You can get in here (Google Code link). The features are Build UML class diagram From scratch: using menu, pop-up menu, drag and drop with a bunch of forms From existing source code: load your Java source file(s) and modify the diagram using the same techniques as above Export Java source file(s) from the diagram. All methods are empty (of course) Save as Image The whole diagram Or this a part of it Easy navigation: most of the cases, the diagram will be big and it will be hard to have a good view but you can... Zoom in and zoom out Moving around  Rearrange structures to make them more well-organized (if you mess them up, feel free to re-draw from the menu) Quickly find a structure in the diagram  A more focus view in a structure by display related structures only ...

UML Diagram - Almost got it

If you haven't read it , we had an assignment 2 months ago about making a Java application which focuses on UML diagram ( class diagram specifically). There are 2 assignments actually and each team will select one: You have a bunch of .java source code files and you have to display the UML diagram of it The second assignment is opposite of the first one: let built the UML diagram and then generate source code files from it (empty methods of course!!!!) We made the first attempt really early but we was so busy that we haven't made any further progress until now and hell yeah, we got some really interesting stuffs to show off today. Some functionalities is not available when you run it as an applet so you may want to download the jar version . It should run well in both Windows or Linux if you have the JRE

UML Diagram - Very first steps

Well, this is our second assignment of Java: writing an application which allows user to create a UML diagram and generate the code (with empty methods, of course) in Java. Actually the assignment suggested another reversed approach: reading Java source code files and generate the UML diagram but our team decided to choose it. After some discussion, yesterday, mr Tran Viet Son has done the data structure for the application which is pretty interesting and I'm showing you now. The source code can be grab here . All the core classes are under a package called com.tranvietson.uml. The test code is something like this