]> SALOME platform Git repositories - tools/siman.git/blobdiff - Workspace/Siman/src/org/splat/simer/admin/DatabaseIndexingAction.java
Salome HOME
Left menu is improved
[tools/siman.git] / Workspace / Siman / src / org / splat / simer / admin / DatabaseIndexingAction.java
index 881ca58b5bc278bb67227b342a593601738369e3..4287a4b11a356962a5eca4701fd44c8e7b594ac0 100644 (file)
@@ -43,6 +43,12 @@ public class DatabaseIndexingAction extends Action {
         * It can be: none, standard, study, back.
         */
        private String _toolProperty;
+       
+       /**
+        * Value of the left menu property. 
+        * It can be: open, study, knowledge, scenario.
+        */
+       private String _leftMenuProperty;
 
        // ==============================================================================================================================
        // Action methods
@@ -58,7 +64,8 @@ public class DatabaseIndexingAction extends Action {
                
                setMenuProperty("sysadmin");
                setToolProperty("none");
-        initializationScreenContext(_menuProperty, _toolProperty);
+               setLeftMenuProperty("open");
+               initializationFullScreenContext(_menuProperty, _toolProperty, _leftMenuProperty);
                
                return SUCCESS;
        }
@@ -157,4 +164,20 @@ public class DatabaseIndexingAction extends Action {
        public void setToolProperty(final String toolProperty) {
                _toolProperty = toolProperty;
        }
+       
+       /**
+        * Get the leftMenuProperty.
+        * @return the leftMenuProperty
+        */
+       public String getLeftMenuProperty() {
+               return _leftMenuProperty;
+       }
+
+       /**
+        * Set the leftMenuProperty.
+        * @param leftMenuProperty the leftMenuProperty to set
+        */
+       public void setLeftMenuProperty(final String leftMenuProperty) {
+               _leftMenuProperty = leftMenuProperty;
+       }
 }
\ No newline at end of file