Revision 6877 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/TableEditRemoveRowExtension.java

View differences:

TableEditRemoveRowExtension.java
45 45
import com.iver.andami.PluginServices;
46 46
import com.iver.andami.messages.NotificationManager;
47 47
import com.iver.andami.plugins.Extension;
48
import com.iver.andami.ui.mdiManager.View;
48
import com.iver.andami.ui.mdiManager.IWindow;
49 49
import com.iver.cit.gvsig.fmap.drivers.DriverIOException;
50 50
import com.iver.cit.gvsig.gui.Table;
51 51

  
......
67 67
     */
68 68
    public void execute(String actionCommand) {
69 69
        if ("REMOVEROW".equals(actionCommand)) {
70
            View v = PluginServices.getMDIManager().getActiveView();
70
            IWindow v = PluginServices.getMDIManager().getActiveView();
71 71

  
72 72
            try {
73 73
                ((Table) v).removeRow();
......
83 83
     * @see com.iver.andami.plugins.IExtension#isEnabled()
84 84
     */
85 85
    public boolean isEnabled() {
86
    	View v = PluginServices.getMDIManager().getActiveView();
86
    	IWindow v = PluginServices.getMDIManager().getActiveView();
87 87

  
88 88
        if (v == null) {
89 89
            return false;
......
100 100
     * @see com.iver.andami.plugins.IExtension#isVisible()
101 101
     */
102 102
    public boolean isVisible() {
103
        View v = PluginServices.getMDIManager().getActiveView();
103
        IWindow v = PluginServices.getMDIManager().getActiveView();
104 104

  
105 105
        if (v == null) {
106 106
            return false;

Also available in: Unified diff