]> SALOME platform Git repositories - tools/siman.git/blob - Workspace/Siman/src/org/splat/simer/AbstractDisplayAction.java
Salome HOME
Modifications to respect PMD rules.
[tools/siman.git] / Workspace / Siman / src / org / splat / simer / AbstractDisplayAction.java
1 package org.splat.simer;
2
3
4 public abstract class AbstractDisplayAction extends Action {
5
6     /**
7      * Index of the open object.
8      */
9     protected  transient String _myindex   = null;
10     /**
11      * User activity selection.
12      */
13     protected  String           _selection = null;
14     protected  transient String _action    = null;
15
16         /**
17          * Serial version ID.
18          */
19     private static final long serialVersionUID = 3003902258668626946L;
20
21         protected enum Execute { popup, develop, reduce, reduceall }
22
23 //  ==============================================================================================================================
24 //  Getters and setters
25 //  ==============================================================================================================================
26
27     public String getSelection () {
28 //  -----------------------------
29       return _selection;   // Equals to myobject.getSelection()
30     }
31
32     public void setAction (final String action) {
33 //  -------------------------------------
34       this._action = action;
35     }
36     public void setIndex (final String index) {
37 //  -----------------------------------
38       this._myindex = index;
39     }
40     public void setSelection (final String step) {
41 //  --------------------------------------
42       this._selection = step;
43     }    
44
45 //  ==============================================================================================================================
46 //  Abstract services
47 //  ==============================================================================================================================
48
49     public abstract String getWriteAccess ();
50 }