mirror of https://github.com/dspinellis/UMLGraph
Renamed WrappedRootDoc due to a typo, removed package.html and fixed a few umlgraph tags on the classes for better output generation
This commit is contained in:
parent
9bac4fb51a
commit
f971bded86
|
|
@ -40,6 +40,8 @@ import com.sun.javadoc.RootDoc;
|
|||
* the network of class releationships, so you are allowed to reuse it should
|
||||
* you
|
||||
* @author wolf
|
||||
*
|
||||
* @depend - - - DevNullWriter
|
||||
*/
|
||||
public class ContextMatcher implements ClassMatcher {
|
||||
ClassGraphHack cg;
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@ import com.sun.tools.doclets.standard.Standard;
|
|||
* runs the generation of dot files by UMLGraph
|
||||
* @author wolf
|
||||
*
|
||||
* @depend - - - WrappedClassDoc
|
||||
* @depend - - - WrappedRootDoc
|
||||
*/
|
||||
public class UmlDoc {
|
||||
/**
|
||||
|
|
@ -57,7 +59,7 @@ public class UmlDoc {
|
|||
opt.strictMatching = true;
|
||||
// root.printNotice(opt.toString());
|
||||
|
||||
root = new WrappedRootDot(root);
|
||||
root = new WrappedRootDoc(root);
|
||||
generatePackageDiagrams(root, opt, outputFolder);
|
||||
generateContextDiagrams(root, opt, outputFolder);
|
||||
} catch(Throwable t) {
|
||||
|
|
|
|||
|
|
@ -31,9 +31,9 @@ import com.sun.javadoc.RootDoc;
|
|||
|
||||
/**
|
||||
* Doclet API implementation
|
||||
* @depend - - * OptionProvider
|
||||
* @depend - - * Options
|
||||
* @depend - - * View
|
||||
* @depend - - - OptionProvider
|
||||
* @depend - - - Options
|
||||
* @depend - - - View
|
||||
* @depend - - - ClassGraph
|
||||
* @depend - - - Version
|
||||
*
|
||||
|
|
|
|||
|
|
@ -31,13 +31,12 @@ import com.sun.javadoc.Tag;
|
|||
* RootDoc wrapper that provides WrappedClassDoc instances instead of plain ClassDoc in order
|
||||
* to optimize the overall performance of UMLDoc.
|
||||
* @author wolf
|
||||
*
|
||||
*/
|
||||
public class WrappedRootDot implements RootDoc {
|
||||
public class WrappedRootDoc implements RootDoc {
|
||||
RootDoc wrapped;
|
||||
ClassDoc[] wrappedClassDocs;
|
||||
WrappedClassDoc[] wrappedClassDocs;
|
||||
|
||||
public WrappedRootDot(RootDoc wrapped) {
|
||||
public WrappedRootDoc(RootDoc wrapped) {
|
||||
this.wrapped = wrapped;
|
||||
ClassDoc[] classes = wrapped.classes();
|
||||
wrappedClassDocs = new WrappedClassDoc[classes.length];
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
<html>
|
||||
<body>
|
||||
<img src="./umlgraph.gif" />
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -40,6 +40,8 @@ import com.sun.javadoc.RootDoc;
|
|||
* the network of class releationships, so you are allowed to reuse it should
|
||||
* you
|
||||
* @author wolf
|
||||
*
|
||||
* @depend - - - DevNullWriter
|
||||
*/
|
||||
public class ContextMatcher implements ClassMatcher {
|
||||
ClassGraphHack cg;
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@ import com.sun.tools.doclets.standard.Standard;
|
|||
* runs the generation of dot files by UMLGraph
|
||||
* @author wolf
|
||||
*
|
||||
* @depend - - - WrappedClassDoc
|
||||
* @depend - - - WrappedRootDoc
|
||||
*/
|
||||
public class UmlDoc {
|
||||
/**
|
||||
|
|
@ -57,7 +59,7 @@ public class UmlDoc {
|
|||
opt.strictMatching = true;
|
||||
// root.printNotice(opt.toString());
|
||||
|
||||
root = new WrappedRootDot(root);
|
||||
root = new WrappedRootDoc(root);
|
||||
generatePackageDiagrams(root, opt, outputFolder);
|
||||
generateContextDiagrams(root, opt, outputFolder);
|
||||
} catch(Throwable t) {
|
||||
|
|
|
|||
|
|
@ -31,9 +31,9 @@ import com.sun.javadoc.RootDoc;
|
|||
|
||||
/**
|
||||
* Doclet API implementation
|
||||
* @depend - - * OptionProvider
|
||||
* @depend - - * Options
|
||||
* @depend - - * View
|
||||
* @depend - - - OptionProvider
|
||||
* @depend - - - Options
|
||||
* @depend - - - View
|
||||
* @depend - - - ClassGraph
|
||||
* @depend - - - Version
|
||||
*
|
||||
|
|
|
|||
|
|
@ -31,13 +31,12 @@ import com.sun.javadoc.Tag;
|
|||
* RootDoc wrapper that provides WrappedClassDoc instances instead of plain ClassDoc in order
|
||||
* to optimize the overall performance of UMLDoc.
|
||||
* @author wolf
|
||||
*
|
||||
*/
|
||||
public class WrappedRootDot implements RootDoc {
|
||||
public class WrappedRootDoc implements RootDoc {
|
||||
RootDoc wrapped;
|
||||
ClassDoc[] wrappedClassDocs;
|
||||
WrappedClassDoc[] wrappedClassDocs;
|
||||
|
||||
public WrappedRootDot(RootDoc wrapped) {
|
||||
public WrappedRootDoc(RootDoc wrapped) {
|
||||
this.wrapped = wrapped;
|
||||
ClassDoc[] classes = wrapped.classes();
|
||||
wrappedClassDocs = new WrappedClassDoc[classes.length];
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
<html>
|
||||
<body>
|
||||
<img src="./umlgraph.gif" />
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in New Issue