Package pspdash

Examples of pspdash.PropertyKey


    protected void writeContents() throws IOException {
        String prefix = getPrefix();
        if (prefix == null) prefix = "";

        PSPProperties props = getPSPProperties();
        PropertyKey key = props.findExistingKey(prefix);

        out.write("<HTML><HEAD>");
        out.write("<link rel=stylesheet type='text/css' href='/style.css'>");
        out.write("<TITLE>Hierarchy");
        if (prefix.length() > 0) {
            out.write(" - ");
            out.write(prefix);
        }
        out.write("</TITLE></HEAD><BODY>");
        if (prefix.length() > 0) {
            out.write("<B>");
            out.write(prefix);
            out.write("</B>");
        }

        PropertyKey child;
        for (int i=0;   i < props.getNumChildren(key);   i++)
            writeNode(props, props.getChildKey(key, i));

        Vector scripts = props.getScriptIDs(key);
        ScriptID script;
View Full Code Here


    /** 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();
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];
View Full Code Here

TOP

Related Classes of pspdash.PropertyKey

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.