Revision 1385 branches/pilotoDWG/libraries/libFMap/src/com/iver/cit/gvsig/fmap/edition/cad/cadTools/Linea.java
Linea.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("cancel")){
|
|
37 |
if ("cancel".equalsIgnoreCase(label)){
|
|
38 | 38 |
status = -1; |
39 | 39 |
|
40 | 40 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
Also available in: Unified diff