From 6333682060ad5116559e12d5c212f1a1f199b3a0 Mon Sep 17 00:00:00 2001 From: Sergey BELASH Date: Thu, 17 Jul 2014 13:15:53 +0400 Subject: [PATCH] Sources of the application adopted to RHEL6 x64. The newest version of Eclipse IDE used. --- eclipse.sh | 4 +++- linux_env.sh | 5 +++-- src/Model/Model_Data.cpp | 3 ++- src/Model/Model_Data.h | 2 +- src/Model/Model_Document.cpp | 9 +++++--- src/Model/Model_Document.h | 4 ++-- src/ModelAPI/ModelAPI_AttributeRefList.h | 2 +- src/ModelAPI/ModelAPI_ResultBody.h | 7 ++++-- src/ModelAPI/ModelAPI_ResultConstruction.h | 2 ++ src/ModelAPI/ModelAPI_ResultPart.h | 2 ++ src/ModuleBase/ModuleBase_Operation.cpp | 2 +- src/ModuleBase/ModuleBase_WidgetBoolValue.cpp | 2 +- .../ModuleBase_WidgetDoubleValue.cpp | 2 +- src/ModuleBase/ModuleBase_WidgetEditor.cpp | 2 +- src/ModuleBase/ModuleBase_WidgetFeature.cpp | 2 +- .../ModuleBase_WidgetFeatureOrAttribute.cpp | 2 +- src/ModuleBase/ModuleBase_WidgetPoint2D.cpp | 2 +- src/ModuleBase/ModuleBase_WidgetSelector.cpp | 6 +++-- .../SketchPlugin_ConstraintDistance.cpp | 4 ++-- .../SketchSolver_ConstraintManager.cpp | 7 ++++-- src/XGUI/CMakeLists.txt | 1 - src/XGUI/XGUI_DocumentDataModel.cpp | 9 ++++---- src/XGUI/XGUI_Workshop.cpp | 22 +++++++++---------- src/XGUI/XGUI_Workshop.h | 12 +++++----- 24 files changed, 67 insertions(+), 48 deletions(-) diff --git a/eclipse.sh b/eclipse.sh index de64257e3..0dddf7dec 100755 --- a/eclipse.sh +++ b/eclipse.sh @@ -13,8 +13,10 @@ CMAKE_ARGS="-D_ECLIPSE_VERSION=4.3" CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=Debug" CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=ON" CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX:PATH=${ROOT_DIR}/install" +CMAKE_ARGS="${CMAKE_ARGS} -DPYTHON_EXECUTABLE=${PYTHONHOME}/bin/python" CMAKE_ARGS="${CMAKE_ARGS} ${SRC_DIR}" cmake -G "Eclipse CDT4 - Unix Makefiles" ${CMAKE_ARGS} -/misc/dn48/newgeom/common/eclipse-4.3.0/eclipse -Dosgi.locking=none & \ No newline at end of file +#/misc/dn48/newgeom/common/eclipse-4.3.0/eclipse& +/misc/dn48/newgeom/common/eclipse-4.4.0/eclipse& \ No newline at end of file diff --git a/linux_env.sh b/linux_env.sh index 6cd1e816b..b5c8db636 100644 --- a/linux_env.sh +++ b/linux_env.sh @@ -28,7 +28,7 @@ export LD_LIBRARY_PATH=${QT4_ROOT_DIR}/lib:${LD_LIBRARY_PATH} ## #------ boost ------ export BOOST_ROOT_DIR=${PDIR}/boost-1.52.0 -export LD_LIBRARY_PATH=${BOOST_ROOT_DIR}/lib +export LD_LIBRARY_PATH=${BOOST_ROOT_DIR}/lib:${LD_LIBRARY_PATH} ## #------ swig ------ export SWIG_ROOT_DIR=${PDIR}/swig-2.0.8 @@ -100,5 +100,6 @@ export LIB=${LD_LIBRARY_PATH} #------ NewGEOM ------ export INST_DIR=${ROOT_DIR}/install export PATH=${INST_DIR}/bin:${INST_DIR}/plugins:${PATH} -export LD_LIBRARY_PATH=${INST_DIR}/bin:${INST_DIR}/swig:${INST_DIR}/plugins:${PATH}${LD_LIBRARY_PATH} +export PYTHONPATH=${INST_DIR}/swig:${PYTHONPATH} +export LD_LIBRARY_PATH=${INST_DIR}/bin:${INST_DIR}/swig:${INST_DIR}/plugins:${LD_LIBRARY_PATH} export NEW_GEOM_CONFIG_FILE=${INST_DIR}/plugins diff --git a/src/Model/Model_Data.cpp b/src/Model/Model_Data.cpp index 53e34ce97..9cd9d082c 100644 --- a/src/Model/Model_Data.cpp +++ b/src/Model/Model_Data.cpp @@ -17,13 +17,14 @@ #include #include + using namespace std; Model_Data::Model_Data() { } -void Model_Data::setLabel(TDF_Label& theLab) +void Model_Data::setLabel(TDF_Label theLab) { myLab = theLab; } diff --git a/src/Model/Model_Data.h b/src/Model/Model_Data.h index 34f3ec7a9..c63bce476 100644 --- a/src/Model/Model_Data.h +++ b/src/Model/Model_Data.h @@ -90,7 +90,7 @@ public: MODEL_EXPORT virtual void sendAttributeUpdated(ModelAPI_Attribute* theAttr); /// Puts feature to the document data sub-structure - MODEL_EXPORT void setLabel(TDF_Label& theLab); + MODEL_EXPORT void setLabel(TDF_Label theLab); /// Sets the object of this data MODEL_EXPORT virtual void setObject(ObjectPtr theObject) diff --git a/src/Model/Model_Document.cpp b/src/Model/Model_Document.cpp index 88a0914ff..c08c85160 100644 --- a/src/Model/Model_Document.cpp +++ b/src/Model/Model_Document.cpp @@ -20,6 +20,9 @@ #include #include #include +#include + +#include #include #ifndef WIN32 @@ -463,7 +466,7 @@ FeaturePtr Model_Document::feature(TDF_Label& theLabel) return FeaturePtr(); // not found } -ObjectPtr Model_Document::object(TDF_Label& theLabel) +ObjectPtr Model_Document::object(TDF_Label theLabel) { // iterate all features, may be optimized later by keeping labels-map std::vector& aVec = myObjs[ModelAPI_Feature::group()]; @@ -642,7 +645,7 @@ void Model_Document::setUniqueName(FeaturePtr theFeature) theFeature->data()->setName(aName); } -void Model_Document::initData(ObjectPtr theObj, TDF_Label& theLab, const int theTag) { +void Model_Document::initData(ObjectPtr theObj, TDF_Label theLab, const int theTag) { boost::shared_ptr aThis = Model_Application::getApplication()->getDocument(myID); boost::shared_ptr aData(new Model_Data); @@ -662,7 +665,7 @@ void Model_Document::synchronizeFeatures(const bool theMarkUpdated) std::map >::reverse_iterator aGroupIter = myObjs.rbegin(); for(; aGroupIter != myObjs.rend(); aGroupIter++) { std::vector::iterator anObjIter = aGroupIter->second.begin(); - // and in parallel iterate labels of features + // and in parallel iterate labels of features+ const std::string& aGroupName = aGroupIter->first; TDF_ChildIDIterator aLabIter(groupLabel(aGroupName), TDataStd_Comment::GetID()); while(anObjIter != aGroupIter->second.end() || aLabIter.More()) { diff --git a/src/Model/Model_Document.h b/src/Model/Model_Document.h index db353a93b..01171bf68 100644 --- a/src/Model/Model_Document.h +++ b/src/Model/Model_Document.h @@ -74,7 +74,7 @@ public: //! Returns the existing object: result or feature //! \param theLabel base label of the object - MODEL_EXPORT virtual ObjectPtr object(TDF_Label& theLabel); + MODEL_EXPORT virtual ObjectPtr object(TDF_Label theLabel); //! Adds a new sub-document by the identifier, or returns existing one if it is already exist MODEL_EXPORT virtual boost::shared_ptr subDocument(std::string theDocID); @@ -127,7 +127,7 @@ protected: void compactNested(); //! Initializes the data fields of the feature - void Model_Document::initData(ObjectPtr theObj, TDF_Label& theLab, const int theTag); + void initData(ObjectPtr theObj, TDF_Label theLab, const int theTag); //! Allows to store the result in the data tree of the document (attaches 'data' of result to tree) MODEL_EXPORT virtual void storeResult(boost::shared_ptr theFeatureData, diff --git a/src/ModelAPI/ModelAPI_AttributeRefList.h b/src/ModelAPI/ModelAPI_AttributeRefList.h index b897c1b42..d6004f7af 100644 --- a/src/ModelAPI/ModelAPI_AttributeRefList.h +++ b/src/ModelAPI/ModelAPI_AttributeRefList.h @@ -33,7 +33,7 @@ public: MODELAPI_EXPORT virtual int size() = 0; /// Returns the list of features - MODELAPI_EXPORT virtual std::list list() = 0; + MODELAPI_EXPORT virtual std::list list() = 0; protected: /// Objects are created for features automatically diff --git a/src/ModelAPI/ModelAPI_ResultBody.h b/src/ModelAPI/ModelAPI_ResultBody.h index 09ce4d6b0..debc96d3e 100644 --- a/src/ModelAPI/ModelAPI_ResultBody.h +++ b/src/ModelAPI/ModelAPI_ResultBody.h @@ -8,6 +8,8 @@ #include "ModelAPI_Result.h" #include +#include + /**\class ModelAPI_ResultBody * \ingroup DataModel * \brief The body (shape) result of a feature. @@ -20,8 +22,9 @@ class ModelAPI_ResultBody : public ModelAPI_Result { public: /// Returns the group identifier of this result - virtual std::string groupName() - { return group(); } + virtual std::string groupName() { + return group(); + } /// Returns the group identifier of this result static std::string group() diff --git a/src/ModelAPI/ModelAPI_ResultConstruction.h b/src/ModelAPI/ModelAPI_ResultConstruction.h index 4207ff5e3..bd9220ae5 100644 --- a/src/ModelAPI/ModelAPI_ResultConstruction.h +++ b/src/ModelAPI/ModelAPI_ResultConstruction.h @@ -8,6 +8,8 @@ #include "ModelAPI_Result.h" #include +#include + /**\class ModelAPI_ResultConstruction * \ingroup DataModel * \brief The construction element result of a feature. diff --git a/src/ModelAPI/ModelAPI_ResultPart.h b/src/ModelAPI/ModelAPI_ResultPart.h index 82e0cee5d..2f6feb5e5 100644 --- a/src/ModelAPI/ModelAPI_ResultPart.h +++ b/src/ModelAPI/ModelAPI_ResultPart.h @@ -7,6 +7,8 @@ #include "ModelAPI_Result.h" +#include + /**\class ModelAPI_ResultPart * \ingroup DataModel * \brief The Part document, result of a creation of new part feature. diff --git a/src/ModuleBase/ModuleBase_Operation.cpp b/src/ModuleBase/ModuleBase_Operation.cpp index ba757565d..e967a1d49 100644 --- a/src/ModuleBase/ModuleBase_Operation.cpp +++ b/src/ModuleBase/ModuleBase_Operation.cpp @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include diff --git a/src/ModuleBase/ModuleBase_WidgetBoolValue.cpp b/src/ModuleBase/ModuleBase_WidgetBoolValue.cpp index 81be8438b..2c5faadd2 100644 --- a/src/ModuleBase/ModuleBase_WidgetBoolValue.cpp +++ b/src/ModuleBase/ModuleBase_WidgetBoolValue.cpp @@ -11,7 +11,7 @@ #include #include -#include +#include #include #include diff --git a/src/ModuleBase/ModuleBase_WidgetDoubleValue.cpp b/src/ModuleBase/ModuleBase_WidgetDoubleValue.cpp index 587e1e041..f246713cd 100644 --- a/src/ModuleBase/ModuleBase_WidgetDoubleValue.cpp +++ b/src/ModuleBase/ModuleBase_WidgetDoubleValue.cpp @@ -11,7 +11,7 @@ #include #include -#include +#include #include #include diff --git a/src/ModuleBase/ModuleBase_WidgetEditor.cpp b/src/ModuleBase/ModuleBase_WidgetEditor.cpp index 1e00eb180..16d4c52cb 100644 --- a/src/ModuleBase/ModuleBase_WidgetEditor.cpp +++ b/src/ModuleBase/ModuleBase_WidgetEditor.cpp @@ -8,7 +8,7 @@ #include #include -#include +#include #include #include diff --git a/src/ModuleBase/ModuleBase_WidgetFeature.cpp b/src/ModuleBase/ModuleBase_WidgetFeature.cpp index 5f625caee..2a65062b0 100644 --- a/src/ModuleBase/ModuleBase_WidgetFeature.cpp +++ b/src/ModuleBase/ModuleBase_WidgetFeature.cpp @@ -11,7 +11,7 @@ #include #include -#include +#include #include #include diff --git a/src/ModuleBase/ModuleBase_WidgetFeatureOrAttribute.cpp b/src/ModuleBase/ModuleBase_WidgetFeatureOrAttribute.cpp index a26a70d0a..87a1a88c2 100644 --- a/src/ModuleBase/ModuleBase_WidgetFeatureOrAttribute.cpp +++ b/src/ModuleBase/ModuleBase_WidgetFeatureOrAttribute.cpp @@ -11,7 +11,7 @@ #include #include -#include +#include #include #include diff --git a/src/ModuleBase/ModuleBase_WidgetPoint2D.cpp b/src/ModuleBase/ModuleBase_WidgetPoint2D.cpp index 51db5770b..cefa92847 100644 --- a/src/ModuleBase/ModuleBase_WidgetPoint2D.cpp +++ b/src/ModuleBase/ModuleBase_WidgetPoint2D.cpp @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include diff --git a/src/ModuleBase/ModuleBase_WidgetSelector.cpp b/src/ModuleBase/ModuleBase_WidgetSelector.cpp index 88aa9c381..5e0cd3e98 100644 --- a/src/ModuleBase/ModuleBase_WidgetSelector.cpp +++ b/src/ModuleBase/ModuleBase_WidgetSelector.cpp @@ -8,7 +8,7 @@ #include "ModuleBase_Tools.h" #include -#include +#include #include #include @@ -30,6 +30,8 @@ #include #include +#include + typedef QMap ShapeTypes; static ShapeTypes MyShapeTypes; @@ -250,4 +252,4 @@ void ModuleBase_WidgetSelector::raisePanel() const QDockWidget* aTabWgt = (QDockWidget*) aParent; aTabWgt->raise(); } -} \ No newline at end of file +} diff --git a/src/SketchPlugin/SketchPlugin_ConstraintDistance.cpp b/src/SketchPlugin/SketchPlugin_ConstraintDistance.cpp index 4818f6608..fe1faa56d 100644 --- a/src/SketchPlugin/SketchPlugin_ConstraintDistance.cpp +++ b/src/SketchPlugin/SketchPlugin_ConstraintDistance.cpp @@ -5,8 +5,8 @@ #include "SketchPlugin_ConstraintDistance.h" #include -#include -#include +#include +#include #include #include diff --git a/src/SketchSolver/SketchSolver_ConstraintManager.cpp b/src/SketchSolver/SketchSolver_ConstraintManager.cpp index e21bb346a..d9e10c85e 100644 --- a/src/SketchSolver/SketchSolver_ConstraintManager.cpp +++ b/src/SketchSolver/SketchSolver_ConstraintManager.cpp @@ -9,6 +9,7 @@ #include #include #include +#include #include @@ -18,6 +19,8 @@ #include #include +#include + // Initialization of constraint manager self pointer SketchSolver_ConstraintManager* SketchSolver_ConstraintManager::_self = 0; @@ -353,8 +356,8 @@ boost::shared_ptr SketchSolver_ConstraintManager::findWork boost::shared_ptr aWPFeatures = boost::dynamic_pointer_cast(aWP->data()->attribute(SketchPlugin_Sketch::FEATURES_ID())); - std::list< ObjectPtr >& aFeaturesList = aWPFeatures->list(); - std::list< ObjectPtr >::const_iterator anIter; + std::list aFeaturesList = aWPFeatures->list(); + std::list::const_iterator anIter; for (anIter = aFeaturesList.begin(); anIter != aFeaturesList.end(); anIter++) if (*anIter == theConstraint) return aWP; // workplane is found diff --git a/src/XGUI/CMakeLists.txt b/src/XGUI/CMakeLists.txt index 438078697..67ba7629d 100644 --- a/src/XGUI/CMakeLists.txt +++ b/src/XGUI/CMakeLists.txt @@ -115,7 +115,6 @@ INCLUDE_DIRECTORIES (${PROJECT_SOURCE_DIR}/src/Events ${PROJECT_SOURCE_DIR}/src/PyConsole ${PROJECT_SOURCE_DIR}/src/ModelAPI ${PROJECT_SOURCE_DIR}/src/GeomAPI - ${PROJECT_SOURCE_DIR}/src/Model ${PROJECT_SOURCE_DIR}/src/ModuleBase ${PROJECT_SOURCE_DIR}/src/PartSetPlugin ${CAS_INCLUDE_DIRS}) diff --git a/src/XGUI/XGUI_DocumentDataModel.cpp b/src/XGUI/XGUI_DocumentDataModel.cpp index a9c3f7a48..45788794f 100644 --- a/src/XGUI/XGUI_DocumentDataModel.cpp +++ b/src/XGUI/XGUI_DocumentDataModel.cpp @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include #include @@ -19,6 +19,7 @@ #include #include +#include #define ACTIVE_COLOR QColor(0,72,140) #define PASSIVE_COLOR Qt::black @@ -49,7 +50,7 @@ void XGUI_DocumentDataModel::processEvent(const Events_Message* theMessage) // Created object event ******************* if (theMessage->eventID() == Events_Loop::loop()->eventByName(EVENT_OBJECT_CREATED)) { - const Model_ObjectUpdatedMessage* aUpdMsg = dynamic_cast(theMessage); + const ModelAPI_ObjectUpdatedMessage* aUpdMsg = dynamic_cast(theMessage); std::set aObjects = aUpdMsg->objects(); std::set::const_iterator aIt; @@ -93,7 +94,7 @@ void XGUI_DocumentDataModel::processEvent(const Events_Message* theMessage) } // Deleted object event *********************** } else if (theMessage->eventID() == Events_Loop::loop()->eventByName(EVENT_OBJECT_DELETED)) { - const Model_ObjectDeletedMessage* aUpdMsg = dynamic_cast(theMessage); + const ModelAPI_ObjectDeletedMessage* aUpdMsg = dynamic_cast(theMessage); DocumentPtr aDoc = aUpdMsg->document(); std::set aGroups = aUpdMsg->groups(); @@ -135,7 +136,7 @@ void XGUI_DocumentDataModel::processEvent(const Events_Message* theMessage) } // Deleted object event *********************** } else if (theMessage->eventID() == Events_Loop::loop()->eventByName(EVENT_OBJECT_UPDATED)) { - //const Model_ObjectUpdatedMessage* aUpdMsg = dynamic_cast(theMessage); + //const ModelAPI_ObjectUpdatedMessage* aUpdMsg = dynamic_cast(theMessage); //ObjectPtr aFeature = aUpdMsg->feature(); //DocumentPtr aDoc = aFeature->document(); diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 9f2d068a2..47176fbd4 100644 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -23,7 +23,7 @@ #include "XGUI_ContextMenuMgr.h" #include "XGUI_ModuleConnector.h" -#include +#include #include #include #include @@ -232,14 +232,14 @@ void XGUI_Workshop::processEvent(const Events_Message* theMessage) // Process creation of Part if (theMessage->eventID() == Events_Loop::loop()->eventByName(EVENT_OBJECT_CREATED)) { - const Model_ObjectUpdatedMessage* aUpdMsg = dynamic_cast(theMessage); + const ModelAPI_ObjectUpdatedMessage* aUpdMsg = dynamic_cast(theMessage); onFeatureCreatedMsg(aUpdMsg); return; } // Redisplay feature if (theMessage->eventID() == Events_Loop::loop()->eventByName(EVENT_OBJECT_TO_REDISPLAY)) { - const Model_ObjectUpdatedMessage* aUpdMsg = dynamic_cast(theMessage); + const ModelAPI_ObjectUpdatedMessage* aUpdMsg = dynamic_cast(theMessage); onFeatureRedisplayMsg(aUpdMsg); return; } @@ -247,15 +247,15 @@ void XGUI_Workshop::processEvent(const Events_Message* theMessage) //Update property panel on corresponding message. If there is no current operation (no //property panel), or received message has different feature to the current - do nothing. if (theMessage->eventID() == Events_Loop::loop()->eventByName(EVENT_OBJECT_UPDATED)) { - const Model_ObjectUpdatedMessage* anUpdateMsg = - dynamic_cast(theMessage); + const ModelAPI_ObjectUpdatedMessage* anUpdateMsg = + dynamic_cast(theMessage); onFeatureUpdatedMsg(anUpdateMsg); return; } if (theMessage->eventID() == Events_Loop::loop()->eventByName(EVENT_OBJECT_DELETED)) { - const Model_ObjectDeletedMessage* aDelMsg = - dynamic_cast(theMessage); + const ModelAPI_ObjectDeletedMessage* aDelMsg = + dynamic_cast(theMessage); onObjectDeletedMsg(aDelMsg); return; } @@ -283,7 +283,7 @@ void XGUI_Workshop::processEvent(const Events_Message* theMessage) } //****************************************************** -void XGUI_Workshop::onFeatureUpdatedMsg(const Model_ObjectUpdatedMessage* theMsg) +void XGUI_Workshop::onFeatureUpdatedMsg(const ModelAPI_ObjectUpdatedMessage* theMsg) { std::set aFeatures = theMsg->objects(); if (myOperationMgr->hasOperation()) @@ -301,7 +301,7 @@ void XGUI_Workshop::onFeatureUpdatedMsg(const Model_ObjectUpdatedMessage* theMsg } //****************************************************** -void XGUI_Workshop::onFeatureRedisplayMsg(const Model_ObjectUpdatedMessage* theMsg) +void XGUI_Workshop::onFeatureRedisplayMsg(const ModelAPI_ObjectUpdatedMessage* theMsg) { std::set aObjects = theMsg->objects(); std::set::const_iterator aIt; @@ -323,7 +323,7 @@ void XGUI_Workshop::onFeatureRedisplayMsg(const Model_ObjectUpdatedMessage* theM } //****************************************************** -void XGUI_Workshop::onFeatureCreatedMsg(const Model_ObjectUpdatedMessage* theMsg) +void XGUI_Workshop::onFeatureCreatedMsg(const ModelAPI_ObjectUpdatedMessage* theMsg) { std::set aFeatures = theMsg->objects(); @@ -351,7 +351,7 @@ void XGUI_Workshop::onFeatureCreatedMsg(const Model_ObjectUpdatedMessage* theMsg } //****************************************************** -void XGUI_Workshop::onObjectDeletedMsg(const Model_ObjectDeletedMessage* theMsg) +void XGUI_Workshop::onObjectDeletedMsg(const ModelAPI_ObjectDeletedMessage* theMsg) { //std::set aFeatures = theMsg->objects(); } diff --git a/src/XGUI/XGUI_Workshop.h b/src/XGUI/XGUI_Workshop.h index 681afb312..c0d5d6455 100644 --- a/src/XGUI/XGUI_Workshop.h +++ b/src/XGUI/XGUI_Workshop.h @@ -38,8 +38,8 @@ class Config_PointerMessage; class QWidget; class QDockWidget; -class Model_ObjectUpdatedMessage; -class Model_ObjectDeletedMessage; +class ModelAPI_ObjectUpdatedMessage; +class ModelAPI_ObjectDeletedMessage; class QAction; /**\class XGUI_Workshop @@ -154,10 +154,10 @@ protected: void connectWithOperation(ModuleBase_Operation* theOperation); void saveDocument(QString theName); - void onFeatureUpdatedMsg(const Model_ObjectUpdatedMessage* theMsg); - void onFeatureCreatedMsg(const Model_ObjectUpdatedMessage* theMsg); - void onFeatureRedisplayMsg(const Model_ObjectUpdatedMessage* theMsg); - void onObjectDeletedMsg(const Model_ObjectDeletedMessage* theMsg); + void onFeatureUpdatedMsg(const ModelAPI_ObjectUpdatedMessage* theMsg); + void onFeatureCreatedMsg(const ModelAPI_ObjectUpdatedMessage* theMsg); + void onFeatureRedisplayMsg(const ModelAPI_ObjectUpdatedMessage* theMsg); + void onObjectDeletedMsg(const ModelAPI_ObjectDeletedMessage* theMsg); QList getModuleCommands() const; -- 2.39.2