Revision 1360 branches/pilotoDWG/libraries/libFMap/src/com/iver/cit/gvsig/fmap/edition/cad/cadTools/linea.java
linea.java | ||
---|---|---|
8 | 8 |
|
9 | 9 |
case -1: |
10 | 10 |
|
11 |
if (label.equalsIgnoreCase("cancel")){ |
|
12 |
status = -1; |
|
13 |
|
|
14 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
15 |
} |
|
16 |
|
|
17 |
if (label.equalsIgnoreCase("cancel")){ |
|
18 |
status = -1; |
|
19 |
|
|
20 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
21 |
} |
|
22 |
|
|
23 |
if (label.equalsIgnoreCase("cancel")){ |
|
24 |
status = -1; |
|
25 |
|
|
26 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
27 |
} |
|
28 |
|
|
29 | 11 |
break; |
30 | 12 |
|
31 | 13 |
case 0: |
... | ... | |
42 | 24 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
43 | 25 |
} |
44 | 26 |
|
45 |
if (label.equalsIgnoreCase("punto")){ |
|
46 |
status = 1; |
|
47 |
|
|
48 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
49 |
} |
|
50 |
|
|
51 |
if (label.equalsIgnoreCase("punto")){ |
|
52 |
status = 1; |
|
53 |
|
|
54 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
55 |
} |
|
56 |
|
|
57 |
if (label.equalsIgnoreCase("cancel")){ |
|
58 |
status = -1; |
|
59 |
|
|
60 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
61 |
} |
|
62 |
|
|
63 |
if (label.equalsIgnoreCase("punto")){ |
|
64 |
status = 1; |
|
65 |
|
|
66 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
67 |
} |
|
68 |
|
|
69 |
if (label.equalsIgnoreCase("cancel")){ |
|
70 |
status = -1; |
|
71 |
|
|
72 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
73 |
} |
|
74 |
|
|
75 |
if (label.equalsIgnoreCase("punto")){ |
|
76 |
status = 1; |
|
77 |
|
|
78 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
79 |
} |
|
80 |
|
|
81 |
if (label.equalsIgnoreCase("cancel")){ |
|
82 |
status = -1; |
|
83 |
|
|
84 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
85 |
} |
|
86 |
|
|
87 | 27 |
break; |
88 | 28 |
|
89 | 29 |
case 1: |
... | ... | |
100 | 40 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
101 | 41 |
} |
102 | 42 |
|
103 |
if (label.equalsIgnoreCase("cancel")){ |
|
104 |
status = -1; |
|
105 |
|
|
106 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
107 |
} |
|
108 |
|
|
109 |
if (label.equalsIgnoreCase("punto")){ |
|
110 |
status = -1; |
|
111 |
|
|
112 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
113 |
} |
|
114 |
|
|
115 |
if (label.equalsIgnoreCase("numero")){ |
|
116 |
status = -1; |
|
117 |
|
|
118 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
119 |
} |
|
120 |
|
|
121 |
if (label.equalsIgnoreCase("punto")){ |
|
122 |
status = 2; |
|
123 |
|
|
124 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
125 |
} |
|
126 |
|
|
127 |
if (label.equalsIgnoreCase("cancel")){ |
|
128 |
status = -1; |
|
129 |
|
|
130 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
131 |
} |
|
132 |
|
|
133 |
if (label.equalsIgnoreCase("punto")){ |
|
134 |
status = 2; |
|
135 |
|
|
136 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
137 |
} |
|
138 |
|
|
139 |
if (label.equalsIgnoreCase("numero")){ |
|
140 |
status = 5; |
|
141 |
|
|
142 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
143 |
} |
|
144 |
|
|
145 |
if (label.equalsIgnoreCase("cancel")){ |
|
146 |
status = -1; |
|
147 |
|
|
148 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
149 |
} |
|
150 |
|
|
151 |
if (label.equalsIgnoreCase("punto")){ |
|
152 |
status = 2; |
|
153 |
|
|
154 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
155 |
} |
|
156 |
|
|
157 |
if (label.equalsIgnoreCase("cancel")){ |
|
158 |
status = -1; |
|
159 |
|
|
160 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
161 |
} |
|
162 |
|
|
163 | 43 |
break; |
164 | 44 |
|
165 | 45 |
case 2: |
166 | 46 |
|
167 | 47 |
if (label.equalsIgnoreCase("punto")){ |
168 |
status = 3; |
|
169 |
|
|
170 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
171 |
} |
|
172 |
|
|
173 |
if (label.equalsIgnoreCase("cancel")){ |
|
174 |
status = -1; |
|
175 |
|
|
176 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
177 |
} |
|
178 |
|
|
179 |
if (label.equalsIgnoreCase("cancel")){ |
|
180 |
status = -1; |
|
181 |
|
|
182 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
183 |
} |
|
184 |
|
|
185 |
if (label.equalsIgnoreCase("numero")){ |
|
186 |
status = 3; |
|
187 |
|
|
188 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
189 |
} |
|
190 |
|
|
191 |
if (label.equalsIgnoreCase("punto")){ |
|
192 |
status = 4; |
|
193 |
|
|
194 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
195 |
} |
|
196 |
|
|
197 |
if (label.equalsIgnoreCase("cancel")){ |
|
198 |
status = -1; |
|
199 |
|
|
200 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
201 |
} |
|
202 |
|
|
203 |
if (label.equalsIgnoreCase("punto")){ |
|
204 | 48 |
status = 2; |
205 | 49 |
|
206 | 50 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
... | ... | |
214 | 58 |
|
215 | 59 |
break; |
216 | 60 |
|
217 |
case 3: |
|
218 |
|
|
219 |
if (label.equalsIgnoreCase("cancel")){ |
|
220 |
status = -1; |
|
221 |
|
|
222 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
223 |
} |
|
224 |
|
|
225 |
if (label.equalsIgnoreCase("cancel")){ |
|
226 |
status = -1; |
|
227 |
|
|
228 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
229 |
} |
|
230 |
|
|
231 |
if (label.equalsIgnoreCase("cancel")){ |
|
232 |
status = -1; |
|
233 |
|
|
234 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
235 |
} |
|
236 |
|
|
237 |
if (label.equalsIgnoreCase("cancel")){ |
|
238 |
status = -1; |
|
239 |
|
|
240 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
241 |
} |
|
242 |
|
|
243 |
break; |
|
244 |
|
|
245 |
case 4: |
|
246 |
|
|
247 |
if (label.equalsIgnoreCase("cancel")){ |
|
248 |
status = -1; |
|
249 |
|
|
250 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
251 |
} |
|
252 |
|
|
253 |
if (label.equalsIgnoreCase("cancel")){ |
|
254 |
status = -1; |
|
255 |
|
|
256 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
257 |
} |
|
258 |
|
|
259 |
break; |
|
260 |
|
|
261 |
case 5: |
|
262 |
|
|
263 |
if (label.equalsIgnoreCase("numero")){ |
|
264 |
status = 3; |
|
265 |
|
|
266 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
267 |
} |
|
268 |
|
|
269 |
if (label.equalsIgnoreCase("punto")){ |
|
270 |
status = 4; |
|
271 |
|
|
272 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
273 |
} |
|
274 |
|
|
275 |
if (label.equalsIgnoreCase("cancel")){ |
|
276 |
status = -1; |
|
277 |
|
|
278 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
279 |
} |
|
280 |
|
|
281 |
if (label.equalsIgnoreCase("cancel")){ |
|
282 |
status = -1; |
|
283 |
|
|
284 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
285 |
} |
|
286 |
|
|
287 |
break; |
|
288 |
|
|
289 | 61 |
} |
290 | 62 |
|
291 | 63 |
return com.iver.fsac.Automaton.TRANSITION_FAILED; |
Also available in: Unified diff