mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-25 22:37:33 +00:00
Make AgoUML work
This commit is contained in:
parent
9660d3ced9
commit
c54983bb5e
@ -52,8 +52,8 @@ public class XmiClassDiagramArgo extends XmiClassDiagramAbstract implements XmlD
|
|||||||
|
|
||||||
addPackage(ownedElementRoot, classDiagram.getRootGroup());
|
addPackage(ownedElementRoot, classDiagram.getRootGroup());
|
||||||
|
|
||||||
// for (final Link link : classDiagram.getLinks())
|
for (final Link link : classDiagram.getLinks())
|
||||||
// addLink(link);
|
addLink(link);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -152,7 +152,6 @@ public class XmiClassDiagramArgo extends XmiClassDiagramAbstract implements XmlD
|
|||||||
private void addExtension(Link link, String assId) {
|
private void addExtension(Link link, String assId) {
|
||||||
final Element association = document.createElement("UML:Generalization");
|
final Element association = document.createElement("UML:Generalization");
|
||||||
association.setAttribute("xmi.id", assId);
|
association.setAttribute("xmi.id", assId);
|
||||||
association.setAttribute("namespace", CucaDiagramXmiMaker.getModel(classDiagram));
|
|
||||||
if (link.getLabel() != null)
|
if (link.getLabel() != null)
|
||||||
association.setAttribute("name", forXMI(link.getLabel()));
|
association.setAttribute("name", forXMI(link.getLabel()));
|
||||||
|
|
||||||
@ -181,8 +180,8 @@ public class XmiClassDiagramArgo extends XmiClassDiagramAbstract implements XmlD
|
|||||||
|
|
||||||
association.appendChild(child);
|
association.appendChild(child);
|
||||||
association.appendChild(parent);
|
association.appendChild(parent);
|
||||||
association.setAttribute("child", uidChild);
|
// association.setAttribute("child", uidChild);
|
||||||
association.setAttribute("parent", uidParent);
|
// association.setAttribute("parent", uidParent);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user