]> SALOME platform Git repositories - tools/siman.git/blobdiff - Workspace/Siman/src/org/splat/simer/EditScenarioPropertiesAction.java
Salome HOME
Left menu is improved
[tools/siman.git] / Workspace / Siman / src / org / splat / simer / EditScenarioPropertiesAction.java
index 884426e3882c7f1572f2dd301a0de923673ea5c3..2e27061900f472879c94662bac58674f572033e8 100644 (file)
@@ -42,6 +42,12 @@ public class EditScenarioPropertiesAction extends DisplayStudyStepAction {
         * 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.
@@ -72,7 +78,8 @@ public class EditScenarioPropertiesAction extends DisplayStudyStepAction {
                setTitleProperty("study");
                setEditDisabledProperty("true");
                setToolProperty("back");
-        initializationScreenContext(_menuProperty, _titleProperty, _editDisabledProperty, _toolProperty);
+               setLeftMenuProperty("study");
+        initializationFullScreenContext(_menuProperty, _titleProperty, _editDisabledProperty, _toolProperty, _leftMenuProperty);
 
                return SUCCESS;
        }
@@ -96,7 +103,8 @@ public class EditScenarioPropertiesAction extends DisplayStudyStepAction {
                } else {
                        setToolProperty("standard");
                }
-               initializationScreenContext(_menuProperty, _toolProperty);
+               setLeftMenuProperty("study");
+               initializationFullScreenContext(_menuProperty, _toolProperty, _leftMenuProperty);
 
                
                return SUCCESS;
@@ -241,4 +249,20 @@ public class EditScenarioPropertiesAction extends DisplayStudyStepAction {
        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