Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (293)
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 2459 times)
0 Members and 1 Guest are viewing this topic.
Offline Preston

Senior Member


Medals: 2



« Posted 2003-10-30 13: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.

Memento mori.
Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #1 - Posted 2003-10-30 16: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 19: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!
Try the Free Demo of Titan Attacks
Offline swpalmer

JGO Coder




Where's the Kaboom?


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

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

Offline kevglass
« League of Dukes »

JGO Kernel


Medals: 54
Projects: 20


Mentally unstable, best avoided.


« Reply #4 - Posted 2003-12-18 06: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: 2



« Reply #5 - Posted 2003-12-18 07: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.

Memento mori.
Offline Herkules

Senior Member




Friendly fire isn't friendly!


« Reply #6 - Posted 2003-12-18 13: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.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Browse for soundtracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (76 views)
2013-05-17 21:29:12

alaslipknot (89 views)
2013-05-16 21:24:48

gouessej (118 views)
2013-05-16 00:53:38

gouessej (113 views)
2013-05-16 00:17:58

theagentd (125 views)
2013-05-15 15:01:13

theagentd (112 views)
2013-05-15 15:00:54

StreetDoggy (156 views)
2013-05-14 15:56:26

kutucuk (178 views)
2013-05-12 17:10:36

kutucuk (178 views)
2013-05-12 15:36:09

UnluckyDevil (186 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.092 seconds with 22 queries.