Search in sources :

Example 1 with HTMLTreeTableWriter

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);
}
Also used : HTMLTreeTableWriter(net.sourceforge.processdash.ui.lib.HTMLTreeTableWriter) TreeTableModel(net.sourceforge.processdash.ui.lib.TreeTableModel)

Aggregations

HTMLTreeTableWriter (net.sourceforge.processdash.ui.lib.HTMLTreeTableWriter)1 TreeTableModel (net.sourceforge.processdash.ui.lib.TreeTableModel)1