in order to call updateTree of object browser. It is due to removing call of
updateTree during treating the signal rootChanged of CAM_Study.
if(aModule)
aModule->studyActivated();
}
+
+void SalomeApp_Application::createEmptyStudy()
+{
+ CAM_Application::createEmptyStudy();
+ if ( objectBrowser() )
+ objectBrowser()->updateTree();
+}
+
+bool SalomeApp_Application::activateModule( CAM_Module* mod )
+{
+ CAM_Application::activateModule( mod );
+ if ( objectBrowser() )
+ objectBrowser()->updateTree();
+}
virtual void contextMenuPopup( const QString&, QPopupMenu*, QString& );
+ virtual void createEmptyStudy();
+
static CORBA::ORB_var orb();
static SALOMEDSClient_StudyManager* studyMgr();
static SALOME_NamingService* namingService();
virtual void afterCloseDoc();
virtual void moduleAdded( CAM_Module* );
+ virtual bool activateModule( CAM_Module* = 0 );
SalomeApp_Preferences* preferences( const bool ) const;