Package net.sourceforge.processdash

Examples of net.sourceforge.processdash.DashboardContext


            xml = null;
        }
    }

    private void writeTimingState() {
        DashboardContext ctx = getDashboardContext();
        DashboardTimeLog tl = (DashboardTimeLog) ctx.getTimeLog();
        TimeLoggingModel tlm = tl.getTimeLoggingModel();
        String path = tlm.getActiveTaskModel().getPath();
        String isTiming = tlm.isPaused() ? "false" : "true";

        out.write("Content-Type: text/plain\r\n\r\n");
View Full Code Here


        String result = getPrefix();

        // if the request did not supply a prefix, use the path of the currently
        // selected task
        if (!StringUtils.hasValue(result)) {
            DashboardContext ctx = getDashboardContext();
            DashboardTimeLog tl = (DashboardTimeLog) ctx.getTimeLog();
            TimeLoggingModel tlm = tl.getTimeLoggingModel();
            result = tlm.getActiveTaskModel().getPath();
        }

        return result;
View Full Code Here

    protected List<ChartItem> writeCharts(EVTaskList evModel,
            EVSchedule schedule, EVTaskFilter filter, boolean hideNames,
            int width, int height, ChartListPurpose p,
            String singleChartId, Map<String, String> chartHelpMap) {
        DashboardContext ctx = getDashboardContext();
        Object exportMarker = parameters.get("EXPORT");
        boolean filterInEffect = (filter != null);
        boolean isRollup = (evModel instanceof EVTaskListRollup);
        List<ChartItem> chartList = TaskScheduleChartUtil.getChartsForTaskList(
            evModel.getID(), getDataRepository(), filterInEffect, isRollup,
View Full Code Here

TOP

Related Classes of net.sourceforge.processdash.DashboardContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.