Package pspdash

Examples of pspdash.PSPProperties$Listener


    }

    /** Get the list of phases under the current generic project. */
    private String[] getPhaseList() {
        String prefix = (String) env.get("PATH_TRANSLATED");
        PSPProperties props = getPSPProperties();
        PropertyKey self = props.findExistingKey(prefix);
        int numPhases = props.getNumChildren (self);
        showFriendlyHelp = (numPhases == 2);
        String [] result = new String[numPhases];
        while (numPhases-- > 0)
            result[numPhases] = props.getChildKey(self, numPhases).name();

        return result;
    }
View Full Code Here


    }

    /** Get the list of PSP3 cycle names under the current PSP3 task. */
    private String[] getCycleList() {
        String prefix = (String) env.get("PATH_TRANSLATED");
        PSPProperties props = getPSPProperties();
        PropertyKey self = props.findExistingKey(prefix);
        // WARNING: the "4" on the next line is a magic number which
        // depends on the structure of the PSP3 template.
        int numCycles = props.getNumChildren (self) - 4;
        if (numCycles < 0) numCycles = 0;
        String [] result = new String[numCycles];
        while (numCycles-- > 0)
            // WARNING: the "3" on the next line is a magic number which
            // depends on the structure of the PSP3 template.
            result[numCycles] = props.getChildKey(self, numCycles+3).name();

        return result;
    }
View Full Code Here

TOP

Related Classes of pspdash.PSPProperties$Listener

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.