protected function addSampleTheme() {
        // replacements
        $values = array(
            '{themeLabel}' => $this->label . ' default theme',
            '{themeId}' => StringUtils::camelize($this->label . ' default theme'),
            '{platformTheme}' => StringUtils::camelize($this->label . ' default theme', true)
        );
        $pathValues = array();
        foreach($values as $key => $value) {
            $pathValues[trim($key, '{}')] = $value;
        }

        // copy templates
        $samplePath = \common_ext_ExtensionsManager::singleton()->getExtensionById('taoDevTools')->getDir()
            .'models'.DIRECTORY_SEPARATOR.'templates'.DIRECTORY_SEPARATOR;
        $paths = array(
            array('model','theme','*.sample'),
            array('scripts','install','*.sample'),
            array('views','templates','themes','platform','themeId','*.sample'),
            array('views','scss','themes','items','*.sample'),
            array('views','scss','themes','platform','themeId','*.sample')
        );

        $templates = array();
        foreach($paths as $path) {
            $templates = array_merge($templates, glob($samplePath.implode(DIRECTORY_SEPARATOR, $path)));
        }
        
        foreach($templates as $template) {
            $template = \tao_helpers_File::getRelPath($samplePath, $template);
            $template = substr($template, 0, strrpos($template, '.'));
            $this->copyFile($template, str_replace(array_keys($pathValues), $pathValues, $template), $values);
        }
    }