[dbdoclet] feature request for 0.51

Hi Michael,

Any plans on adding a feature which will make it possible to get the 
qualified class name in the UML diagrams. It would be great if it could be 
made configurable via dbdoclet.properties.

I tinkered with the source code and came up with the following diff which 
puts qualified names in the UML diagrams. It works for me so far. Haven't 
messed around with ability to configure via properties files.

--- 
../dbdoclet-0.50-src.orig/src/java/com/mf/doclet/ClassDiagramManager.java2003-09-16
 12:59:44.000000000 -0400
+++ ./src/java/com/mf/doclet/ClassDiagramManager.java   2003-10-10 
10:21:43.000000000 -0400
 @@ -207,7 +207,7 @@
                if ( i == pos ) {
 
                    id = "c" + j;   
-                   name = cdv[j].name();
+                   name = cdv[j].qualifiedName();
                
                    if ( m_crossref.get(name) == null ) {
 
@@ -222,7 +222,7 @@
                else {
 
                    id = "i" + i + "_" + j;   
-                   name = cdv[j].name();
+                   name = cdv[j].qualifiedName();
 
                    if ( m_crossref.get(name) == null ) {
                        m_writer.println("  " + id + " 
[label=\"\\<\\<interface\\>\\>\\n" + name + "\", 
fontname=\"Helvetica-Oblique\"];");

Regards,
--
Haroon Rafique   <haroon.rafique@xxxxxxxxxxx>
Student Information Systems, University of Toronto

Other related posts: