From 2a4c1a936e6565806c4898fa4512157e63e89b11 Mon Sep 17 00:00:00 2001 From: Diomidis Spinellis Date: Fri, 7 Jan 2011 09:52:45 +0000 Subject: [PATCH] Make the maps of diagrams appearing in HTML content clickable. Contributed by: Bernd Onasch --- doc/ver.xml | 3 +++ src/org/umlgraph/doclet/ClassGraph.java | 3 +++ 2 files changed, 6 insertions(+) diff --git a/doc/ver.xml b/doc/ver.xml index d432e4a..8b45f56 100644 --- a/doc/ver.xml +++ b/doc/ver.xml @@ -1,5 +1,6 @@ +
@@ -7,6 +8,8 @@
  • Make the generation of diamond shapes compatible with GraphViz 2.27. (Contributed by Soraya Santana de la Fe.)
  • +
  • Make the maps appearing sdfs +(Contributed by Soraya Santana de la Fe.)
diff --git a/src/org/umlgraph/doclet/ClassGraph.java b/src/org/umlgraph/doclet/ClassGraph.java index 6589141..45ebb69 100644 --- a/src/org/umlgraph/doclet/ClassGraph.java +++ b/src/org/umlgraph/doclet/ClassGraph.java @@ -575,6 +575,7 @@ class ClassGraph { } } externalTableEnd(); + w.print(", URL=\"" + classToUrl(c, rootClass) + "\""); nodeProperties(opt); // If needed, add a note for this node @@ -788,6 +789,8 @@ class ClassGraph { } innerTableEnd(); externalTableEnd(); + if (className == null || className.length() == 0) + w.print(", URL=\"" + classToUrl(className) + "\""); nodeProperties(opt); } }