Salome HOME
Left menu is improved
[tools/siman.git] / Workspace / Siman / src / org / splat / simer / SearchStudyAction.java
index 02df3a3559d4b9a873eedcd52a3ce9006ae3db6f..18ed3fdb61e277a26dae391a04a788a9ad92da19 100644 (file)
@@ -56,6 +56,12 @@ public class SearchStudyAction extends SearchBaseAction {
         * 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;
 
        /**
         * Serial version ID.
@@ -85,7 +91,8 @@ public class SearchStudyAction extends SearchBaseAction {
                        
                        setMenuProperty("open");
                        setToolProperty("none");
-                       initializationScreenContext(_menuProperty, _toolProperty);
+                       setLeftMenuProperty("open");
+                       initializationFullScreenContext(_menuProperty, _toolProperty, _leftMenuProperty);
 
                        return SUCCESS;
                } catch (Exception error) {
@@ -376,4 +383,20 @@ public class SearchStudyAction extends SearchBaseAction {
        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