void read(AlgReader reader) {
        compileCommand = null;
        source = reader.getValue(name, "path").trim() + reader.getValue(name, "source").trim();
        if (source.startsWith(AlgReader.undefined) || source.startsWith(AlgReader.empty)) {
            //setting.setLocked(false);
            setString("");
            return;
        }
        int index = source.lastIndexOf('.');
        String ext = (index < 0) ? "" : source.substring(index);
        if (ext.equals(".cpp") || ext.equals(".cc"))
            compileCommand = "g++ " + source + " -o " + Model.binaryPath
                    + " -O2 -std=c++0x -Wno-unused-result";
        if (ext.equals(".bin"))
            compileCommand = "cp " + source + " " + Model.binaryPath;
        setString(reader.getValue(name, "name").trim());
    }