Revision 6880 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/RedoTableExtension.java

View differences:

RedoTableExtension.java
67 67
	 * @see com.iver.andami.plugins.IExtension#execute(java.lang.String)
68 68
	 */
69 69
	public void execute(String s) {
70
		Table tabla = (Table) PluginServices.getMDIManager().getActiveView();
70
		Table tabla = (Table) PluginServices.getMDIManager().getActiveWindow();
71 71

  
72 72
		if (s.compareTo("REDO") == 0) {
73 73

  
......
94 94
	 * @see com.iver.andami.plugins.IExtension#isEnabled()
95 95
	 */
96 96
	public boolean isEnabled() {
97
		Table tabla = (Table) PluginServices.getMDIManager().getActiveView();
97
		Table tabla = (Table) PluginServices.getMDIManager().getActiveWindow();
98 98
		//MapControl mapControl = (MapControl) vista.getMapControl();
99 99
		//FLayers layers=mapControl.getMapContext().getLayers();
100 100
		//for (int i=0;i<layers.getLayersCount();i++){
......
113 113
	 */
114 114
	public boolean isVisible() {
115 115
		com.iver.andami.ui.mdiManager.IWindow f = PluginServices.getMDIManager()
116
															 .getActiveView();
116
															 .getActiveWindow();
117 117

  
118 118
		if (f == null) {
119 119
			return false;

Also available in: Unified diff