]> SALOME platform Git repositories - tools/siman.git/blobdiff - Workspace/Siman/src/org/splat/simer/ConnectionAction.java
Salome HOME
Actions menu properties are refactored, unnecessary code is removed.
[tools/siman.git] / Workspace / Siman / src / org / splat / simer / ConnectionAction.java
index ea5628612ea753ef5d0ca201ba8cc5c8663e5804..42020b5dc3503b72f6f9d0535c74b2e5a82a72a5 100644 (file)
@@ -34,8 +34,6 @@ public class ConnectionAction extends Action {
        private String _password = null;
        private transient String _backmenu = null;
 
-       private String _menuProperty;
-
        /**
         * Serial version ID.
         */
@@ -125,8 +123,7 @@ public class ConnectionAction extends Action {
                                }
                                this.connect(context, user); // Updates the session context
 
-                               setMenuProperty(Constants.NONE);
-                               initializationScreenContext(_menuProperty);
+                               initializationScreenContext(Constants.NONE);
 
                                res = _backmenu;
                                if (res == null || "null".equals(res)) {
@@ -177,8 +174,7 @@ public class ConnectionAction extends Action {
 
                        this.disconnect(); // Updates the session context
 
-                       setMenuProperty(Constants.NONE);
-                       initializationScreenContext(_menuProperty);
+                       initializationScreenContext(Constants.NONE);
 
                        res = _backmenu;
                        if (res == null || "null".equals(res)) {
@@ -242,23 +238,4 @@ public class ConnectionAction extends Action {
        public void setBackMenu(final String menu) {
                this._backmenu = menu;
        }
-
-       /**
-        * Get the menuProperty.
-        * 
-        * @return the menuProperty
-        */
-       public String getMenuProperty() {
-               return _menuProperty;
-       }
-
-       /**
-        * Set the menuProperty.
-        * 
-        * @param menuProperty
-        *            the menuProperty to set
-        */
-       public void setMenuProperty(final String menuProperty) {
-               this._menuProperty = menuProperty;
-       }
 }
\ No newline at end of file