protected function prepareView()
    {
        if ($this->renderSettingFactory) {
            $this->objView = $this->renderSettingFactory->createCollection($this->objMetaModel, $this->intView);
        } else {
            $this->objView = $this->objMetaModel->getView($this->intView);
        }

        if ($this->objView) {
            $this->objTemplate       = new Template($this->objView->get('template'));
            $this->objTemplate->view = $this->objView;
        } else {
            // Fallback to default.
            $this->objTemplate = new Template('metamodel_full');
        }
    }