Revision 1385 branches/pilotoDWG/libraries/libFMap/src/com/iver/cit/gvsig/fmap/edition/cad/cadTools/Girar.java
Girar.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("numero")){
|
|
69 |
if ("numero".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("punto")){
|
|
75 |
if ("punto".equalsIgnoreCase(label)){
|
|
76 | 76 |
status = 5; |
77 | 77 |
|
78 | 78 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
79 | 79 |
} |
80 | 80 |
|
81 |
if (label.equalsIgnoreCase("cancel")){
|
|
81 |
if ("cancel".equalsIgnoreCase(label)){
|
|
82 | 82 |
status = -1; |
83 | 83 |
|
84 | 84 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
... | ... | |
88 | 88 |
|
89 | 89 |
case 4: |
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; |
... | ... | |
98 | 98 |
|
99 | 99 |
case 5: |
100 | 100 |
|
101 |
if (label.equalsIgnoreCase("cancel")){
|
|
101 |
if ("cancel".equalsIgnoreCase(label)){
|
|
102 | 102 |
status = -1; |
103 | 103 |
|
104 | 104 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
Also available in: Unified diff