[dbdoclet] Re: feature request for 0.51

Hello Haroon,

thank you for your proposal. I will introduce a new property into version 0.51 
which will toggle the creation of full qualified class name in the class 
diagrams.

Regards
  Michael 

>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.java20
>03-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

-- 
Dipl.-Ing.(FH) Michael Fuchs
Tel. (0 81 61) 14 41 66
Fax. (0 81 61) 14 05 21
Mobil 0 16 07 84 53 84
EMail mfuchs@xxxxxxxxxxxxxxxxxxxx
URL http://www.michael-a-fuchs.de

Other related posts: