Protected Member Functions |
| virtual bool | warnUser (const QStringList &systems) |
| | Given the fact that some items might need to be saved that have not been saved yet, warn the user of that fact.
|
Constructor & Destructor Documentation
| DtEntityEditorSystemsHandler::DtEntityEditorSystemsHandler |
( |
makVrv::DtDe & |
| ) |
|
| virtual DtEntityEditorSystemsHandler::~DtEntityEditorSystemsHandler |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual bool DtEntityEditorSystemsHandler::replaceSystems |
( |
const QStringList & |
systems | ) |
|
|
virtual |
Given the list of systems (absolute paths to system files), go through the entire parameter database to see which systems share these files.
Calls replaceSystem to do the replacement
| virtual bool DtEntityEditorSystemsHandler::replaceSystem |
( |
const DtFilename & |
| ) |
|
|
virtual |
Looks through all parameter entries to see if this system is used by it.
If it is, removes the system and reloads the new system. This will not automatically save out the system, but, rather it will mark the opd entries as modified, letting the user know the ope file(s) have to be saved
| virtual void DtEntityEditorSystemsHandler::sharedSystems |
( |
const DtFilename & |
systemFile, |
|
|
std::vector< DtModelSetEntry * > & |
systems |
|
) |
| |
|
virtual |
Returns all parameter entries that share the supplied system.
| virtual void DtEntityEditorSystemsHandler::replaceSystem |
( |
DtModelSetEntry * |
entry, |
|
|
const DtFilename & |
system |
|
) |
| |
|
virtual |
Given the parameter entry, replace the system in that entry with the system of the same name and location.
This code will create the actual UI page and use the page to do the removal and add
| static QString DtEntityEditorSystemsHandler::absolutePathFromWorkingDirectory |
( |
const DtFilename & |
dirFile | ) |
|
|
static |
| virtual void DtEntityEditorSystemsHandler::deleteSystems |
( |
const QStringList & |
systems | ) |
|
|
virtual |
| virtual bool DtEntityEditorSystemsHandler::deleteSystem |
( |
const DtFilename & |
| ) |
|
|
virtual |
Calls down to DtUiSystemElement to delete the system from all parameters that contain it.
| virtual void DtEntityEditorSystemsHandler::deleteSystem |
( |
DtModelSetEntry * |
, |
|
|
const DtFilename & |
system |
|
) |
| |
|
virtual |
| virtual void DtEntityEditorSystemsHandler::addSystems |
( |
const QStringList & |
| ) |
|
|
virtual |
Adds new systems to the system database and reselect the existing entity to reseed with new systems.
| virtual void DtEntityEditorSystemsHandler::processCommand |
( |
const QString & |
command, |
|
|
const QStringList & |
systemFiles |
|
) |
| |
|
virtual |
Process command as applied to system files.
Current commands are: <systemfileschanged> - calls replaceSystems <deletedsystem> - calls deletedSystems <addsystem> - calls addSystems
| virtual bool DtEntityEditorSystemsHandler::warnUser |
( |
const QStringList & |
systems | ) |
|
|
protectedvirtual |
Given the fact that some items might need to be saved that have not been saved yet, warn the user of that fact.
Member Data Documentation
The documentation for this class was generated from the following file: