aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes class diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "class diagram " Watch "class diagram " New topic
Author

class diagram

Srikrishna DhumalRao
Greenhorn

Joined: Oct 05, 2004
Posts: 17
Hi,
I am not much exposed to UML, now i have to prep a class diagram as part of my job. I will be much grateful if any one help me out in this.
I have three classes in a file.
first class has main method in which i started a thread.
second class has the run method in which i created instane for the third class and called the methods.
and third has methods which actually do my business.
Now I have to prepare the class diagram for this actually we are going in a reverse way after finishing all the coding we are asked to submit the class diagram.
thanks in advance


srikrishna
Alexandru Popescu
Ranch Hand

Joined: Jul 12, 2004
Posts: 995
What product are you using for drawing UML diagrams?

./pope


blog - InfoQ.com
Srikrishna DhumalRao
Greenhorn

Joined: Oct 05, 2004
Posts: 17
nope, We don't have any tool to design we have to draw in word only
Alexandru Popescu
Ranch Hand

Joined: Jul 12, 2004
Posts: 995
I recommend you look for ArgoUML (free and very well done). There you can draw the diagram and then export it to a picture to include it in your document.
In order to learn about UML you can check the UML spec (a heavy reading ) and google for UML tutorial.

Here are some links:
  • http://odl-skopje.etf.ukim.edu.mk/uml-help/
  • http://bdn.borland.com/article/0,1410,31863,00.html


  • ./pope
    Lasse Koskela
    author
    Sheriff

    Joined: Jan 23, 2002
    Posts: 11962
        
        5
    Visio is also a decent UML tool, if you happen to have it installed.
    Otherwise, I'd also recommend looking into UMLet and Visual Paradigm.


    Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
    Alexandru Popescu
    Ranch Hand

    Joined: Jul 12, 2004
    Posts: 995
    Afaik Visio requires some additional stencils for UML. There is a free available set advertised on Martin Fowler's site.

    ./pope
    Pradeep bhatt
    Ranch Hand

    Joined: Feb 27, 2002
    Posts: 8919

    Originally posted by Ali Pope:
    Afaik Visio requires some additional stencils for UML. There is a free available set advertised on Martin Fowler's site.

    ./pope


    http://www.phruby.com/stencildownload.html


    Groovy
    Alexandru Popescu
    Ranch Hand

    Joined: Jul 12, 2004
    Posts: 995
    Indeed Pradeep that's what I was refering to. thanks for pointing the link.

    ./pope
    Lasse Koskela
    author
    Sheriff

    Joined: Jan 23, 2002
    Posts: 11962
        
        5
    ObjectMentor has also made their Visio stencil available somewhere. I'm sure Google will find it in no time.
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: class diagram