Revision 2544 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/View.java
View.java | ||
---|---|---|
138 | 138 |
*/ |
139 | 139 |
public void setModel(ProjectView model) { |
140 | 140 |
this.modelo = model; |
141 |
|
|
142 | 141 |
//Se registra como listener de cambios en FMap |
143 | 142 |
FMap fmap = modelo.getMapContext(); |
144 | 143 |
|
... | ... | |
181 | 180 |
|
182 | 181 |
// m_MapControl.setAcceptEvents(true); Lo comento porque ya se hace en el setModel |
183 | 182 |
m_TOC = new TOC(); |
184 |
|
|
183 |
|
|
185 | 184 |
JSplitPane tempMainSplit = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT); |
186 | 185 |
tempMainSplit.setPreferredSize(new Dimension(500, 300)); |
187 | 186 |
|
... | ... | |
339 | 338 |
*/ |
340 | 339 |
public void viewActivated() { |
341 | 340 |
PluginServices.getMainFrame().getStatusBar().setMessage("1", |
342 |
FConstant.NAMES[getMapControl().getMapContext().getViewPort().getMapUnits()]);
|
|
341 |
FConstant.NAMES[getMapControl().getMapContext().getViewPort().getDistanceUnits()]);
|
|
343 | 342 |
PluginServices.getMainFrame().getStatusBar().setMessage("6", "1:"+m_MapControl.getMapContext().getScaleView()); |
344 | 343 |
PluginServices.getMainFrame().getStatusBar().setMessage("7", getMapControl().getViewPort().getProjection().getAbrev()); |
345 | 344 |
} |
Also available in: Unified diff