Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (483)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (550)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Generate class diagram from source code  (Read 3065 times)
0 Members and 1 Guest are viewing this topic.
Offline Preston

Senior Member


Medals: 4



« Posted 2003-10-30 12:05:38 »

There's been an interesting topic on UML tools in this forum.
There are a few nice ones. Some of them featured a kind of "generate class diagramm from source code". However, these mostly disappointed me (the ones in the free UML tools at least). (*)

So here's my question: Is there a (if possible: free) class diagram generator from Java source code?
I don't want to edit the diagram afterwards, I'd just like to have an accurate overview. Basically the other way round of an UML editor tool.

I'd like to use it like Javadoc, and as oftenly as Javadoc. I wonder why Javadoc doesn't go further and produce a nice diagram. (No criticism, I like Javadoc very much and it's a great invention of SUN to provide such tools.)
The Javadoc "clone" Doxygen (mainly for C++) tries to produce som basic diagrams (in Png format), but it's just the inheritance view of classes. This is nice, but just a very start.

Thanks for any hints.


(*) Oh English... What's correct to say: generate a diagram from source code? or: generate a diagram out of code, or ...? Thanks.
Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #1 - Posted 2003-10-30 15:25:58 »

If you've tried Argo UML and the Omondo UML plugin for Eclipse I would guess they are the best free tools at the moment.

*... oh and in English I think either way makes sense to me. Using 'from' is probably better since 'out of'  might suggest that the lines on the diagram are drawn using really tiny lines of text that read like source code Smiley.

Offline misterX

Junior Member




java forever!


« Reply #2 - Posted 2003-12-17 18:27:51 »


wouldn't it be great to have a simplified class diagram and corresponding source code working hand in hand?! Roll Eyes
When changes are made to either the Java source or the class diagrams, these changes are immediately reflected in the other... Stopping to consider them as two sparated processes!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #3 - Posted 2003-12-17 19:08:00 »

I think that is how the Omondo UML plugin is supposed to work.  But I could be out to lunch.

Offline kevglass

JGO Kernel


Medals: 153
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #4 - Posted 2003-12-18 05:09:18 »

Yep, thats how the plugin is _meant_ to work.

If you search around the forums this discussion has been had in depth several times. There are negative and positive points for considering the UML and code seperate and likewise for considering it one..

Kev

Offline Preston

Senior Member


Medals: 4



« Reply #5 - Posted 2003-12-18 06:11:32 »

Quote
So here's my question: Is there a (if possible: free) class diagram generator from Java source code?
I don't want to edit the diagram afterwards, I'd just like to have an accurate overview. Basically the other way round of an UML editor tool.

Well, yes, now I found such a tool - but it's not free. :-(
In the current JBuilder X version the free Foundation version to download contains all (?) the commercial developer and enterprise edition's components on a 30 day trial basis. And there's this "view UML" switch next to your source code. It works very well, on the fly, and is pretty helpful. But I'm afraid it's too expensive for a hobbiest developer.

Well well.
Offline Herkules

Senior Member




Friendly fire isn't friendly!


« Reply #6 - Posted 2003-12-18 12:42:26 »

Not free but excellent: the class diagrams from Together.

Just cannot handle inner classes and such, but I think there isn't any notion to express these in UML at all?

And when talking about JavaDoc ..... the JavaDoc generated by Together also is excellent! Contains the diagrams as clickable elements!!


HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

CopyableCougar4 (15 views)
2014-08-22 19:31:30

atombrot (28 views)
2014-08-19 09:29:53

Tekkerue (25 views)
2014-08-16 06:45:27

Tekkerue (23 views)
2014-08-16 06:22:17

Tekkerue (15 views)
2014-08-16 06:20:21

Tekkerue (22 views)
2014-08-16 06:12:11

Rayexar (61 views)
2014-08-11 02:49:23

BurntPizza (39 views)
2014-08-09 21:09:32

BurntPizza (31 views)
2014-08-08 02:01:56

Norakomi (38 views)
2014-08-06 19:49:38
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!