Calls the factory to create a template of the specified type and keep. Responsible for delete the created template. More...
#include <TemplateEditor.h>
Public Member Functions | |
virtual te::layout::AbstractTemplate * | getTemplate () |
TemplateEditor (EnumType *type, std::string path) | |
virtual | ~TemplateEditor () |
Protected Attributes | |
te::layout::AbstractTemplate * | m_template |
Calls the factory to create a template of the specified type and keep. Responsible for delete the created template.
Definition at line 49 of file TemplateEditor.h.
te::layout::TemplateEditor::TemplateEditor | ( | EnumType * | type, |
std::string | path | ||
) |
Definition at line 36 of file TemplateEditor.cpp.
References te::common::Singleton< Context >::getInstance(), m_template, and te::layout::AbstractTemplateFactory::make().
|
virtual |
Definition at line 43 of file TemplateEditor.cpp.
|
virtual |
Definition at line 52 of file TemplateEditor.cpp.
Referenced by te::layout::Scene::exportPropertiesToTemplate(), and te::layout::Scene::importTemplateToProperties().
|
protected |
Definition at line 61 of file TemplateEditor.h.
Referenced by TemplateEditor().