Revision 15491 import/ext3D/branches/ext3D_v1.1/ext3Dgui/src/com/iver/ai2/gvsig3dgui/view/ViewProperties3D.java
ViewProperties3D.java | ||
---|---|---|
269 | 269 |
// even if it is already selected; this method is not called |
270 | 270 |
// if the radio button was selected programmatically |
271 | 271 |
public void actionPerformed(ActionEvent evt) { |
272 |
view3D.setPlanetType(PlanetType.SPHERICAL_MODE);
|
|
272 |
view3D.setPlanetType(PlanetType.GEOCENTRIC);
|
|
273 | 273 |
} |
274 | 274 |
}; |
275 | 275 |
Action flatAction = new AbstractAction("flat") { |
276 | 276 |
// See above |
277 | 277 |
public void actionPerformed(ActionEvent evt) { |
278 |
view3D.setPlanetType(PlanetType.PLANE_MODE);
|
|
278 |
view3D.setPlanetType(PlanetType.PROJECTED);
|
|
279 | 279 |
} |
280 | 280 |
}; |
281 | 281 |
|
... | ... | |
289 | 289 |
flat.setName("flat"); |
290 | 290 |
flat.setLabel(PluginServices.getText(this, "Flat")); |
291 | 291 |
|
292 |
if (view3D.getPlanetType()== PlanetType.SPHERICAL_MODE)
|
|
292 |
if (view3D.getPlanetType()== PlanetType.GEOCENTRIC)
|
|
293 | 293 |
spherical.setSelected(true); |
294 | 294 |
else |
295 | 295 |
flat.setSelected(true); |
Also available in: Unified diff