Salome HOME
Left menu is improved
[tools/siman.git] / Workspace / Siman / src / org / splat / simer / StartAction.java
index bfd28f85c887567dd9ef362c7856abc5391c73e9..e84c0841c385bc605fac281b8898c67a16521601 100644 (file)
@@ -47,6 +47,12 @@ public class StartAction extends Action implements ServletRequestAware {
         * 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.
@@ -98,7 +104,8 @@ public class StartAction extends Action implements ServletRequestAware {
         setTitleProperty("study");
         setEditDisabledProperty("true");
         setToolProperty("none");
-        initializationScreenContext(_menuProperty, _titleProperty, _editDisabledProperty, _toolProperty);
+        setLeftMenuProperty("study");
+        initializationFullScreenContext(_menuProperty, _titleProperty, _editDisabledProperty, _toolProperty, _leftMenuProperty);
         
         return ERROR;
       }
@@ -208,4 +215,20 @@ public class StartAction extends Action implements ServletRequestAware {
        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