use of net.sourceforge.processdash.ev.EVTaskFilter in project processdash by dtuma.
the class EVReport method writeChartsPage.
protected void writeChartsPage() {
String taskListDisplayName = EVTaskList.cleanupName(taskListName);
String taskListHTML = HTMLUtils.escapeEntities(taskListDisplayName);
String title = resources.format("Report.Charts_Title_FMT", taskListHTML);
EVTaskFilter taskFilter = settings.getEffectiveFilter(evModel);
boolean hideNames = settings.getBool(CUSTOMIZE_HIDE_NAMES);
StringBuffer header = new StringBuffer(SIMPLE_HEADER_HTML);
StringUtils.findAndReplace(header, TITLE_VAR, title);
if (taskFilter != null)
header.append(FILTER_HEADER_HTML);
out.print(header);
out.print("</head><body>");
out.print("<h1>");
out.print(title);
out.print("</h1>");
printFilterInfo(out, taskFilter, settings, false, false);
EVSchedule s = getEvSchedule(taskFilter);
String singleChartId = getParameter(SINGLE_CHART_PARAM);
if (singleChartId == null)
writeChartsGalleryPage(taskFilter, hideNames, s);
else
writeSingleChartPage(taskFilter, hideNames, s, singleChartId);
out.print("</body></html>\n");
}
Aggregations