VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Types
makVrf::DtVrfObjectModifierDialogManager Class Reference

Manages the appearance/disposal of creation/editing dialogs associated with creating/editing vrforces objects (entities, props, etc...) The dialogs are created when either the creationManager or editingManager emit a signal that starts the creation/editing process. More...

Inheritance diagram for makVrf::DtVrfObjectModifierDialogManager:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtVrfObjectModifierDialogManager (makVrv::DtDe &, makVrv::DtQtDeMainWindow *mainWindow)
 ~DtVrfObjectModifierDialogManager ()
virtual void connectToCreationManager ()
virtual void connectToEditingManager ()
virtual void disconnectFromCreationManager ()
virtual void disconnectFromEditingManager ()
virtual void setShowDialogs (bool flag)
 Tells the manager whether to show dialogs in response to signals emitted by the creation or edit managers.
virtual void populateDialogFromStmt (const DtCreateObjectCommand *cmd)
virtual void addDialogCreationFcnForKind (DtEntityType, DtObjectDefinitionDialogCreationParameters *)
virtual void removeDialogCreationFcnForKind (DtEntityType)

Static Public Member Functions

static
DtVrfObjectModifierDialogManager
instance (makVrv::DtDe &de)

Protected Member Functions

virtual void slot_creatingObject (const DtEntityType &type, int force, DtCreationSignalType signalCreate=DtNoCreationSignal)
 forPlan tells whether the creation is going to be for a plan statement or not
virtual void slot_creatingTerrainProp ()
virtual void slot_creationStopped ()
virtual void slot_editingObject (const makVrv::DtUniqueID &, const DtVrfObjectManipulationManager::DtEditingType &)
virtual void slot_editingTerrainProp (const makVrv::DtUniqueID &, const DtVrfObjectManipulationManager::DtEditingType &)
virtual void slot_editingStopped ()
virtual void destroyPropertiesDlg ()
virtual
DtObjectDefinitionDialogCreationParameters
lookupCreatorFromEntityType (const DtEntityType &ent)
 Finds the closest/ most specific match to the DtEntityType in VrfCreateAndEditDialogCreators and returns a pointer to the associated DtObjectDefinitionDialogCreationParameters object.
virtual std::string findEntityTypeName (const DtEntityType &ent)

Protected Attributes

makVrv::DtDemyDe
QMainWindowmyMainWindow
DtCreateAndEditObjectDialogInterfacemyObjectPropertiesDlg
VrfCreateAndEditDialogCreators myDialogCreators
 mapping of DtEntityTypes (including possibly wildcards) to specific DtVrfObjectModifierDialogCreator objects
bool myManualEdit
bool myShowDialogs

Private Types

typedef
DtOrderedEntityTypeList
< DtObjectDefinitionDialogCreationParameters * > 
VrfCreateAndEditDialogCreators

Detailed Description

Manages the appearance/disposal of creation/editing dialogs associated with creating/editing vrforces objects (entities, props, etc...) The dialogs are created when either the creationManager or editingManager emit a signal that starts the creation/editing process.


Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

Tells the manager whether to show dialogs in response to signals emitted by the creation or edit managers.

virtual void makVrf::DtVrfObjectModifierDialogManager::slot_creatingObject ( const DtEntityType &  type,
int  force,
DtCreationSignalType  signalCreate = DtNoCreationSignal 
) [protected, virtual]

forPlan tells whether the creation is going to be for a plan statement or not

Finds the closest/ most specific match to the DtEntityType in VrfCreateAndEditDialogCreators and returns a pointer to the associated DtObjectDefinitionDialogCreationParameters object.

virtual std::string makVrf::DtVrfObjectModifierDialogManager::findEntityTypeName ( const DtEntityType &  ent) [protected, virtual]

Member Data Documentation

mapping of DtEntityTypes (including possibly wildcards) to specific DtVrfObjectModifierDialogCreator objects


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)