if (entry instanceof Compound) { return (new DeployEntry(((Compound) entry).sfResolveWithParser(SmartFrogCoreKeys.SF_ROOT), this.showRootProcessName,this.showCDasChild)); } else { return (new DeployEntry(((Prim) entry).sfResolveWithParser(SmartFrogCoreKeys.SF_ROOT),this.showRootProcessName,this.showCDasChild));
if (entry instanceof Prim) { return (new DeployEntry(((Prim) entry).sfResolveWithParser(SmartFrogCoreKeys.SF_ROOT),this.showRootProcessName,this.showCDasChild));
    public DeployEntry getRoot() {        //System.out.println("getRoot():"+this.toString());        //return "ROOT";        // Needs to the the real ROOT of the system        try {            if (entry instanceof Compound) {                return (new DeployEntry(((Compound) entry).sfResolveWithParser(SmartFrogCoreKeys.SF_ROOT), this.showRootProcessName,this.showCDasChild));            } else {                return (new DeployEntry(((Prim) entry).sfResolveWithParser(SmartFrogCoreKeys.SF_ROOT),this.showRootProcessName,this.showCDasChild));            }            //return entry;        } catch (Exception ex) {            //System.out.println(ex.toString());            ex.printStackTrace();        }        return null;        //Local root!    }