Salome HOME
Tiles is added
[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          * Value of the left menu property. 
38          * It can be: open, study, knowledge, scenario.
39          */
40         private String _leftMenuProperty;
41
42 //  ==============================================================================================================================
43 //  Action methods
44 //  ==============================================================================================================================
45
46     public String doInitialize () {
47 //  -----------------------------   
48         
49         setMenuProperty("study");
50         setTitleProperty("study");
51         setEditDisabledProperty("true");
52         setToolProperty("none");
53         setLeftMenuProperty("study");
54         initializationFullScreenContext(_menuProperty, _titleProperty, _editDisabledProperty, _toolProperty, _leftMenuProperty);
55         
56         setErrorCode("message.error.notyetimplemented");
57                 
58       return SUCCESS;
59     }
60     
61     /**
62          * Get the menuProperty.
63          * @return the menuProperty
64          */
65         public String getMenuProperty() {
66                 return _menuProperty;
67         }
68
69         /**
70          * Set the menuProperty.
71          * @param menuProperty the menuProperty to set
72          */
73         public void setMenuProperty(final String menuProperty) {
74                 this._menuProperty = menuProperty;
75         }
76         
77         /**
78          * Get the _titleProperty.
79          * @return the _titleProperty
80          */
81         public String getTitleProperty() {
82                 return _titleProperty;
83         }
84
85         /**
86          * Set the _titleProperty.
87          * @param _titleProperty the titleProperty to set
88          */
89         public void setTitleProperty(final String titleProperty) {
90                 _titleProperty = titleProperty;
91         }
92
93         /**
94          * Get the editDisabledProperty.
95          * @return the editDisabledProperty
96          */
97         public final String getEditDisabledProperty() {
98                 return _editDisabledProperty;
99         }
100
101         /**
102          * Set the editDisabledProperty.
103          * @param editDisabledProperty the editDisabledProperty to set
104          */
105         public final void setEditDisabledProperty(final String editDisabledProperty) {
106                 _editDisabledProperty = editDisabledProperty;
107         }
108
109         /**
110          * Get the toolProperty.
111          * @return the toolProperty
112          */
113         public String getToolProperty() {
114                 return _toolProperty;
115         }
116
117         /**
118          * Set the toolProperty.
119          * @param toolProperty the toolProperty to set
120          */
121         public void setToolProperty(final String toolProperty) {
122                 _toolProperty = toolProperty;
123         }
124         
125         /**
126          * Get the leftMenuProperty.
127          * @return the leftMenuProperty
128          */
129         public String getLeftMenuProperty() {
130                 return _leftMenuProperty;
131         }
132
133         /**
134          * Set the leftMenuProperty.
135          * @param leftMenuProperty the leftMenuProperty to set
136          */
137         public void setLeftMenuProperty(final String leftMenuProperty) {
138                 _leftMenuProperty = leftMenuProperty;
139         }
140 }