Revision 1385 branches/pilotoDWG/libraries/libFMap/src/com/iver/cit/gvsig/fmap/edition/cad/cadTools/Estirar.java
Estirar.java | ||
---|---|---|
12 | 12 |
|
13 | 13 |
case 0: |
14 | 14 |
|
15 |
if (label.equalsIgnoreCase("punto")){
|
|
15 |
if ("punto".equalsIgnoreCase(label)){
|
|
16 | 16 |
status = 1; |
17 | 17 |
|
18 | 18 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
19 | 19 |
} |
20 | 20 |
|
21 |
if (label.equalsIgnoreCase("cancel")){
|
|
21 |
if ("cancel".equalsIgnoreCase(label)){
|
|
22 | 22 |
status = -1; |
23 | 23 |
|
24 | 24 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
... | ... | |
28 | 28 |
|
29 | 29 |
case 1: |
30 | 30 |
|
31 |
if (label.equalsIgnoreCase("punto")){
|
|
31 |
if ("punto".equalsIgnoreCase(label)){
|
|
32 | 32 |
status = 1; |
33 | 33 |
|
34 | 34 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
35 | 35 |
} |
36 | 36 |
|
37 |
if (label.equalsIgnoreCase("aceptar")){
|
|
37 |
if ("aceptar".equalsIgnoreCase(label)){
|
|
38 | 38 |
status = 2; |
39 | 39 |
|
40 | 40 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
41 | 41 |
} |
42 | 42 |
|
43 |
if (label.equalsIgnoreCase("cancel")){
|
|
43 |
if ("cancel".equalsIgnoreCase(label)){
|
|
44 | 44 |
status = -1; |
45 | 45 |
|
46 | 46 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
... | ... | |
50 | 50 |
|
51 | 51 |
case 2: |
52 | 52 |
|
53 |
if (label.equalsIgnoreCase("punto")){
|
|
53 |
if ("punto".equalsIgnoreCase(label)){
|
|
54 | 54 |
status = 3; |
55 | 55 |
|
56 | 56 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
57 | 57 |
} |
58 | 58 |
|
59 |
if (label.equalsIgnoreCase("cancel")){
|
|
59 |
if ("cancel".equalsIgnoreCase(label)){
|
|
60 | 60 |
status = -1; |
61 | 61 |
|
62 | 62 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
... | ... | |
66 | 66 |
|
67 | 67 |
case 3: |
68 | 68 |
|
69 |
if (label.equalsIgnoreCase("punto")){
|
|
69 |
if ("punto".equalsIgnoreCase(label)){
|
|
70 | 70 |
status = 4; |
71 | 71 |
|
72 | 72 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
73 | 73 |
} |
74 | 74 |
|
75 |
if (label.equalsIgnoreCase("cancel")){
|
|
75 |
if ("cancel".equalsIgnoreCase(label)){
|
|
76 | 76 |
status = -1; |
77 | 77 |
|
78 | 78 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
... | ... | |
82 | 82 |
|
83 | 83 |
case 4: |
84 | 84 |
|
85 |
if (label.equalsIgnoreCase("punto")){
|
|
85 |
if ("punto".equalsIgnoreCase(label)){
|
|
86 | 86 |
status = 3; |
87 | 87 |
|
88 | 88 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
89 | 89 |
} |
90 | 90 |
|
91 |
if (label.equalsIgnoreCase("cancel")){
|
|
91 |
if ("cancel".equalsIgnoreCase(label)){
|
|
92 | 92 |
status = -1; |
93 | 93 |
|
94 | 94 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
Also available in: Unified diff