Revision 41040 trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/extension/ViewControls.java
ViewControls.java | ||
---|---|---|
109 | 109 |
} else if (command.equalsIgnoreCase("view-locator-setup") ) { |
110 | 110 |
//Set up the map overview |
111 | 111 |
FPanelLocConfig m_panelLoc = new FPanelLocConfig(vista.getMapOverview()); |
112 |
PluginServices.getMDIManager().addWindow(m_panelLoc); |
|
113 |
m_panelLoc.setPreferredSize(m_panelLoc.getSize()); |
|
112 |
PluginServices.getMDIManager().addCentredWindow(m_panelLoc); |
|
114 | 113 |
document.setModified(true); |
115 | 114 |
|
116 | 115 |
} else if (command.equalsIgnoreCase("view-navigation-pan") ) { |
Also available in: Unified diff