Revision 43576 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 | ||
---|---|---|
138 | 138 |
if (mapControlManager == null) { |
139 | 139 |
mapControlManager = MapControlLocator.getMapControlManager(); |
140 | 140 |
} |
141 |
this.viewInformationArea = new DefaultViewInformationArea(); |
|
141 | 142 |
} |
142 | 143 |
|
143 | 144 |
public DefaultViewPanel(Document document) { |
... | ... | |
346 | 347 |
|
347 | 348 |
m_MapControl.addExceptionListener(mapControlExceptionListener); |
348 | 349 |
m_TOC = new TOC(); |
350 |
this.viewInformationArea.add(m_TOC, "TOC", 0, "ToC", null, "Table of contents"); |
|
349 | 351 |
|
350 | 352 |
// Ponemos el localizador |
351 | 353 |
m_MapLoc = new MapOverview(m_MapControl); |
... | ... | |
365 | 367 |
|
366 | 368 |
if (!isPalette()) { |
367 | 369 |
tempSplitToc = new JSplitPane(JSplitPane.VERTICAL_SPLIT); |
368 |
tempSplitToc.setTopComponent(m_TOC);
|
|
370 |
tempSplitToc.setTopComponent(this.viewInformationArea.asJComponent());
|
|
369 | 371 |
tempSplitToc.setBottomComponent(m_MapLoc); |
370 | 372 |
tempSplitToc.setResizeWeight(0.7); |
371 | 373 |
tempMainSplit.setLeftComponent(tempSplitToc); |
372 | 374 |
} else { |
373 |
tempMainSplit.setLeftComponent(m_TOC);
|
|
375 |
tempMainSplit.setLeftComponent(this.viewInformationArea.asJComponent());
|
|
374 | 376 |
} |
375 | 377 |
m_TOC.setVisible(true); |
376 | 378 |
tempMainSplit.setRightComponent(m_MapControl); |
... | ... | |
503 | 505 |
} |
504 | 506 |
hideConsole(); |
505 | 507 |
JSplitPane tempSplitToc = new JSplitPane(JSplitPane.VERTICAL_SPLIT); |
506 |
tempSplitToc.setTopComponent(m_TOC);
|
|
508 |
tempSplitToc.setTopComponent(this.viewInformationArea.asJComponent());
|
|
507 | 509 |
tempSplitToc.setBottomComponent(m_MapLoc); |
508 | 510 |
tempSplitToc.setResizeWeight(0.7); |
509 | 511 |
tempMainSplit.setLeftComponent(tempSplitToc); |
Also available in: Unified diff