Search in sources :

Example 6 with EVTaskFilter

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");
}
Also used : EVSchedule(net.sourceforge.processdash.ev.EVSchedule) EVTaskFilter(net.sourceforge.processdash.ev.EVTaskFilter)

Aggregations

EVTaskFilter (net.sourceforge.processdash.ev.EVTaskFilter)6 EVSchedule (net.sourceforge.processdash.ev.EVSchedule)3 EVTaskListRollup (net.sourceforge.processdash.ev.EVTaskListRollup)2 IOException (java.io.IOException)1 Date (java.util.Date)1 SimpleData (net.sourceforge.processdash.data.SimpleData)1 DefaultTaskLabeler (net.sourceforge.processdash.ev.DefaultTaskLabeler)1 EVDependencyCalculator (net.sourceforge.processdash.ev.EVDependencyCalculator)1 EVHierarchicalFilter (net.sourceforge.processdash.ev.EVHierarchicalFilter)1 EVLabelFilter (net.sourceforge.processdash.ev.EVLabelFilter)1 EVMetrics (net.sourceforge.processdash.ev.EVMetrics)1 EVScheduleFiltered (net.sourceforge.processdash.ev.EVScheduleFiltered)1 EVTaskList (net.sourceforge.processdash.ev.EVTaskList)1 EVTaskListFilter (net.sourceforge.processdash.ev.EVTaskListFilter)1 EVTaskListGroupFilter (net.sourceforge.processdash.ev.EVTaskListGroupFilter)1 EVTaskListMerged (net.sourceforge.processdash.ev.EVTaskListMerged)1 TinyCGIException (net.sourceforge.processdash.net.http.TinyCGIException)1 UserFilter (net.sourceforge.processdash.team.group.UserFilter)1