Revision 1385 branches/pilotoDWG/libraries/libFMap/src/com/iver/cit/gvsig/fmap/edition/cad/cadTools/Arco.java
Arco.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 = 2; |
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; |
... | ... | |
44 | 44 |
|
45 | 45 |
case 2: |
46 | 46 |
|
47 |
if (label.equalsIgnoreCase("punto")){
|
|
47 |
if ("punto".equalsIgnoreCase(label)){
|
|
48 | 48 |
status = 3; |
49 | 49 |
|
50 | 50 |
return com.iver.fsac.Automaton.TRANSITION_SUCCESS; |
51 | 51 |
} |
52 | 52 |
|
53 |
if (label.equalsIgnoreCase("cancel")){
|
|
53 |
if ("cancel".equalsIgnoreCase(label)){
|
|
54 | 54 |
status = -1; |
55 | 55 |
|
56 | 56 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
... | ... | |
60 | 60 |
|
61 | 61 |
case 3: |
62 | 62 |
|
63 |
if (label.equalsIgnoreCase("cancel")){
|
|
63 |
if ("cancel".equalsIgnoreCase(label)){
|
|
64 | 64 |
status = -1; |
65 | 65 |
|
66 | 66 |
return com.iver.fsac.Automaton.AUTOMATON_FINISHED; |
Also available in: Unified diff