Salome HOME
displayStudy.jsp is removed, markup is fixed. KnowledgeElement deleting is fixed.
[tools/siman.git] / Workspace / Siman / src / org / splat / simer / AbstractDisplayAction.java
index 15e755987da41addd520289a124ad107f972fab8..e60f604c47dd37a08549da5c9deda96f37ae8900 100644 (file)
@@ -3,6 +3,11 @@ package org.splat.simer;
 
 public abstract class AbstractDisplayAction extends Action {
 
+       /**
+        * Serial version ID.
+        */
+    private static final long serialVersionUID = 3003902258668626946L;
+
     /**
      * Index of the open object.
      */
@@ -11,13 +16,11 @@ public abstract class AbstractDisplayAction extends Action {
      * User activity selection.
      */
     protected  String           _selection = null;
+    /**
+     * Next action.
+     */
     protected  transient String _action    = null;
 
-       /**
-        * Serial version ID.
-        */
-    private static final long serialVersionUID = 3003902258668626946L;
-
        protected enum Execute { popup, develop, reduce, reduceall }
 
 //  ==============================================================================================================================
@@ -25,20 +28,23 @@ public abstract class AbstractDisplayAction extends Action {
 //  ==============================================================================================================================
 
     public String getSelection () {
-//  -----------------------------
       return _selection;   // Equals to myobject.getSelection()
     }
 
     public void setAction (final String action) {
-//  -------------------------------------
       this._action = action;
     }
     public void setIndex (final String index) {
-//  -----------------------------------
       this._myindex = index;
     }
+       /**
+        * Get the index.
+        * @return the index
+        */
+       public String getIndex() {
+               return _myindex;
+       }
     public void setSelection (final String step) {
-//  --------------------------------------
       this._selection = step;
     }