Revision 8304 trunk/libraries/libJCRS/src/org/gvsig/crs/gui/panels/TransformationManualPanel.java
TransformationManualPanel.java | ||
---|---|---|
303 | 303 |
} |
304 | 304 |
|
305 | 305 |
public ICrs getProjection() { |
306 |
if(tx_Translation.getText().equals("")){ |
|
307 |
tx_Translation.setText("0"); |
|
308 |
} |
|
309 |
else if (ty_Translation.getText().equals("")){ |
|
310 |
ty_Translation.setText("0"); |
|
311 |
} |
|
312 |
else if (tz_Translation.getText().equals("")){ |
|
313 |
tz_Translation.setText("0"); |
|
314 |
} |
|
315 |
else if (tx_Rotation.getText().equals("")){ |
|
316 |
tx_Rotation.setText("0"); |
|
317 |
} |
|
318 |
else if (ty_Rotation.getText().equals("")){ |
|
319 |
ty_Rotation.setText("0"); |
|
320 |
} |
|
321 |
else if (tz_Rotation.getText().equals("")){ |
|
322 |
tz_Rotation.setText("0"); |
|
323 |
} |
|
324 |
else if (tScale.getText().equals("")){ |
|
325 |
tScale.setText("0"); |
|
326 |
} |
|
306 | 327 |
String param = tx_Translation.getText()+","+ |
307 | 328 |
ty_Translation.getText()+","+ |
308 | 329 |
tz_Translation.getText()+","+ |
Also available in: Unified diff