Revision 1360 branches/pilotoDWG/libraries/libFMap/src/com/iver/cit/gvsig/fmap/edition/cad/cadTools/elipse.java
elipse.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 | 11 |
break; |
24 | 12 |
|
25 | 13 |
case 0: |
... | ... | |
36 | 24 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
37 | 25 |
} |
38 | 26 |
|
39 |
if (label.equalsIgnoreCase("punto")){ |
|
40 |
status = 1; |
|
41 |
|
|
42 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
43 |
} |
|
44 |
|
|
45 |
if (label.equalsIgnoreCase("punto")){ |
|
46 |
status = 1; |
|
47 |
|
|
48 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
49 |
} |
|
50 |
|
|
51 |
if (label.equalsIgnoreCase("cancel")){ |
|
52 |
status = -1; |
|
53 |
|
|
54 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
55 |
} |
|
56 |
|
|
57 |
if (label.equalsIgnoreCase("punto")){ |
|
58 |
status = 1; |
|
59 |
|
|
60 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
61 |
} |
|
62 |
|
|
63 |
if (label.equalsIgnoreCase("cancel")){ |
|
64 |
status = -1; |
|
65 |
|
|
66 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
67 |
} |
|
68 |
|
|
69 | 27 |
break; |
70 | 28 |
|
71 | 29 |
case 1: |
... | ... | |
76 | 34 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
77 | 35 |
} |
78 | 36 |
|
79 |
if (label.equalsIgnoreCase("cancel")){ |
|
80 |
status = -1; |
|
81 |
|
|
82 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
83 |
} |
|
84 |
|
|
85 |
if (label.equalsIgnoreCase("cancel")){ |
|
86 |
status = -1; |
|
87 |
|
|
88 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
89 |
} |
|
90 |
|
|
91 |
if (label.equalsIgnoreCase("punto")){ |
|
92 |
status = -1; |
|
93 |
|
|
94 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
95 |
} |
|
96 |
|
|
97 | 37 |
if (label.equalsIgnoreCase("numero")){ |
98 |
status = -1; |
|
99 |
|
|
100 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
101 |
} |
|
102 |
|
|
103 |
if (label.equalsIgnoreCase("punto")){ |
|
104 |
status = 2; |
|
105 |
|
|
106 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
107 |
} |
|
108 |
|
|
109 |
if (label.equalsIgnoreCase("cancel")){ |
|
110 |
status = -1; |
|
111 |
|
|
112 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
113 |
} |
|
114 |
|
|
115 |
if (label.equalsIgnoreCase("punto")){ |
|
116 |
status = 2; |
|
117 |
|
|
118 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
119 |
} |
|
120 |
|
|
121 |
if (label.equalsIgnoreCase("numero")){ |
|
122 | 38 |
status = 5; |
123 | 39 |
|
124 | 40 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
... | ... | |
134 | 50 |
|
135 | 51 |
case 2: |
136 | 52 |
|
137 |
if (label.equalsIgnoreCase("punto")){ |
|
138 |
status = 3; |
|
139 |
|
|
140 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
|
141 |
} |
|
142 |
|
|
143 |
if (label.equalsIgnoreCase("cancel")){ |
|
144 |
status = -1; |
|
145 |
|
|
146 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
147 |
} |
|
148 |
|
|
149 |
if (label.equalsIgnoreCase("cancel")){ |
|
150 |
status = -1; |
|
151 |
|
|
152 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
153 |
} |
|
154 |
|
|
155 | 53 |
if (label.equalsIgnoreCase("numero")){ |
156 | 54 |
status = 3; |
157 | 55 |
|
... | ... | |
180 | 78 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
181 | 79 |
} |
182 | 80 |
|
183 |
if (label.equalsIgnoreCase("cancel")){ |
|
184 |
status = -1; |
|
185 |
|
|
186 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
187 |
} |
|
188 |
|
|
189 |
if (label.equalsIgnoreCase("cancel")){ |
|
190 |
status = -1; |
|
191 |
|
|
192 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
|
193 |
} |
|
194 |
|
|
195 | 81 |
break; |
196 | 82 |
|
197 | 83 |
case 4: |
Also available in: Unified diff