19 package org.turro.dossier.graph;
21 import org.zkoss.zul.Div;
22 import org.zkoss.zul.Hlayout;
23 import org.zkoss.zul.Vlayout;
40 getChildren().clear();
41 if(target !=
null) appendChild(fillTarget(target));
45 Vlayout layout =
new Vlayout();
47 layout.setStyle(
"overflow:visible");
50 layout.setSclass(
"vertex-column vertex-group");
51 layout.appendChild(
new VertexLabel(target));
52 if(!target.
getIncoming().isEmpty()) layout.appendChild(fillSources(target));
56 private Hlayout fillSources(IssueVertex target) {
57 Hlayout lane =
new Hlayout();
58 lane.setSclass(
"vertex-column vertex-lane");
59 for(IssueVertex source : target.getIncoming()) {
60 lane.appendChild(fillTarget(source));
Set< IssueVertex > getIncoming()
void setTarget(IssueVertex target)