VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
makVrv::DtEntityMappingEditorLogic Class Reference

Logic for controlling how entity mappings are edited. More...

Inheritance diagram for makVrv::DtEntityMappingEditorLogic:
Inheritance graph
[legend]

Public Member Functions

 DtEntityMappingEditorLogic (DtDe &de, DtEntityMappingEditorInterface &editorInterface, DtEntityTypeMapEditorInterface &entityTypeMapInterface, DtMultiMapEditorInterface &mapInterface, DtPersistenceControlsInterface &toolbarInterface, DtPage *page=0)
 CTOR. More...
 
virtual ~DtEntityMappingEditorLogic ()
 DTOR. More...
 
- Public Member Functions inherited from makVrv::DtEntityTypeToElementDefinitionLogic
 DtEntityTypeToElementDefinitionLogic (DtDe &de, const DtElementDefinitionManager &elementManager, DtEntityMappingEditorInterface &editorInterface, DtEntityTypeMapEditorInterface &entityTypeMapInterface, DtMultiMapEditorInterface &mapInterface, DtPersistenceControlsInterface &toolbarInterface, DtEntityMappingEditorWidget::MappingType, DtPage *page=0)
 CTOR. More...
 
virtual ~DtEntityTypeToElementDefinitionLogic ()
 DTOR. More...
 
virtual void refreshPage ()
 
virtual void reloadFileLocationBar ()
 Fill the file location dropdown bar with all file name in directory. More...
 
virtual void checkIfModified ()
 check if the type mapping have changed since the start up More...
 

Additional Inherited Members

- Protected Member Functions inherited from makVrv::DtEntityTypeToElementDefinitionLogic
virtual void on_addValue (const std::string &name, const std::string &value, int index)
 
virtual void on_changeFilePath ()
 Changes the file location of the currently selected mapping to the file location currently displayed on the dropdown box. More...
 
virtual void on_changeFileFilter ()
 Filters out all mappings whose file names don't match the file name in the dropdown box. More...
 
virtual void on_changeValue (const std::string &name, const std::string &oldValue, const std::string &value, int index)
 
virtual void on_deleteValue (const std::vector< std::string > &name, const std::vector< std::string > &value)
 
virtual void on_renameValue (const std::string &oldName, const std::string &value, const std::string &newName)
 
virtual void on_renameValues (const std::string &oldName, const std::string &value, const std::string &newName)
 
virtual void on_itemSelected (const std::string &itemName)
 
virtual void on_import ()
 
virtual void on_export ()
 
virtual void on_exportSelected ()
 
virtual void on_merge ()
 
virtual void on_importFilePathChosen (const std::string &filePath)
 
virtual void on_mergeFilePathChosen (const std::string &filePath)
 
virtual void on_exportFilePathChosen (const std::string &filePath)
 
virtual void on_exportSelectedFilePathChosen (const std::string &filePath)
 
virtual void on_filterChanged (const DtUnicode &filter)
 
virtual void on_lookupChanged (bool filterByType, const std::string &filter)
 
virtual void on_resetFilters ()
 
virtual void on_saveDefaults ()
 
virtual void updatePossibleValues ()
 
virtual void updateSettings ()
 
virtual void completeFilter ()
 Reads the current filter, clears out all the currently displayed mappings, and only re adds the ones that match the filter. More...
 
virtual void rebuildDefinitions ()
 
virtual void buildFiltersFromDefinitions ()
 
virtual void askForNewElementDefinitionForEntityType (std::string entType)
 Called as a result of "<New...> being selected when creating a new item, if the user creates new definitions, asks for the new entity type again. More...
 
virtual void entityTypeMappingsRestored (const DtSettingsBackup *s)
 If the restored settings are displayed on this page, reseed the page with entity type mappings. More...
 
virtual void on_elementDefinitionRenamed (const DtUnicode &oldName, const DtUnicode &newName)
 Called when an element definition is renamed, update display. More...
 
virtual void loadMtlMappings (const std::string &filePath, bool queryForEach=false, bool excludeOldSettings=false)
 Import (stealth 6.2) mtl mappings. More...
 
virtual DtModelDefinition mtlToModelDefinition (const DtMtlModelMapReader::MtlModelMapping &mtlMapping)
 Create and add a model definition based on the mtl model map entry read. More...
 
virtual void addElementDefinition (const DtEntityType &type, const std::string &modelDefName)
 Add an element definition for the specified type and model def name. More...
 
virtual void queryForMtlMappingImportSettings (const std::string &filePath)
 
virtual void mapTypeToDirectoryPath ()
 map the MappingType type to the correct folder path More...
 
- Protected Attributes inherited from makVrv::DtEntityTypeToElementDefinitionLogic
DtDemyDe
 
DtSignalConnectionManager myConnections
 
const DtElementDefinitionManagermyElementManager
 
DtSharedSimulationSettingsManagermyManager
 
DtEntityMappingEditorInterfacemyEditorInterface
 
DtEntityTypeMapEditorInterfacemyEntityTypeMapInterface
 
DtMultiMapEditorInterfacemyMapInterface
 
DtPersistenceControlsInterfacemyToolbarInterface
 
QStringList myDefinitions
 
DtUnicode myParentDefinition
 
DtPagemyPage
 
DtEntityType myLookupType
 
DtEntityTypeMapperSettingsObjectInterfacemyMapperObject
 
std::string myDirectoryPath
 
DtEntityMappingEditorWidget::MappingType myMappingType
 
std::string myCurrentlySelectedKey
 

Detailed Description

Logic for controlling how entity mappings are edited.

Constructor & Destructor Documentation

makVrv::DtEntityMappingEditorLogic::DtEntityMappingEditorLogic ( DtDe de,
DtEntityMappingEditorInterface editorInterface,
DtEntityTypeMapEditorInterface entityTypeMapInterface,
DtMultiMapEditorInterface mapInterface,
DtPersistenceControlsInterface toolbarInterface,
DtPage page = 0 
)

CTOR.

virtual makVrv::DtEntityMappingEditorLogic::~DtEntityMappingEditorLogic ( )
virtual

DTOR.


The documentation for this class was generated from the following file:

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)