]> SALOME platform Git repositories - modules/eficas.git/commitdiff
Salome HOME
Pour ne pas avoir la fenĂȘtre "Message Log" au chargement du module EFICAS
authorbourcier <>
Mon, 30 Apr 2007 13:49:11 +0000 (13:49 +0000)
committerbourcier <>
Mon, 30 Apr 2007 13:49:11 +0000 (13:49 +0000)
src/EFICASGUI/EFICASGUI.py

index e7c8ea571507b3dbaebe023b736a4f5a09cb6fb7..afdfac298f75466b986a091c1f3a077ec3f5b98f 100644 (file)
@@ -135,6 +135,20 @@ def customPopup(popup, theContext, theObject, theParent):
    popup.removeItem(99002)
    popup.removeItem(99003)
 
+   
+def windows():
+    """
+    This method is called when GUI module is being created
+    and initialized.
+    Should return a map of the SALOME dockable windows id's
+    needed to be opened when module is activated.
+    """
+    print "ASTERGUI::windows"
+    from qt import Qt
+    winMap = {}
+    winMap[ SalomePyQt.WT_ObjectBrowser ] = Qt.DockLeft
+    winMap[ SalomePyQt.WT_PyConsole ]     = Qt.DockBottom
+    return winMap   
 
 # -----------------------------------------------------------------------------