Revision 31496 branches/v2_0_0_prep/extensions/extRemoteSensing/src/org/gvsig/remotesensing/scatterplot/gui/ScatterPlotPanel.java
ScatterPlotPanel.java | ||
---|---|---|
58 | 58 |
import javax.swing.border.TitledBorder; |
59 | 59 |
|
60 | 60 |
import org.gvsig.andami.PluginServices; |
61 |
import org.gvsig.app.project.documents.view.gui.View;
|
|
61 |
import org.gvsig.app.project.documents.view.gui.DefaultViewPanel;
|
|
62 | 62 |
import org.gvsig.fmap.mapcontext.layers.FLayer; |
63 | 63 |
import org.gvsig.fmap.mapcontrol.MapControl; |
64 | 64 |
import org.gvsig.fmap.raster.layers.FLyrRasterSE; |
... | ... | |
85 | 85 |
private static final long serialVersionUID = 1L; |
86 | 86 |
private MapControl mapControl = null; |
87 | 87 |
private FLayer fLayer = null; |
88 |
private View view = null;
|
|
88 |
private DefaultViewPanel view = null;
|
|
89 | 89 |
private JComboBox comboX= null; |
90 | 90 |
private JComboBox comboY= null; |
91 | 91 |
private ChartScaterPlotPanel panelGrafico = null; |
... | ... | |
122 | 122 |
|
123 | 123 |
fLayer = layer; |
124 | 124 |
if (view==null){ |
125 |
view = (View) PluginServices.getMDIManager().getActiveWindow();
|
|
125 |
view = (DefaultViewPanel) PluginServices.getMDIManager().getActiveWindow();
|
|
126 | 126 |
mapControl = view.getMapControl(); |
127 | 127 |
BorderLayout bd= new BorderLayout(); |
128 | 128 |
bd.setVgap(8); |
Also available in: Unified diff