+void SalomeApp_Application::updateObjectBrowser( const bool updateModels )
+{
+ if ( updateModels )
+ {
+ for ( ModuleListIterator it = modules(); it.current(); ++it )
+ {
+ CAM_DataModel* camDM = it.current()->dataModel();
+ if ( camDM && camDM->inherits( "SalomeApp_DataModel" ) )
+ ((SalomeApp_DataModel*)camDM)->update();
+ }
+ }
+ if ( objectBrowser() )
+ objectBrowser()->updateTree();
+}