]> SALOME platform Git repositories - tools/siman.git/blob - Workspace/Siman/src/org/splat/simer/NotYetImplementedAction.java
Salome HOME
Tool bar is improved.
[tools/siman.git] / Workspace / Siman / src / org / splat / simer / NotYetImplementedAction.java
1 package org.splat.simer;
2
3
4 public class NotYetImplementedAction extends Action {
5
6         /**
7          * Serial version ID.
8          */
9         private static final long serialVersionUID = 3131921588316476454L;
10         
11         /**
12          * Value of the menu property. 
13          * It can be: none, create, open, study, knowledge, sysadmin, help.
14          */
15         private String _menuProperty;
16         
17         /**
18          * Value of the title bar property. 
19          * It can be: study, knowledge.
20          */
21         private String _titleProperty;
22         
23         /**
24          * Property that indicates whether the current open study is editable or not.
25          * On the screen it looks like pen on the status icon, pop-up menu also can be called.
26          * It is necessary for correct building the title bar.
27          */
28         private String _editDisabledProperty = "false";
29         
30         /**
31          * Value of the tool bar property. 
32          * It can be: none, standard, study, back.
33          */
34         private String _toolProperty;
35
36 //  ==============================================================================================================================
37 //  Action methods
38 //  ==============================================================================================================================
39
40     public String doInitialize () {
41 //  -----------------------------   
42         
43         setMenuProperty("study");
44         setTitleProperty("study");
45         setEditDisabledProperty("true");
46         setToolProperty("none");
47         initializationScreenContext(_menuProperty, _titleProperty, _editDisabledProperty, _toolProperty);
48                 
49       return SUCCESS;
50     }
51     
52     /**
53          * Get the menuProperty.
54          * @return the menuProperty
55          */
56         public String getMenuProperty() {
57                 return _menuProperty;
58         }
59
60         /**
61          * Set the menuProperty.
62          * @param menuProperty the menuProperty to set
63          */
64         public void setMenuProperty(String menuProperty) {
65                 this._menuProperty = menuProperty;
66         }
67         
68         /**
69          * Get the _titleProperty.
70          * @return the _titleProperty
71          */
72         public String getTitleProperty() {
73                 return _titleProperty;
74         }
75
76         /**
77          * Set the _titleProperty.
78          * @param _titleProperty the titleProperty to set
79          */
80         public void setTitleProperty(String titleProperty) {
81                 _titleProperty = titleProperty;
82         }
83
84         /**
85          * Get the editDisabledProperty.
86          * @return the editDisabledProperty
87          */
88         public final String getEditDisabledProperty() {
89                 return _editDisabledProperty;
90         }
91
92         /**
93          * Set the editDisabledProperty.
94          * @param editDisabledProperty the editDisabledProperty to set
95          */
96         public final void setEditDisabledProperty(String editDisabledProperty) {
97                 _editDisabledProperty = editDisabledProperty;
98         }
99
100         /**
101          * Get the toolProperty.
102          * @return the toolProperty
103          */
104         public String getToolProperty() {
105                 return _toolProperty;
106         }
107
108         /**
109          * Set the toolProperty.
110          * @param toolProperty the toolProperty to set
111          */
112         public void setToolProperty(final String toolProperty) {
113                 _toolProperty = toolProperty;
114         }
115 }