Revision 6885 trunk/examples/exaTemplateLayout/src/com/iver/templateLayout/PrintSelectedExtension.java
PrintSelectedExtension.java | ||
---|---|---|
3 | 3 |
import com.iver.andami.PluginServices; |
4 | 4 |
import com.iver.andami.messages.NotificationManager; |
5 | 5 |
import com.iver.andami.plugins.Extension; |
6 |
import com.iver.andami.ui.mdiManager.View;
|
|
6 |
import com.iver.andami.ui.mdiManager.IWindow;
|
|
7 | 7 |
import com.iver.cit.gvsig.fmap.DriverException; |
8 | 8 |
import com.iver.cit.gvsig.fmap.layers.FLayer; |
9 | 9 |
import com.iver.cit.gvsig.fmap.layers.FLayers; |
... | ... | |
16 | 16 |
} |
17 | 17 |
|
18 | 18 |
public void execute(String actionCommand) { |
19 |
View andamiView = PluginServices.getMDIManager().getActiveView();
|
|
19 |
IWindow andamiView = PluginServices.getMDIManager().getActiveWindow();
|
|
20 | 20 |
|
21 | 21 |
if (andamiView instanceof com.iver.cit.gvsig.gui.View) |
22 | 22 |
{ |
Also available in: Unified diff