Examples of DashboardTimeLog


Examples of net.sourceforge.processdash.log.time.DashboardTimeLog

    public static void startTiming() {
        SwingUtilities.invokeLater(new Runnable() {
                public void run() { startTimingImpl(); } } );
    }
    private static void startTimingImpl() {
        DashboardTimeLog tl = (DashboardTimeLog) dash.getTimeLog();
        tl.getTimeLoggingModel().startTiming()
    }
View Full Code Here

Examples of net.sourceforge.processdash.log.time.DashboardTimeLog

    public static void stopTiming()  {
        SwingUtilities.invokeLater(new Runnable() {
                public void run() { stopTimingImpl(); } } );
    }
    private static void stopTimingImpl()  {
        DashboardTimeLog tl = (DashboardTimeLog) dash.getTimeLog();
        tl.getTimeLoggingModel().stopTiming();
    }
View Full Code Here

Examples of net.sourceforge.processdash.log.time.DashboardTimeLog

        if (createDatabasePlugin())
            pt.click("Created and started the database plugin");

        // create the time log
        try {
            this.timeLog = new DashboardTimeLog(new File(property_directory), data, props);
            this.timeLog.getTimeLoggingModel().setActiveTaskModel(activeTaskModel);
            DashboardTimeLog.setDefault(this.timeLog);
        } catch (IOException e1) {
            logErr("Unable to read time log", e1);
            displayStartupIOError("Errors.Read_File_Error.Time_Log",
View Full Code Here

Examples of net.sourceforge.processdash.log.time.DashboardTimeLog

        // 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

Examples of net.sourceforge.processdash.log.time.DashboardTimeLog

        }
    }

    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");
        out.write("activeTask=" + path + "\r\n");
View Full Code Here

Examples of net.sourceforge.processdash.log.time.DashboardTimeLog

        if (hier != null) {
            if (time_frame != null) {
                time_frame.setSelectedNode(phase);
                time_frame.show();
            } else {
                DashboardTimeLog timeLog =
                    (DashboardTimeLog) parent.getTimeLog();
                TimeLoggingApprover approver = timeLog;
                time_frame = new TimeLogEditor(timeLog, hier, approver, phase);
                parent.addApplicationEventListener(time_frame);
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.