Revision 31496 branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/project/documents/layout/fframes/gui/dialogs/FFrameViewDialog.java
FFrameViewDialog.java | ||
---|---|---|
61 | 61 |
import org.gvsig.app.project.documents.layout.fframes.IFFrame; |
62 | 62 |
import org.gvsig.app.project.documents.layout.fframes.ListViewModel; |
63 | 63 |
import org.gvsig.app.project.documents.layout.fframes.gui.JPRotation; |
64 |
import org.gvsig.app.project.documents.layout.gui.Layout; |
|
65 |
import org.gvsig.app.project.documents.view.ProjectView;
|
|
64 |
import org.gvsig.app.project.documents.layout.gui.LayoutPanel;
|
|
65 |
import org.gvsig.app.project.documents.view.DefaultViewDocument;
|
|
66 | 66 |
import org.gvsig.fmap.mapcontext.ViewPort; |
67 | 67 |
|
68 | 68 |
|
... | ... | |
90 | 90 |
private javax.swing.JButton bCancelar = null; |
91 | 91 |
private javax.swing.JLabel lCalidad = null; |
92 | 92 |
private javax.swing.JComboBox cbCalidad = null; |
93 |
private ProjectView m_projectView = null;
|
|
93 |
private DefaultViewDocument m_projectView = null;
|
|
94 | 94 |
private Rectangle2D rect = new Rectangle2D.Double(); |
95 | 95 |
private FFrameView fframeview = null; //new FFrameView(); |
96 |
private Layout m_layout = null; |
|
96 |
private LayoutPanel m_layout = null;
|
|
97 | 97 |
private boolean isAcepted = false; |
98 | 98 |
private JPRotation rotation = null; |
99 | 99 |
private FFrameView newFFrameView=null; |
... | ... | |
106 | 106 |
* @param layout Referencia al Layout. |
107 | 107 |
* @param fframe Referencia al fframe vista. |
108 | 108 |
*/ |
109 |
public FFrameViewDialog(Layout layout, FFrameView fframe) { |
|
109 |
public FFrameViewDialog(LayoutPanel layout, FFrameView fframe) {
|
|
110 | 110 |
super(); |
111 | 111 |
fframeview = fframe; |
112 | 112 |
m_layout = layout; |
... | ... | |
219 | 219 |
for (int i = 0; i < liVistas.getModel().getSize(); i++) { |
220 | 220 |
if (fframeview.getMapContext() != null) { |
221 | 221 |
|
222 |
ProjectView pvaux= (ProjectView) liVistas.getModel()
|
|
222 |
DefaultViewDocument pvaux= (DefaultViewDocument) liVistas.getModel()
|
|
223 | 223 |
.getElementAt(i); |
224 | 224 |
|
225 | 225 |
if (pvaux.getMapContext().equals(fframeview.getMapContext())) { |
226 | 226 |
liVistas.setSelectedIndex(i); |
227 |
m_projectView= (ProjectView) liVistas.getModel()
|
|
227 |
m_projectView= (DefaultViewDocument) liVistas.getModel()
|
|
228 | 228 |
.getElementAt(i); |
229 | 229 |
} |
230 | 230 |
} |
... | ... | |
241 | 241 |
if (selectIndex==-1) { |
242 | 242 |
return; |
243 | 243 |
} |
244 |
m_projectView = (ProjectView) liVistas.getModel()
|
|
244 |
m_projectView = (DefaultViewDocument) liVistas.getModel()
|
|
245 | 245 |
.getElementAt(selectInt); |
246 | 246 |
|
247 | 247 |
getCbEscala().setSelectedItem(PluginServices.getText(this, "automatico")); |
Also available in: Unified diff