![]() |
VR-Forces 4.6.1 Class Documentation
|
Logic class for editing definition schema. More...
Public Member Functions | |
| DtSchemaEditorLogic (DtDe &de, DtInstanceEditorInterface *instanceEditor, DtMapEditorInterface *mapEditor, DtPersistenceControlsInterface *toolbar) | |
| CTOR. | |
| virtual | ~DtSchemaEditorLogic () |
| DTOR. | |
Protected Member Functions | |
| virtual void | createSchema (const std::string &schemaName) |
| virtual void | copySchema (const std::string &oldName, const std::string &newName) |
| virtual void | deleteSchema (const std::vector< std::string > &schemaName) |
| virtual void | setSelectedSchema (const std::string &schemaName) |
| virtual void | setupSchemas () |
| virtual void | renameParameter (const std::string &oldName, const std::string &newName) |
| virtual void | renameSchema (const std::string &oldName, const std::string &newName) |
| virtual void | modifyValue (const std::string &key, const std::string &val, int index) |
| virtual void | deleteValue (const std::string &key) |
| virtual void | schemaRestored (const DtSettingsBackup *) |
| Called when a schema is restored, reset gui if the restored schema is the one being displayed. | |
| void | setupInstances () |
| setup the instances. | |
| void | setupMap () |
| virtual void | onExport () |
| Called when user wants to export contents of selected schema to a file. | |
| virtual void | onExportSelected () |
| Called when a user wants to export selected items of the current schema to a file. | |
| virtual void | onExportFilenameChosen (const std::string &) |
| Called when the export filename has been chosen. | |
| virtual void | onExportSelectedChosen (const std::string &) |
| Called when the export filename has been chosen. | |
| virtual void | onImport () |
| Called when a user wants to import (replace) selected schema with contents of selected file. | |
| virtual void | onImportFilenameChosen (const std::string &) |
| Called when the import filename has been chose. | |
| virtual void | onMerge () |
| Called when a user wants to merge selected file into currently selected schema. | |
| virtual void | onMergeFilenameChosen (const std::string &) |
| Called when the merge filename has been chose. | |
Static Protected Member Functions | |
| static std::string | parameterTypeToString (unsigned int type) |
| static unsigned int | parameterTypeFromString (const std::string &str) |
| static std::string | requiredToString (bool required) |
| static bool | requiredFromString (const std::string &str) |
Logic class for editing definition schema.
| makVrv::DtSchemaEditorLogic::DtSchemaEditorLogic | ( | DtDe & | de, |
| DtInstanceEditorInterface * | instanceEditor, | ||
| DtMapEditorInterface * | mapEditor, | ||
| DtPersistenceControlsInterface * | toolbar | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Called when a schema is restored, reset gui if the restored schema is the one being displayed.
|
protected |
setup the instances.
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protectedvirtual |
Called when user wants to export contents of selected schema to a file.
|
protectedvirtual |
Called when a user wants to export selected items of the current schema to a file.
|
protectedvirtual |
Called when the export filename has been chosen.
Will export contents of schema to given file
|
protectedvirtual |
Called when the export filename has been chosen.
Will export selected items to the given file
|
protectedvirtual |
Called when a user wants to import (replace) selected schema with contents of selected file.
|
protectedvirtual |
Called when the import filename has been chose.
Will import contents of file to selected schema
|
protectedvirtual |
Called when a user wants to merge selected file into currently selected schema.
Merge will replace or add, not delete items
|
protectedvirtual |
Called when the merge filename has been chose.
Will merge contents of file to selected schema
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |