Revision 1360 branches/pilotoDWG/libraries/libFMap/src/com/iver/cit/gvsig/fmap/edition/cad/cadTools/punto.java
punto.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 |
if (label.equalsIgnoreCase("cancel")){ |
|
48 |
status = -1; |
|
49 |
|
|
50 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
51 |
} |
|
52 |
|
|
53 | 11 |
break; |
54 | 12 |
|
55 | 13 |
case 0: |
... | ... | |
66 | 24 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
67 | 25 |
} |
68 | 26 |
|
69 |
if (label.equalsIgnoreCase("punto")){ |
|
70 |
status = 1; |
|
71 |
|
|
72 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
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 |
if (label.equalsIgnoreCase("punto")){ |
|
88 |
status = 1; |
|
89 |
|
|
90 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
91 |
} |
|
92 |
|
|
93 |
if (label.equalsIgnoreCase("cancel")){ |
|
94 |
status = -1; |
|
95 |
|
|
96 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
97 |
} |
|
98 |
|
|
99 |
if (label.equalsIgnoreCase("punto")){ |
|
100 |
status = 1; |
|
101 |
|
|
102 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
103 |
} |
|
104 |
|
|
105 |
if (label.equalsIgnoreCase("cancel")){ |
|
106 |
status = -1; |
|
107 |
|
|
108 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
109 |
} |
|
110 |
|
|
111 |
if (label.equalsIgnoreCase("punto")){ |
|
112 |
status = 1; |
|
113 |
|
|
114 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
115 |
} |
|
116 |
|
|
117 |
if (label.equalsIgnoreCase("cancel")){ |
|
118 |
status = -1; |
|
119 |
|
|
120 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
121 |
} |
|
122 |
|
|
123 |
if (label.equalsIgnoreCase("numero")){ |
|
124 |
status = 1; |
|
125 |
|
|
126 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
127 |
} |
|
128 |
|
|
129 |
if (label.equalsIgnoreCase("cancel")){ |
|
130 |
status = -1; |
|
131 |
|
|
132 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
133 |
} |
|
134 |
|
|
135 |
if (label.equalsIgnoreCase("punto")){ |
|
136 |
status = 1; |
|
137 |
|
|
138 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
139 |
} |
|
140 |
|
|
141 |
if (label.equalsIgnoreCase("cancel")){ |
|
142 |
status = -1; |
|
143 |
|
|
144 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
145 |
} |
|
146 |
|
|
147 |
if (label.equalsIgnoreCase("punto")){ |
|
148 |
status = 1; |
|
149 |
|
|
150 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
151 |
} |
|
152 |
|
|
153 |
if (label.equalsIgnoreCase("cancel")){ |
|
154 |
status = -1; |
|
155 |
|
|
156 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
157 |
} |
|
158 |
|
|
159 | 27 |
break; |
160 | 28 |
|
161 | 29 |
case 1: |
162 | 30 |
|
163 | 31 |
if (label.equalsIgnoreCase("punto")){ |
164 |
status = 2; |
|
165 |
|
|
166 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
167 |
} |
|
168 |
|
|
169 |
if (label.equalsIgnoreCase("cancel")){ |
|
170 |
status = -1; |
|
171 |
|
|
172 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
173 |
} |
|
174 |
|
|
175 |
if (label.equalsIgnoreCase("cancel")){ |
|
176 |
status = -1; |
|
177 |
|
|
178 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
179 |
} |
|
180 |
|
|
181 |
if (label.equalsIgnoreCase("punto")){ |
|
182 |
status = -1; |
|
183 |
|
|
184 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
185 |
} |
|
186 |
|
|
187 |
if (label.equalsIgnoreCase("numero")){ |
|
188 |
status = -1; |
|
189 |
|
|
190 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
191 |
} |
|
192 |
|
|
193 |
if (label.equalsIgnoreCase("punto")){ |
|
194 |
status = 2; |
|
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("numero")){ |
|
212 |
status = 5; |
|
213 |
|
|
214 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
215 |
} |
|
216 |
|
|
217 |
if (label.equalsIgnoreCase("cancel")){ |
|
218 |
status = -1; |
|
219 |
|
|
220 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
221 |
} |
|
222 |
|
|
223 |
if (label.equalsIgnoreCase("punto")){ |
|
224 |
status = 2; |
|
225 |
|
|
226 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
227 |
} |
|
228 |
|
|
229 |
if (label.equalsIgnoreCase("cancel")){ |
|
230 |
status = -1; |
|
231 |
|
|
232 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
233 |
} |
|
234 |
|
|
235 |
if (label.equalsIgnoreCase("punto")){ |
|
236 | 32 |
status = 1; |
237 | 33 |
|
238 | 34 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
239 | 35 |
} |
240 | 36 |
|
241 |
if (label.equalsIgnoreCase("cerrar")){ |
|
242 |
status = 2; |
|
243 |
|
|
244 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
245 |
} |
|
246 |
|
|
247 | 37 |
if (label.equalsIgnoreCase("cancel")){ |
248 | 38 |
status = -1; |
249 | 39 |
|
250 | 40 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
251 | 41 |
} |
252 | 42 |
|
253 |
if (label.equalsIgnoreCase("punto")){ |
|
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 |
if (label.equalsIgnoreCase("punto")){ |
|
266 |
status = 1; |
|
267 |
|
|
268 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
269 |
} |
|
270 |
|
|
271 |
if (label.equalsIgnoreCase("cerrar")){ |
|
272 |
status = 2; |
|
273 |
|
|
274 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
275 |
} |
|
276 |
|
|
277 |
if (label.equalsIgnoreCase("cancel")){ |
|
278 |
status = -1; |
|
279 |
|
|
280 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
281 |
} |
|
282 |
|
|
283 |
if (label.equalsIgnoreCase("punto")){ |
|
284 |
status = 1; |
|
285 |
|
|
286 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
287 |
} |
|
288 |
|
|
289 |
if (label.equalsIgnoreCase("cancel")){ |
|
290 |
status = -1; |
|
291 |
|
|
292 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
293 |
} |
|
294 |
|
|
295 | 43 |
break; |
296 | 44 |
|
297 |
case 2: |
|
298 |
|
|
299 |
if (label.equalsIgnoreCase("punto")){ |
|
300 |
status = 3; |
|
301 |
|
|
302 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
303 |
} |
|
304 |
|
|
305 |
if (label.equalsIgnoreCase("cancel")){ |
|
306 |
status = -1; |
|
307 |
|
|
308 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
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("numero")){ |
|
318 |
status = 3; |
|
319 |
|
|
320 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
321 |
} |
|
322 |
|
|
323 |
if (label.equalsIgnoreCase("punto")){ |
|
324 |
status = 4; |
|
325 |
|
|
326 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
327 |
} |
|
328 |
|
|
329 |
if (label.equalsIgnoreCase("cancel")){ |
|
330 |
status = -1; |
|
331 |
|
|
332 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
333 |
} |
|
334 |
|
|
335 |
if (label.equalsIgnoreCase("punto")){ |
|
336 |
status = 2; |
|
337 |
|
|
338 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
339 |
} |
|
340 |
|
|
341 |
if (label.equalsIgnoreCase("cancel")){ |
|
342 |
status = -1; |
|
343 |
|
|
344 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
345 |
} |
|
346 |
|
|
347 |
if (label.equalsIgnoreCase("cancel")){ |
|
348 |
status = -1; |
|
349 |
|
|
350 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
351 |
} |
|
352 |
|
|
353 |
if (label.equalsIgnoreCase("numero")){ |
|
354 |
status = 3; |
|
355 |
|
|
356 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
357 |
} |
|
358 |
|
|
359 |
if (label.equalsIgnoreCase("punto")){ |
|
360 |
status = 4; |
|
361 |
|
|
362 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
363 |
} |
|
364 |
|
|
365 |
if (label.equalsIgnoreCase("cancel")){ |
|
366 |
status = -1; |
|
367 |
|
|
368 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
369 |
} |
|
370 |
|
|
371 |
if (label.equalsIgnoreCase("cancel")){ |
|
372 |
status = -1; |
|
373 |
|
|
374 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
375 |
} |
|
376 |
|
|
377 |
if (label.equalsIgnoreCase("cancel")){ |
|
378 |
status = -1; |
|
379 |
|
|
380 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
381 |
} |
|
382 |
|
|
383 |
break; |
|
384 |
|
|
385 |
case 3: |
|
386 |
|
|
387 |
if (label.equalsIgnoreCase("cancel")){ |
|
388 |
status = -1; |
|
389 |
|
|
390 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
391 |
} |
|
392 |
|
|
393 |
if (label.equalsIgnoreCase("cancel")){ |
|
394 |
status = -1; |
|
395 |
|
|
396 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
397 |
} |
|
398 |
|
|
399 |
if (label.equalsIgnoreCase("cancel")){ |
|
400 |
status = -1; |
|
401 |
|
|
402 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
403 |
} |
|
404 |
|
|
405 |
if (label.equalsIgnoreCase("cancel")){ |
|
406 |
status = -1; |
|
407 |
|
|
408 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
409 |
} |
|
410 |
|
|
411 |
if (label.equalsIgnoreCase("cancel")){ |
|
412 |
status = -1; |
|
413 |
|
|
414 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
415 |
} |
|
416 |
|
|
417 |
if (label.equalsIgnoreCase("cancel")){ |
|
418 |
status = -1; |
|
419 |
|
|
420 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
421 |
} |
|
422 |
|
|
423 |
if (label.equalsIgnoreCase("cancel")){ |
|
424 |
status = -1; |
|
425 |
|
|
426 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
427 |
} |
|
428 |
|
|
429 |
if (label.equalsIgnoreCase("cancel")){ |
|
430 |
status = -1; |
|
431 |
|
|
432 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
433 |
} |
|
434 |
|
|
435 |
break; |
|
436 |
|
|
437 |
case 4: |
|
438 |
|
|
439 |
if (label.equalsIgnoreCase("cancel")){ |
|
440 |
status = -1; |
|
441 |
|
|
442 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
443 |
} |
|
444 |
|
|
445 |
if (label.equalsIgnoreCase("cancel")){ |
|
446 |
status = -1; |
|
447 |
|
|
448 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
449 |
} |
|
450 |
|
|
451 |
if (label.equalsIgnoreCase("cancel")){ |
|
452 |
status = -1; |
|
453 |
|
|
454 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
455 |
} |
|
456 |
|
|
457 |
if (label.equalsIgnoreCase("cancel")){ |
|
458 |
status = -1; |
|
459 |
|
|
460 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
461 |
} |
|
462 |
|
|
463 |
if (label.equalsIgnoreCase("cancel")){ |
|
464 |
status = -1; |
|
465 |
|
|
466 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
467 |
} |
|
468 |
|
|
469 |
if (label.equalsIgnoreCase("cancel")){ |
|
470 |
status = -1; |
|
471 |
|
|
472 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
473 |
} |
|
474 |
|
|
475 |
break; |
|
476 |
|
|
477 |
case 5: |
|
478 |
|
|
479 |
if (label.equalsIgnoreCase("numero")){ |
|
480 |
status = 3; |
|
481 |
|
|
482 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
483 |
} |
|
484 |
|
|
485 |
if (label.equalsIgnoreCase("punto")){ |
|
486 |
status = 4; |
|
487 |
|
|
488 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
489 |
} |
|
490 |
|
|
491 |
if (label.equalsIgnoreCase("cancel")){ |
|
492 |
status = -1; |
|
493 |
|
|
494 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
495 |
} |
|
496 |
|
|
497 |
if (label.equalsIgnoreCase("cancel")){ |
|
498 |
status = -1; |
|
499 |
|
|
500 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
501 |
} |
|
502 |
|
|
503 |
if (label.equalsIgnoreCase("cancel")){ |
|
504 |
status = -1; |
|
505 |
|
|
506 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
507 |
} |
|
508 |
|
|
509 |
if (label.equalsIgnoreCase("cancel")){ |
|
510 |
status = -1; |
|
511 |
|
|
512 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
513 |
} |
|
514 |
|
|
515 |
if (label.equalsIgnoreCase("cancel")){ |
|
516 |
status = -1; |
|
517 |
|
|
518 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
519 |
} |
|
520 |
|
|
521 |
if (label.equalsIgnoreCase("cancel")){ |
|
522 |
status = -1; |
|
523 |
|
|
524 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
525 |
} |
|
526 |
|
|
527 |
break; |
|
528 |
|
|
529 | 45 |
} |
530 | 46 |
|
531 | 47 |
return com.iver.fsac.Automaton.TRANSITION_FAILED; |
Also available in: Unified diff