Package net.sourceforge.processdash.util

Examples of net.sourceforge.processdash.util.ProfTimer.click()


        InternalSettings.loadLocaleSpecificDefaults(resources);
        FormatUtil.setDateFormats(Settings.getVal("dateFormat"),
                Settings.getVal("dateTimeFormat"));
        Translator.init();
        LookAndFeelSettings.loadLocalizedSettings();
        pt.click("Set locale specific defaults");
        data.setDatafileSearchURLs(TemplateLoader.getTemplateURLs());
        pt.click("Set datafile search URLs");
        versionNumber = TemplateLoader.getPackageVersion("pspdash"); // legacy
        logger.info("Process Dashboard version " + versionNumber);
View Full Code Here


                Settings.getVal("dateTimeFormat"));
        Translator.init();
        LookAndFeelSettings.loadLocalizedSettings();
        pt.click("Set locale specific defaults");
        data.setDatafileSearchURLs(TemplateLoader.getTemplateURLs());
        pt.click("Set datafile search URLs");
        versionNumber = TemplateLoader.getPackageVersion("pspdash"); // legacy
        logger.info("Process Dashboard version " + versionNumber);

        setupWindowTitle(title);
       
View Full Code Here

        setupWindowTitle(title);
       
        // initialize the content roots for the http server.
        webServer.setRoots(TemplateLoader.getTemplateURLs());
        WebServer.setOutputCharset(getWebCharset());
        pt.click("Set web server roots");

        BetaVersionSetup.runSetup(property_directory);
        pt.click("Ran beta version setup");

        // determine if corrupt Data Files are present in the pspdata directory
View Full Code Here

        webServer.setRoots(TemplateLoader.getTemplateURLs());
        WebServer.setOutputCharset(getWebCharset());
        pt.click("Set web server roots");

        BetaVersionSetup.runSetup(property_directory);
        pt.click("Ran beta version setup");

        // determine if corrupt Data Files are present in the pspdata directory
        // and take steps to repair them.
        brokenData = new BrokenDataFileHandler();
        brokenData.findCorruptFiles(property_directory);
View Full Code Here

        // determine if corrupt Data Files are present in the pspdata directory
        // and take steps to repair them.
        brokenData = new BrokenDataFileHandler();
        brokenData.findCorruptFiles(property_directory);
        pt.click("Checked for lost data files");
        if (brokenData.repairCorruptFiles(this) == false) {

            // if the lost data files could not be repaired, exit the dashboard
            logger.severe
            ("Dashboard was terminated due to user request. " +
View Full Code Here

        }
        data.setNodeComparator(props);
        registerHierarchyDataElement();
        data.pinElement(DashHierarchy.DATA_REPOSITORY_NAME);
        activeTaskModel = new DefaultActiveTaskModel(props);
        pt.click("Loaded dashboard hierarchy");

        // Make certain we know whether this dashboard is operating as a
        // team dashboard or a personal dashboard.
        configureTeamOrPersonalDatasetMode();
View Full Code Here

        // team dashboard or a personal dashboard.
        configureTeamOrPersonalDatasetMode();

        // create the database plugin
        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);
View Full Code Here

            logErr("Unable to read time log", e1);
            displayStartupIOError("Errors.Read_File_Error.Time_Log",
                    property_directory + WorkingTimeLog.TIME_LOG_FILENAME, e1);
            System.exit(0);
        }
        pt.click("Initialized time log");

        // possibly reload cached data definitions.
        File serializedDefinitions = new File(property_directory, "defns.ser");
        if (serializedDefinitions.exists() &&
            (serializedDefinitions.lastModified() >
View Full Code Here

        } catch (Exception exc) {
          logErr("when generating default datafile, caught exception", exc);
        }
        registerEnvironmentalData();
        pt.click("Opened data files");
        data.fixMisparentedData();
        pt.click("Fixed misparented data");
        timeLog.setTimingForbiddenPaths(getBrokenDataPaths());
        SizeEstimatingTemplate.migrateLegacyData(props, data);
View Full Code Here

          logErr("when generating default datafile, caught exception", exc);
        }
        registerEnvironmentalData();
        pt.click("Opened data files");
        data.fixMisparentedData();
        pt.click("Fixed misparented data");
        timeLog.setTimingForbiddenPaths(getBrokenDataPaths());
        SizeEstimatingTemplate.migrateLegacyData(props, data);

        try {
            objectCache =
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.