if (entry instanceof Compound) {
if ((entry instanceof Compound)||(showCDasChild && (entry instanceof ComponentDescription))) {
    public boolean isLeaf() {        if (entry instanceof Compound) {            //System.out.println(this.toString()+": NO Leaf");            return false;        } else {            //System.out.println(this.toString()+": Leaf");            return true;        }    }