use of net.sourceforge.processdash.ui.lib.HTMLTreeTableWriter in project processdash by dtuma.
the class EVReport method writeTaskTree.
private static void writeTaskTree(Writer out, EVTaskList taskList, EVTaskFilter filter, EVReportSettings settings, String namespace) throws IOException {
TreeTableModel tree = taskList.getMergedModel(true, settings.shouldMergePreserveLeaves(), filter);
HTMLTreeTableWriter writer = new HTMLTreeTableWriter();
customizeTaskTableWriter(writer, taskList, null, settings, false);
writer.setTreeName(namespace + "t");
writer.setExpandAllTooltip(resources.getHTML("Report.Expand_All_Tooltip"));
writer.setTableAttributes("class='needsTreeSortLinks' id='" + namespace + "task' border='1'");
writer.setShowDepth(Settings.getInt("ev.showHierarchicalDepth", 3) - 1);
writer.writeTree(out, tree);
}
Aggregations