|
| 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. More...
|
| |
| DtSimulationObjectEditorSystemsHandler::DtSimulationObjectEditorSystemsHandler |
( |
makVrv::DtDe & |
| ) |
|
| virtual DtSimulationObjectEditorSystemsHandler::~DtSimulationObjectEditorSystemsHandler |
( |
| ) |
|
|
virtual |
| virtual bool DtSimulationObjectEditorSystemsHandler::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 DtSimulationObjectEditorSystemsHandler::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 DtSimulationObjectEditorSystemsHandler::sharedSystems |
( |
const DtFilename & |
systemFile, |
|
|
std::vector< DtModelSetEntry * > & |
systems |
|
) |
| |
|
virtual |
Returns all parameter entries that share the supplied system.
| virtual void DtSimulationObjectEditorSystemsHandler::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 DtSimulationObjectEditorSystemsHandler::absolutePathFromWorkingDirectory |
( |
const DtFilename & |
dirFile | ) |
|
|
static |
| virtual void DtSimulationObjectEditorSystemsHandler::deleteSystems |
( |
const QStringList & |
systems | ) |
|
|
virtual |
| virtual bool DtSimulationObjectEditorSystemsHandler::deleteSystem |
( |
const DtFilename & |
| ) |
|
|
virtual |
Calls down to DtUiSystemElement to delete the system from all parameters that contain it.
| virtual void DtSimulationObjectEditorSystemsHandler::deleteSystem |
( |
DtModelSetEntry * |
, |
|
|
const DtFilename & |
system |
|
) |
| |
|
virtual |
| virtual void DtSimulationObjectEditorSystemsHandler::addSystems |
( |
const QStringList & |
| ) |
|
|
virtual |
Adds new systems to the system database and reselect the existing entity to reseed with new systems.
| virtual void DtSimulationObjectEditorSystemsHandler::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 DtSimulationObjectEditorSystemsHandler::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.
The documentation for this class was generated from the following file: