+ _gengui->createDockWidgets();
+ _gengui->createCentralWidget();
+ _gengui->createActions();
+ _gengui->createMenus();
+ _gengui->updateButtonsStates();
+ }
+ else
+ {
+ // Test main view
+ if (!BL::MainWindows_SALOME::restoreViewFocus())
+ {
+ // We need to recreate QT objects and the view
+ BL::MainWindows_SALOME::createView();
+ _gengui->createCentralWidget();
+ }
+ }
+
+ setMenuShown(true);