Revision 2300
branches/pilotoDWG/applications/appgvSIG/src/com/iver/cit/gvsig/gui/cad/tools/LineCadTool.java | ||
---|---|---|
69 | 69 |
new Status("Precise punto siguiente(x,y) o ?ngulo(a):"), |
70 | 70 |
new Status("Precise longitud(l) o punto(x,y):"), null, null, |
71 | 71 |
new Status("Precise punto siguiente(x,y) o ?ngulo(a)"), |
72 |
new Status("Introduzca el ?ngulo:") |
|
72 |
new Status("Introduzca el ?ngulo:"), |
|
73 |
new Status("Introduzca la longitud:") |
|
73 | 74 |
}; |
74 | 75 |
private Linea lineStatus = new Linea(); |
75 | 76 |
private Point2D firstPoint; |
... | ... | |
157 | 158 |
ret = ret | lineStatus.transition("end"); |
158 | 159 |
} else if (status == 5) { |
159 | 160 |
firstPoint = new Point2D.Double(values[0], values[1]); |
160 |
} else if (status == 6){ |
|
161 |
|
|
162 | 161 |
} |
163 | 162 |
|
164 | 163 |
return ret; |
branches/pilotoDWG/applications/appgvSIG/src/com/iver/cit/gvsig/gui/cad/CadMapControl.java | ||
---|---|---|
199 | 199 |
cadToolAdapter.textEntered(response); |
200 | 200 |
FocusManager fm=FocusManager.getCurrentManager(); |
201 | 201 |
fm.focusPreviousComponent(mapControl); |
202 |
if (popup.isShowing()){ |
|
203 |
popup.setVisible(false); |
|
204 |
} |
|
205 |
|
|
202 | 206 |
} |
203 | 207 |
}); |
204 | 208 |
} |
Also available in: Unified diff