Revision 9392 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/fframes/gui/dialogs/FFrameLegendDialog.java

View differences:

FFrameLegendDialog.java
66 66
import com.iver.andami.ui.mdiManager.WindowInfo;
67 67
import com.iver.cit.gvsig.fmap.layers.FLayer;
68 68
import com.iver.cit.gvsig.fmap.layers.FLayers;
69
import com.iver.cit.gvsig.gui.layout.Layout;
70
import com.iver.cit.gvsig.gui.layout.fframes.FFrameLegend;
71
import com.iver.cit.gvsig.gui.layout.fframes.FFrameView;
72 69
import com.iver.cit.gvsig.gui.utils.FontChooser;
73 70
import com.iver.cit.gvsig.project.documents.layout.FLayoutUtilities;
71
import com.iver.cit.gvsig.project.documents.layout.fframes.FFrameLegend;
72
import com.iver.cit.gvsig.project.documents.layout.fframes.FFrameView;
74 73
import com.iver.cit.gvsig.project.documents.layout.fframes.IFFrame;
75 74
import com.iver.cit.gvsig.project.documents.layout.fframes.ListViewModel;
76 75
import com.iver.cit.gvsig.project.documents.layout.fframes.gui.JPRotation;
76
import com.iver.cit.gvsig.project.documents.layout.gui.Layout;
77 77

  
78 78

  
79 79
/**
......
312 312
					newFFrameLegend.setViewing(cbVisualizacion.getSelectedIndex());
313 313
					newFFrameLegend.setQuality(cbCalidad.getSelectedIndex());
314 314
					newFFrameLegend.setBoundBox(FLayoutUtilities.toSheetRect(
315
							rect, m_layout.getAT()));
315
							rect, m_layout.getLayoutControl().getAT()));
316 316
					newFFrameLegend.setRotation(getPRotation().getRotation());
317 317

  
318 318
					PluginServices.getMDIManager().closeWindow(FFrameLegendDialog.this);
......
373 373
					private int selectIndex=-1;
374 374
					public void valueChanged(
375 375
								javax.swing.event.ListSelectionEvent e) {
376
							IFFrame[] fframes=m_layout.getFFrames();
376
							IFFrame[] fframes=m_layout.getLayoutContext().getFFrames();
377 377
							int selectInt =((JList) e.getSource())
378 378
									.getSelectedIndex();
379 379
							if (selectInt != selectIndex) {

Also available in: Unified diff