Revision 6877 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/selectionByTheme/DefaultSelectionByThemeModel.java
DefaultSelectionByThemeModel.java | ||
---|---|---|
41 | 41 |
package com.iver.cit.gvsig.gui.selectionByTheme; |
42 | 42 |
|
43 | 43 |
import com.iver.andami.PluginServices; |
44 |
import com.iver.andami.ui.mdiManager.View;
|
|
44 |
import com.iver.andami.ui.mdiManager.IWindow;
|
|
45 | 45 |
import com.iver.cit.gvsig.fmap.layers.FLayers; |
46 | 46 |
|
47 | 47 |
|
... | ... | |
55 | 55 |
* @see com.iver.cit.gvsig.gui.selectionByTheme.SelectionByThemeModel#getViews() |
56 | 56 |
*/ |
57 | 57 |
public FLayers getLayers() { |
58 |
View v = PluginServices.getMDIManager().getActiveView();
|
|
58 |
IWindow v = PluginServices.getMDIManager().getActiveView();
|
|
59 | 59 |
if (v instanceof com.iver.cit.gvsig.gui.View){ |
60 | 60 |
com.iver.cit.gvsig.gui.View vista = (com.iver.cit.gvsig.gui.View) v; |
61 | 61 |
|
Also available in: Unified diff