]> SALOME platform Git repositories - modules/eficas.git/commitdiff
Salome HOME
merge AMA
authorChristian Caremoli <>
Thu, 10 May 2007 15:36:51 +0000 (15:36 +0000)
committerChristian Caremoli <>
Thu, 10 May 2007 15:36:51 +0000 (15:36 +0000)
src/EFICASGUI/EFICASGUI.py

index e7c8ea571507b3dbaebe023b736a4f5a09cb6fb7..1236408d327d10308ab8d51f00d693dfa10c6cef 100644 (file)
@@ -136,6 +136,20 @@ def customPopup(popup, theContext, theObject, theParent):
    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   
+
 # -----------------------------------------------------------------------------
 
 import eficasSalome