Revision 47805 trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/project/documents/view/gui/DefaultViewPanel.java
DefaultViewPanel.java | ||
---|---|---|
234 | 234 |
return; |
235 | 235 |
} |
236 | 236 |
if (PluginServices.getMainFrame() != null) { |
237 |
PluginServices.getMainFrame().getStatusBar().setControlValue( |
|
238 |
"view-change-scale", |
|
239 |
String.valueOf(m_MapControl.getMapContext().getScaleView()) |
|
240 |
); |
|
241 |
PluginServices.getMainFrame().getStatusBar().setMessage( |
|
242 |
"projection", |
|
243 |
getMapControl().getViewPort().getProjection().getAbrev() |
|
244 |
); |
|
237 |
SwingUtilities.invokeLater(new Runnable() { |
|
238 |
@Override |
|
239 |
public void run() { |
|
240 |
PluginServices.getMainFrame().getStatusBar().setControlValue( |
|
241 |
"view-change-scale", |
|
242 |
String.valueOf(m_MapControl.getMapContext().getScaleView()) |
|
243 |
); |
|
244 |
PluginServices.getMainFrame().getStatusBar().setMessage( |
|
245 |
"projection", |
|
246 |
getMapControl().getViewPort().getProjection().getAbrev() |
|
247 |
); |
|
248 |
} |
|
249 |
}); |
|
245 | 250 |
} |
246 | 251 |
} catch(Exception ex) { |
247 | 252 |
logger.warn("Problems process 'extentChanged'.",ex); |
Also available in: Unified diff