rem: var cmpName = cview.rdf.GetTarget(cmpNode, cview.rdf.resProgID); 
add: var cmpName = cview.rdf.GetTarget(cmpNode, cview.rdf.resContractID); 
context: function filterComponents(){    cview.rdf.setTreeRoot ("component-list", cview.rdf.resNullRoot);        cview.visibleComponents = 0;    var cmps = cview.rdf.GetTargets (cview.rdf.resRoot, cview.rdf.resCmp);    while (cmps.hasMoreElements())    {        var cmpNode = cmps.getNext().QueryInterface(nsIRDFResource);        var cmpName = cview.rdf.GetTarget(cmpNode, cview.rdf.resProgID);        if (cmpName)        {            cmpName = cmpName.QueryInterface(nsIRDFLiteral);            cmpName = cmpName.Value;        }            else        {            dd ("** NODE WITHOUT NAME ARC in filterComponents **");            continue;        }                switch (cview.componentMode)        {            case "all":                cview.rdf.Change (cmpNode, cview.rdf.resShow,                                  cview.rdf.litTrue);                cview.visibleComponents++;                break;            case "contains":                if (cmpName.search(cview.componentFilter) != -1)                {                    cview.rdf.Change (cmpNode, cview.rdf.resShow,                                      cview.rdf.litTrue);                    cview.visibleComponents++;                }                else                    cview.rdf.Change (cmpNode, cview.rdf.resShow,                                      cview.rdf.litFalse);                break;            case "starts-with":                if (cmpName.search(cview.componentFilter) == 0)                {                    cview.rdf.Change (cmpNode, cview.rdf.resShow,                                      cview.rdf.litTrue);                    cview.visibleComponents++;                }                else                    cview.rdf.Change (cmpNode, cview.rdf.resShow,                                      cview.rdf.litFalse);                break;        }            }        cview.rdf.setTreeRoot ("component-list", cview.rdf.resRoot);    refreshLabels();    }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6cc70ebd6c97bd0b2fe48c31f579e855387ced9d/cview-static.js/clean/extensions/cview/resources/content/cview-static.js