Revision 1360 branches/pilotoDWG/libraries/libFMap/src/com/iver/cit/gvsig/fmap/edition/cad/cadTools/polilinea.java
polilinea.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 |
if (label.equalsIgnoreCase("cancel")){ |
|
30 |
status = -1; |
|
31 |
|
|
32 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
33 |
} |
|
34 |
|
|
35 |
if (label.equalsIgnoreCase("cancel")){ |
|
36 |
status = -1; |
|
37 |
|
|
38 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
39 |
} |
|
40 |
|
|
41 |
if (label.equalsIgnoreCase("cancel")){ |
|
42 |
status = -1; |
|
43 |
|
|
44 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
45 |
} |
|
46 |
|
|
47 | 11 |
break; |
48 | 12 |
|
49 | 13 |
case 0: |
... | ... | |
60 | 24 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
61 | 25 |
} |
62 | 26 |
|
63 |
if (label.equalsIgnoreCase("punto")){ |
|
64 |
status = 1; |
|
65 |
|
|
66 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
67 |
} |
|
68 |
|
|
69 |
if (label.equalsIgnoreCase("punto")){ |
|
70 |
status = 1; |
|
71 |
|
|
72 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
73 |
} |
|
74 |
|
|
75 |
if (label.equalsIgnoreCase("cancel")){ |
|
76 |
status = -1; |
|
77 |
|
|
78 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
79 |
} |
|
80 |
|
|
81 |
if (label.equalsIgnoreCase("punto")){ |
|
82 |
status = 1; |
|
83 |
|
|
84 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
85 |
} |
|
86 |
|
|
87 |
if (label.equalsIgnoreCase("cancel")){ |
|
88 |
status = -1; |
|
89 |
|
|
90 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
91 |
} |
|
92 |
|
|
93 |
if (label.equalsIgnoreCase("punto")){ |
|
94 |
status = 1; |
|
95 |
|
|
96 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
97 |
} |
|
98 |
|
|
99 |
if (label.equalsIgnoreCase("cancel")){ |
|
100 |
status = -1; |
|
101 |
|
|
102 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
103 |
} |
|
104 |
|
|
105 |
if (label.equalsIgnoreCase("punto")){ |
|
106 |
status = 1; |
|
107 |
|
|
108 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
109 |
} |
|
110 |
|
|
111 |
if (label.equalsIgnoreCase("cancel")){ |
|
112 |
status = -1; |
|
113 |
|
|
114 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
115 |
} |
|
116 |
|
|
117 |
if (label.equalsIgnoreCase("numero")){ |
|
118 |
status = 1; |
|
119 |
|
|
120 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
121 |
} |
|
122 |
|
|
123 |
if (label.equalsIgnoreCase("cancel")){ |
|
124 |
status = -1; |
|
125 |
|
|
126 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
127 |
} |
|
128 |
|
|
129 |
if (label.equalsIgnoreCase("punto")){ |
|
130 |
status = 1; |
|
131 |
|
|
132 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
133 |
} |
|
134 |
|
|
135 |
if (label.equalsIgnoreCase("cancel")){ |
|
136 |
status = -1; |
|
137 |
|
|
138 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
139 |
} |
|
140 |
|
|
141 | 27 |
break; |
142 | 28 |
|
143 | 29 |
case 1: |
144 | 30 |
|
145 | 31 |
if (label.equalsIgnoreCase("punto")){ |
146 |
status = 2; |
|
147 |
|
|
148 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
149 |
} |
|
150 |
|
|
151 |
if (label.equalsIgnoreCase("cancel")){ |
|
152 |
status = -1; |
|
153 |
|
|
154 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
155 |
} |
|
156 |
|
|
157 |
if (label.equalsIgnoreCase("cancel")){ |
|
158 |
status = -1; |
|
159 |
|
|
160 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
161 |
} |
|
162 |
|
|
163 |
if (label.equalsIgnoreCase("punto")){ |
|
164 |
status = -1; |
|
165 |
|
|
166 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
167 |
} |
|
168 |
|
|
169 |
if (label.equalsIgnoreCase("numero")){ |
|
170 |
status = -1; |
|
171 |
|
|
172 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
173 |
} |
|
174 |
|
|
175 |
if (label.equalsIgnoreCase("punto")){ |
|
176 |
status = 2; |
|
177 |
|
|
178 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
179 |
} |
|
180 |
|
|
181 |
if (label.equalsIgnoreCase("cancel")){ |
|
182 |
status = -1; |
|
183 |
|
|
184 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
185 |
} |
|
186 |
|
|
187 |
if (label.equalsIgnoreCase("punto")){ |
|
188 |
status = 2; |
|
189 |
|
|
190 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
191 |
} |
|
192 |
|
|
193 |
if (label.equalsIgnoreCase("numero")){ |
|
194 |
status = 5; |
|
195 |
|
|
196 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
197 |
} |
|
198 |
|
|
199 |
if (label.equalsIgnoreCase("cancel")){ |
|
200 |
status = -1; |
|
201 |
|
|
202 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
203 |
} |
|
204 |
|
|
205 |
if (label.equalsIgnoreCase("punto")){ |
|
206 |
status = 2; |
|
207 |
|
|
208 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
209 |
} |
|
210 |
|
|
211 |
if (label.equalsIgnoreCase("cancel")){ |
|
212 |
status = -1; |
|
213 |
|
|
214 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
215 |
} |
|
216 |
|
|
217 |
if (label.equalsIgnoreCase("punto")){ |
|
218 | 32 |
status = 1; |
219 | 33 |
|
220 | 34 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
... | ... | |
232 | 46 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
233 | 47 |
} |
234 | 48 |
|
235 |
if (label.equalsIgnoreCase("punto")){ |
|
236 |
status = 2; |
|
237 |
|
|
238 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
239 |
} |
|
240 |
|
|
241 |
if (label.equalsIgnoreCase("cancel")){ |
|
242 |
status = -1; |
|
243 |
|
|
244 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
245 |
} |
|
246 |
|
|
247 |
if (label.equalsIgnoreCase("punto")){ |
|
248 |
status = 1; |
|
249 |
|
|
250 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
251 |
} |
|
252 |
|
|
253 |
if (label.equalsIgnoreCase("cerrar")){ |
|
254 |
status = 2; |
|
255 |
|
|
256 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
257 |
} |
|
258 |
|
|
259 |
if (label.equalsIgnoreCase("cancel")){ |
|
260 |
status = -1; |
|
261 |
|
|
262 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
263 |
} |
|
264 |
|
|
265 | 49 |
break; |
266 | 50 |
|
267 | 51 |
case 2: |
268 | 52 |
|
269 |
if (label.equalsIgnoreCase("punto")){ |
|
270 |
status = 3; |
|
271 |
|
|
272 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
273 |
} |
|
274 |
|
|
275 | 53 |
if (label.equalsIgnoreCase("cancel")){ |
276 | 54 |
status = -1; |
277 | 55 |
|
278 | 56 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
279 | 57 |
} |
280 | 58 |
|
281 |
if (label.equalsIgnoreCase("cancel")){ |
|
282 |
status = -1; |
|
283 |
|
|
284 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
285 |
} |
|
286 |
|
|
287 |
if (label.equalsIgnoreCase("numero")){ |
|
288 |
status = 3; |
|
289 |
|
|
290 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
291 |
} |
|
292 |
|
|
293 |
if (label.equalsIgnoreCase("punto")){ |
|
294 |
status = 4; |
|
295 |
|
|
296 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
297 |
} |
|
298 |
|
|
299 |
if (label.equalsIgnoreCase("cancel")){ |
|
300 |
status = -1; |
|
301 |
|
|
302 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
303 |
} |
|
304 |
|
|
305 |
if (label.equalsIgnoreCase("punto")){ |
|
306 |
status = 2; |
|
307 |
|
|
308 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
309 |
} |
|
310 |
|
|
311 |
if (label.equalsIgnoreCase("cancel")){ |
|
312 |
status = -1; |
|
313 |
|
|
314 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
315 |
} |
|
316 |
|
|
317 |
if (label.equalsIgnoreCase("cancel")){ |
|
318 |
status = -1; |
|
319 |
|
|
320 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
321 |
} |
|
322 |
|
|
323 |
if (label.equalsIgnoreCase("numero")){ |
|
324 |
status = 3; |
|
325 |
|
|
326 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
327 |
} |
|
328 |
|
|
329 |
if (label.equalsIgnoreCase("punto")){ |
|
330 |
status = 4; |
|
331 |
|
|
332 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
333 |
} |
|
334 |
|
|
335 |
if (label.equalsIgnoreCase("cancel")){ |
|
336 |
status = -1; |
|
337 |
|
|
338 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
339 |
} |
|
340 |
|
|
341 |
if (label.equalsIgnoreCase("cancel")){ |
|
342 |
status = -1; |
|
343 |
|
|
344 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
345 |
} |
|
346 |
|
|
347 | 59 |
break; |
348 | 60 |
|
349 |
case 3: |
|
350 |
|
|
351 |
if (label.equalsIgnoreCase("cancel")){ |
|
352 |
status = -1; |
|
353 |
|
|
354 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
355 |
} |
|
356 |
|
|
357 |
if (label.equalsIgnoreCase("cancel")){ |
|
358 |
status = -1; |
|
359 |
|
|
360 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
361 |
} |
|
362 |
|
|
363 |
if (label.equalsIgnoreCase("cancel")){ |
|
364 |
status = -1; |
|
365 |
|
|
366 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
367 |
} |
|
368 |
|
|
369 |
if (label.equalsIgnoreCase("cancel")){ |
|
370 |
status = -1; |
|
371 |
|
|
372 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
373 |
} |
|
374 |
|
|
375 |
if (label.equalsIgnoreCase("cancel")){ |
|
376 |
status = -1; |
|
377 |
|
|
378 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
379 |
} |
|
380 |
|
|
381 |
if (label.equalsIgnoreCase("cancel")){ |
|
382 |
status = -1; |
|
383 |
|
|
384 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
385 |
} |
|
386 |
|
|
387 |
if (label.equalsIgnoreCase("cancel")){ |
|
388 |
status = -1; |
|
389 |
|
|
390 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
391 |
} |
|
392 |
|
|
393 |
break; |
|
394 |
|
|
395 |
case 4: |
|
396 |
|
|
397 |
if (label.equalsIgnoreCase("cancel")){ |
|
398 |
status = -1; |
|
399 |
|
|
400 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
401 |
} |
|
402 |
|
|
403 |
if (label.equalsIgnoreCase("cancel")){ |
|
404 |
status = -1; |
|
405 |
|
|
406 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
407 |
} |
|
408 |
|
|
409 |
if (label.equalsIgnoreCase("cancel")){ |
|
410 |
status = -1; |
|
411 |
|
|
412 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
413 |
} |
|
414 |
|
|
415 |
if (label.equalsIgnoreCase("cancel")){ |
|
416 |
status = -1; |
|
417 |
|
|
418 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
419 |
} |
|
420 |
|
|
421 |
if (label.equalsIgnoreCase("cancel")){ |
|
422 |
status = -1; |
|
423 |
|
|
424 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
425 |
} |
|
426 |
|
|
427 |
break; |
|
428 |
|
|
429 |
case 5: |
|
430 |
|
|
431 |
if (label.equalsIgnoreCase("numero")){ |
|
432 |
status = 3; |
|
433 |
|
|
434 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
435 |
} |
|
436 |
|
|
437 |
if (label.equalsIgnoreCase("punto")){ |
|
438 |
status = 4; |
|
439 |
|
|
440 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
441 |
} |
|
442 |
|
|
443 |
if (label.equalsIgnoreCase("cancel")){ |
|
444 |
status = -1; |
|
445 |
|
|
446 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
447 |
} |
|
448 |
|
|
449 |
if (label.equalsIgnoreCase("cancel")){ |
|
450 |
status = -1; |
|
451 |
|
|
452 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
453 |
} |
|
454 |
|
|
455 |
if (label.equalsIgnoreCase("cancel")){ |
|
456 |
status = -1; |
|
457 |
|
|
458 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
459 |
} |
|
460 |
|
|
461 |
if (label.equalsIgnoreCase("cancel")){ |
|
462 |
status = -1; |
|
463 |
|
|
464 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
465 |
} |
|
466 |
|
|
467 |
if (label.equalsIgnoreCase("cancel")){ |
|
468 |
status = -1; |
|
469 |
|
|
470 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
471 |
} |
|
472 |
|
|
473 |
break; |
|
474 |
|
|
475 | 61 |
} |
476 | 62 |
|
477 | 63 |
return com.iver.fsac.Automaton.TRANSITION_FAILED; |
Also available in: Unified diff