]> SALOME platform Git repositories - tools/siman.git/blobdiff - Workspace/Siman/src/org/splat/simer/StartAction.java
Salome HOME
Tool bar is improved.
[tools/siman.git] / Workspace / Siman / src / org / splat / simer / StartAction.java
index 044ee57f329698e68de87f001a83f718db958c95..bfd28f85c887567dd9ef362c7856abc5391c73e9 100644 (file)
@@ -41,6 +41,12 @@ public class StartAction extends Action implements ServletRequestAware {
         * It is necessary for correct building the title bar.
         */
        private String _editDisabledProperty = "false";
+       
+       /**
+        * Value of the tool bar property. 
+        * It can be: none, standard, study, back.
+        */
+       private String _toolProperty;
 
        /**
         * Serial version ID.
@@ -91,7 +97,8 @@ public class StartAction extends Action implements ServletRequestAware {
         setMenuProperty("study");
         setTitleProperty("study");
         setEditDisabledProperty("true");
-        initializationScreenContext(_menuProperty, _titleProperty, _editDisabledProperty);
+        setToolProperty("none");
+        initializationScreenContext(_menuProperty, _titleProperty, _editDisabledProperty, _toolProperty);
         
         return ERROR;
       }
@@ -185,4 +192,20 @@ public class StartAction extends Action implements ServletRequestAware {
        public final void setEditDisabledProperty(String editDisabledProperty) {
                _editDisabledProperty = editDisabledProperty;
        }
+
+       /**
+        * Get the toolProperty.
+        * @return the toolProperty
+        */
+       public String getToolProperty() {
+               return _toolProperty;
+       }
+
+       /**
+        * Set the toolProperty.
+        * @param toolProperty the toolProperty to set
+        */
+       public void setToolProperty(final String toolProperty) {
+               _toolProperty = toolProperty;
+       }
 }
\ No newline at end of file