![]() |
VR-Forces 4.6.1 Class Documentation
|
Logic class for the DtElementEditorWidget. More...

Public Member Functions | |
| DtElementEditorLogic (DtElementDefinitionTypeManager::ElementDefinitionType type, DtDe &de, DtElementEditorInterface *iface, DtPersistenceControlsInterface *persistenceControls, DtPage *page=0) | |
| CTOR. | |
| virtual | ~DtElementEditorLogic () |
| DTOR. | |
| void | selectElement (const DtUnicode &elementName) |
| Populate the visualizer definitions for a element definition. | |
| virtual void | checkIfModified () |
| check if the element definitions have changed since the start up | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Protected Member Functions | |
| void | selectVisualizerDefinition (int index) |
| void | selectAttribute (int index, const std::string &attrName) |
| void | deselectAttribute (int index, const std::string &attrName) |
| void | refreshElementDefinitions () |
| Populate the element definitions. | |
| void | refreshVisualizerDefinitionView () |
| void | clearElementSelection () |
| Called to clear the element. | |
| void | addVisualizerDefinition () |
| void | removeVisualizerDefinition (int index) |
| void | deselectVisualizerDefinition (int index) |
| void | addElement (const DtUnicode &name) |
| void | removeElement () |
| void | renameElement (const DtUnicode &oldName, const DtUnicode &newName) |
| void | addAttributeRequested (int index) |
| void | removeAttribute (int index, const std::string &name) |
| void | removeLocalAttribute (int index, const std::string &name) |
| void | refreshAttribute (const DtUnicode &origin, int index, const std::string &name) |
| void | refreshModelSets () |
| void | updateAttributeEditorInterface (int index, const std::string &name, DtVisualizerAttributeEditorInterface *iface) |
| void | changeModelSet (int index) |
| virtual void | on_import () |
| imports settings | |
| virtual void | on_restoreFactory () |
| restores factory settings | |
| virtual void | on_restoreStartup () |
| restores startup settings | |
| virtual void | on_export () |
| Starts export procedure by allowing user to select export file. | |
| virtual void | on_exportHier () |
| Starts export element definition hierarchy procedure by allowing user to select export file. | |
| virtual void | on_exportLeaves () |
| Starts export element definition leaf procedure by allowing user to select export file leaf = entity element with no children (bottom elements) | |
| virtual void | on_exportSelectedLeaves () |
| Starts export selected element definition leaf procedure by allowing user to select export file leaf = entity element with no children (bottom elements) | |
| virtual void | on_merge () |
| Starts merge procedure by allowing user to select merge file. | |
| virtual void | on_exportSelected () |
| Starts export preselected items procedure by allowing user to select export file. | |
| virtual void | on_importFilePathChosen (const std::string &filePath) |
| Replaces hierarchy with contents of file. | |
| virtual void | on_exportFilePathChosen (const std::string &filePath) |
| Saves hierarchy to file. | |
| virtual void | on_mergeFilePathChosen (const std::string &filePath) |
| Merges hierarchy from file. | |
| virtual void | on_exportSelectedFilePathChosen (const std::string &filePath) |
| Saves selected hierarchy to file. | |
| virtual void | on_exportHierFilePathChosen (const std::string &filePath) |
| Saves hierarchy (but not leaf elements) to file. | |
| virtual void | on_exportLeafFilePathChosen (const std::string &filePath) |
| Saves leaf element (but not hierarchy) to file. | |
| virtual void | on_exportSelectedLeafFilePathChosen (const std::string &filePath) |
| Saves Selected leaf element (but not hierarchy) to file. | |
| virtual void | on_saveDefaults () |
| Save the hierarchy and leaves to default location (usually appData/definitions/EntityElementDefinitions) | |
| virtual bool | shouldDisableSave () |
| Should we disable the save button. | |
| virtual void | mapTypeToDirectoryPath (DtElementDefinitionTypeManager::ElementDefinitionType type) |
| map the ElementDefinitionType type to the correct folder path | |
| virtual void | slot_managerAboutToBeDeleted () |
| Called when the element definition manager this class represents is deleted. | |
| virtual DtElementDefinitionManager & | elementDefinitionManager () |
| Returns the element definition manager for the given manager type of this dialog. | |
Logic class for the DtElementEditorWidget.
| makVrv::DtElementEditorLogic::DtElementEditorLogic | ( | DtElementDefinitionTypeManager::ElementDefinitionType | type, |
| DtDe & | de, | ||
| DtElementEditorInterface * | iface, | ||
| DtPersistenceControlsInterface * | persistenceControls, | ||
| DtPage * | page = 0 |
||
| ) |
CTOR.
|
virtual |
DTOR.
| void makVrv::DtElementEditorLogic::selectElement | ( | const DtUnicode & | elementName | ) |
Populate the visualizer definitions for a element definition.
|
virtual |
check if the element definitions have changed since the start up
|
protected |
|
protected |
|
protected |
|
protected |
Populate the element definitions.
|
protected |
|
protected |
Called to clear the element.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
imports settings
|
protectedvirtual |
restores factory settings
|
protectedvirtual |
restores startup settings
|
protectedvirtual |
Starts export procedure by allowing user to select export file.
|
protectedvirtual |
Starts export element definition hierarchy procedure by allowing user to select export file.
|
protectedvirtual |
Starts export element definition leaf procedure by allowing user to select export file leaf = entity element with no children (bottom elements)
|
protectedvirtual |
Starts export selected element definition leaf procedure by allowing user to select export file leaf = entity element with no children (bottom elements)
|
protectedvirtual |
Starts merge procedure by allowing user to select merge file.
|
protectedvirtual |
Starts export preselected items procedure by allowing user to select export file.
|
protectedvirtual |
Replaces hierarchy with contents of file.
|
protectedvirtual |
Saves hierarchy to file.
|
protectedvirtual |
Merges hierarchy from file.
|
protectedvirtual |
Saves selected hierarchy to file.
|
protectedvirtual |
Saves hierarchy (but not leaf elements) to file.
|
protectedvirtual |
Saves leaf element (but not hierarchy) to file.
|
protectedvirtual |
Saves Selected leaf element (but not hierarchy) to file.
|
protectedvirtual |
Save the hierarchy and leaves to default location (usually appData/definitions/EntityElementDefinitions)
|
protectedvirtual |
Should we disable the save button.
|
protectedvirtual |
map the ElementDefinitionType type to the correct folder path
|
protectedvirtual |
Called when the element definition manager this class represents is deleted.
This will set the backup in the persistent controls to NULL as the backup is deleted when the manager is deleted
|
protectedvirtual |
Returns the element definition manager for the given manager type of this dialog.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |