]> SALOME platform Git repositories - tools/siman.git/blobdiff - Workspace/Siman/src/org/splat/simer/admin/ImportUserAction.java
Salome HOME
Tool bar is improved.
[tools/siman.git] / Workspace / Siman / src / org / splat / simer / admin / ImportUserAction.java
index e9e04ac108b63e57081f26608c6bdf859edb5828..232bcb5f17ac7b6fe0012e45316b8114323caffb 100644 (file)
@@ -38,6 +38,12 @@ public class ImportUserAction extends UploadBaseNextAction {
         * It can be: none, create, open, study, knowledge, sysadmin, help.
         */
        private String _menuProperty;
+       
+       /**
+        * Value of the tool bar property. 
+        * It can be: none, standard, study, back.
+        */
+       private String _toolProperty;
 
 //  ==============================================================================================================================
 //  Action methods
@@ -59,7 +65,8 @@ public class ImportUserAction extends UploadBaseNextAction {
         }
         
         setMenuProperty("sysadmin");
-        initializationScreenContext(_menuProperty);
+        setToolProperty("none");
+        initializationScreenContext(_menuProperty, _toolProperty);
         
         return SUCCESS;
       }
@@ -129,4 +136,20 @@ public class ImportUserAction extends UploadBaseNextAction {
        public void setMenuProperty(String menuProperty) {
                this._menuProperty = menuProperty;
        }
+       
+       /**
+        * 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