Revision 6880 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/TableEditChangeColumnsExtension.java
TableEditChangeColumnsExtension.java | ||
---|---|---|
66 | 66 |
* @see com.iver.andami.plugins.IExtension#execute(java.lang.String) |
67 | 67 |
*/ |
68 | 68 |
public void execute(String actionCommand) { |
69 |
IWindow v = PluginServices.getMDIManager().getActiveView();
|
|
69 |
IWindow v = PluginServices.getMDIManager().getActiveWindow();
|
|
70 | 70 |
Table t = (Table) v; |
71 | 71 |
if ("REMOVECOLUMN".equals(actionCommand)) { |
72 | 72 |
t.removeColumn(); |
... | ... | |
92 | 92 |
* @see com.iver.andami.plugins.IExtension#isEnabled() |
93 | 93 |
*/ |
94 | 94 |
public boolean isEnabled() { |
95 |
IWindow v = PluginServices.getMDIManager().getActiveView();
|
|
95 |
IWindow v = PluginServices.getMDIManager().getActiveWindow();
|
|
96 | 96 |
|
97 | 97 |
if (v == null) { |
98 | 98 |
return false; |
... | ... | |
109 | 109 |
* @see com.iver.andami.plugins.IExtension#isVisible() |
110 | 110 |
*/ |
111 | 111 |
public boolean isVisible() { |
112 |
IWindow v = PluginServices.getMDIManager().getActiveView();
|
|
112 |
IWindow v = PluginServices.getMDIManager().getActiveWindow();
|
|
113 | 113 |
|
114 | 114 |
if (v == null) { |
115 | 115 |
return false; |
Also available in: Unified diff