![]() |
VR-Forces 4.3 Class Documentation
|
The logic for editing model definitions. More...

Public Member Functions | |
| DtModelDefinitionEditorLogic (DtDe &de, DtInstanceEditorInterface *instanceInterface, DtModelDefinitionEditorInterface *modelDefInterface, DtMapEditorInterface *mapInterface, DtPersistenceControlsInterface *toolbar) | |
| CTOR. | |
| virtual | ~DtModelDefinitionEditorLogic () |
| DTOR. | |
Protected Member Functions | |
| virtual void | createModelDefinition (const std::string &definitionName, const std::string &schema) |
| virtual void | copyModelDefinition (const std::string &definitionName, const std::string &newName) |
| virtual void | deleteModelDefinition (const std::string &definitionName) |
| virtual void | setSelectedDefinition (const std::string &definitionName, const std::string &schema) |
| virtual void | setDefinitionFilter (const std::string &schema) |
| virtual void | renameInstance (const std::string &oldName, const std::string &definitionName, int) |
| virtual void | setDefinitionSchema (const std::string &schema) |
| virtual void | renameParameter (const std::string &oldName, const std::string &newName) |
| virtual void | modifyValue (const std::string &key, const std::string &value) |
| virtual void | deleteValue (const std::string &key) |
| std::string | generateDefinitionName (const std::string &rootName) const |
| void | setupInstances () |
| bool | isDefinitionValid (const DtModelDefinition &definition) |
| Get whether a definition is valid or not. | |
| void | setupFilters () |
| void | setupSchema () |
| void | setupModelDefinition () |
| 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. | |
| virtual void | modelDefinitionsRestored (const DtSettingsBackup *s) |
| Called when restored, restore gui. | |
| virtual void | schemaChanged (DtSettingsChangeObject *) |
| Called when something about the schema has changed. Resets filters. | |
| virtual DtModelDefinitionManager & | definitionManager () |
| Returns model definition dictionary being used. | |
| virtual const DtModelDefinitionManager & | definitionManager () const |
| virtual void | addModelDefinition (const DtModelDefinition &newDef) |
| Adds a new model definition into the system. | |
| virtual void | renameModelDefinition (const DtModelDefinition &old, const DtModelDefinition &newDef) |
| Renames model definition. | |
Protected Attributes | |
| DtDe & | myDe |
| DtSignalConnectionManager | myConnections |
| DtInstanceEditorInterface * | myInstanceInterface |
| DtModelDefinitionEditorInterface * | myModelDefinitionInterface |
| DtMapEditorInterface * | myMapInterface |
| DtPersistenceControlsInterface * | myToolbarInterface |
| std::string | mySelectedDefinition |
| std::string | myFilter |
| std::string | mySchema |
The logic for editing model definitions.
| makVrv::DtModelDefinitionEditorLogic::DtModelDefinitionEditorLogic | ( | DtDe & | de, |
| DtInstanceEditorInterface * | instanceInterface, | ||
| DtModelDefinitionEditorInterface * | modelDefInterface, | ||
| DtMapEditorInterface * | mapInterface, | ||
| DtPersistenceControlsInterface * | toolbar | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
Get whether a definition is valid or not.
|
protected |
|
protected |
|
protected |
|
protected |
|
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
|
protectedvirtual |
Called when restored, restore gui.
|
protectedvirtual |
Called when something about the schema has changed. Resets filters.
|
protectedvirtual |
Returns model definition dictionary being used.
Reimplemented in makVrv::DtModelDefinitionInstanceEditorLogic.
|
protectedvirtual |
Reimplemented in makVrv::DtModelDefinitionInstanceEditorLogic.
|
protectedvirtual |
Adds a new model definition into the system.
Reimplemented in makVrv::DtModelDefinitionInstanceEditorLogic.
|
protectedvirtual |
Renames model definition.
Reimplemented in makVrv::DtModelDefinitionInstanceEditorLogic.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |