]> SALOME platform Git repositories - tools/siman.git/blobdiff - Workspace/Siman/src/org/splat/simer/SearchKnowledgeAction.java
Salome HOME
Tool bar is improved.
[tools/siman.git] / Workspace / Siman / src / org / splat / simer / SearchKnowledgeAction.java
index 009f8c03f00b429121e5c1d4aef01d6ac11b70e3..ac8b541a790824f7e85c6da7eaa379fbb2be0c99 100644 (file)
@@ -53,6 +53,12 @@ public class SearchKnowledgeAction extends SearchBaseAction {
         * 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
@@ -66,7 +72,8 @@ public class SearchKnowledgeAction extends SearchBaseAction {
        public String doInitialize() {
                
                setMenuProperty("open");
-               initializationScreenContext(_menuProperty);
+               setToolProperty("none");
+               initializationScreenContext(_menuProperty, _toolProperty);
                
                try {
                        loadFilter();
@@ -351,4 +358,20 @@ public class SearchKnowledgeAction extends SearchBaseAction {
        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