Revision 31496 branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/gui/panels/PanelLinkProperties.java
PanelLinkProperties.java | ||
---|---|---|
7 | 7 |
import javax.swing.JTextField; |
8 | 8 |
|
9 | 9 |
import org.gvsig.andami.PluginServices; |
10 |
import org.gvsig.app.project.documents.view.IProjectView;
|
|
11 |
import org.gvsig.app.project.documents.view.gui.BaseView;
|
|
10 |
import org.gvsig.app.project.documents.view.ViewDocument;
|
|
11 |
import org.gvsig.app.project.documents.view.gui.AbstractViewPanel;
|
|
12 | 12 |
import org.gvsig.fmap.mapcontext.layers.FLayer; |
13 | 13 |
|
14 | 14 |
|
... | ... | |
23 | 23 |
private JTextField jTextFieldExtension1 = null; |
24 | 24 |
private JLabel jLabelAccion1 = null; |
25 | 25 |
private JComboBox jComboBoxAccion1 = null; |
26 |
private IProjectView view;
|
|
26 |
private ViewDocument view;
|
|
27 | 27 |
|
28 | 28 |
/** |
29 | 29 |
* This is the default constructor |
30 | 30 |
*/ |
31 |
public PanelLinkProperties(FLayer flayer, IProjectView vista) {
|
|
31 |
public PanelLinkProperties(FLayer flayer, ViewDocument vista) {
|
|
32 | 32 |
super(); |
33 | 33 |
// this.setLayout(new GridBagLayout()); |
34 | 34 |
this.layer=flayer; |
... | ... | |
85 | 85 |
jComboBoxCampo1.setPreferredSize(new java.awt.Dimension(80,25)); |
86 | 86 |
|
87 | 87 |
if (PluginServices.getMainFrame() != null) { |
88 |
if (PluginServices.getMDIManager().getActiveWindow() instanceof BaseView ){
|
|
89 |
BaseView theView = (BaseView)PluginServices.getMDIManager().getActiveWindow();
|
|
88 |
if (PluginServices.getMDIManager().getActiveWindow() instanceof AbstractViewPanel ){
|
|
89 |
AbstractViewPanel theView = (AbstractViewPanel)PluginServices.getMDIManager().getActiveWindow();
|
|
90 | 90 |
view = theView.getModel(); |
91 | 91 |
// try { |
92 | 92 |
// if (layer instanceof FLyrVect) { |
Also available in: Unified diff