Package net.sourceforge.processdash.process

Examples of net.sourceforge.processdash.process.ScriptID$NameResolvingWorker


                scriptMaps.put(ID, (v = new Vector()));

            if (v.size() == 0) {
                String planSummaryName = Resources.getDashBundle
                    ("Templates").format("Plan_Summary_Name_FMT", ID);
                v.addElement(new ScriptID("dash/summary.shtm", null,
                                          planSummaryName));
                debug("adding default HTML form for "+ID);
            }

        } catch (ClassCastException cce) {}
View Full Code Here


        Vector scriptMap = (Vector) scriptMaps.get(templateID);
        if (scriptMap == null) return null;

        Vector<ScriptID> result = new Vector<ScriptID>();
        for (int i = 0;   i < scriptMap.size();   i++)
            result.addElement(new ScriptID((ScriptID) scriptMap.elementAt(i),
                                           path));
        return result;
    }
View Full Code Here

  public Vector<ScriptID> getScriptIDs(PropertyKey key) {
    Vector<ScriptID> v = new Vector<ScriptID>();
    Prop val;
    String scriptFile, templateID;
    PropertyKey tempKey = key;
    ScriptID defaultScript = null;

    // Find and add all applicable scripts.
    while (tempKey != null) {
      val = pget(tempKey);

      if (defaultScript == null) {
        scriptFile = val.getScriptFile();
        if (scriptFile != null && scriptFile.length() != 0)
          defaultScript = new ScriptID(scriptFile, datapath(tempKey), null);
      }

      if (Prop.hasValue(templateID = val.getID())) {
        Vector<ScriptID> scriptIDs = TemplateLoader.getScriptIDs
          (templateID, datapath(tempKey));
View Full Code Here

            String text = HTMLUtils.unescapeEntities(m.group(2));
            if (text == null || text.trim().length() == 0
                    || text.startsWith("http"))
                text = null;

            ScriptID s = new ScriptID(href, path, text);
            result.add(s);
        }
    }
View Full Code Here

            }
            return false;
        }

        ScriptID getScriptID(String path) {
            return new ScriptID(uri, path, displayName);
        }
View Full Code Here

TOP

Related Classes of net.sourceforge.processdash.process.ScriptID$NameResolvingWorker

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.