Revision 225
trunk/org.gvsig.app.document.layout2.app/org.gvsig.app.document.layout2.app.mainplugin/src/main/java/org/gvsig/app/project/documents/layout/fframes/FFrameView.java | ||
---|---|---|
775 | 775 |
FFrameView frame = (FFrameView) super.clone(); |
776 | 776 |
frame.createListeners(); // necessary to create the listeners within the right scope |
777 | 777 |
frame.setView(this.getView()); |
778 |
frame.getMapContext().getViewPort().setEnvelope(getMapContext().getViewPort().getEnvelope()); |
|
779 | 778 |
|
780 | 779 |
if (grid != null) { |
781 | 780 |
FFrameGrid newGrid = (FFrameGrid) this.grid.clone(); |
trunk/org.gvsig.app.document.layout2.app/org.gvsig.app.document.layout2.app.mainplugin/src/main/java/org/gvsig/app/project/documents/layout/fframes/gui/dialogs/FFrameViewDialog.java | ||
---|---|---|
341 | 341 |
|
342 | 342 |
if (m_projectView != null) { |
343 | 343 |
newFFrameView.setView(m_projectView); |
344 |
newFFrameView.getMapContext().getViewPort().setEnvelope(fframeview.getMapContext().getViewPort().getEnvelope()); |
|
345 | 344 |
newFFrameView.setQuality(getCbCalidad() |
346 | 345 |
.getSelectedIndex()); |
347 | 346 |
if (fframeview.getGrid() != null) { |
Also available in: Unified diff