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

View differences:

ViewSelectionControls.java
43 43
*
44 44
* $Id$
45 45
* $Log$
46
* Revision 1.3  2006-08-18 08:40:04  jmvivo
46
* Revision 1.4  2006-08-29 07:13:53  cesar
47
* Rename class com.iver.andami.ui.mdiManager.View to com.iver.andami.ui.mdiManager.IWindow
48
*
49
* Revision 1.3  2006/08/18 08:40:04  jmvivo
47 50
* Actualizado para que el isEnabled tenga en cuenta que las capas esten 'avialable'
48 51
*
49 52
* Revision 1.2  2006/07/27 06:20:28  jaume
......
105 108
	}
106 109

  
107 110
	public boolean isEnabled() {
108
		com.iver.andami.ui.mdiManager.View f = PluginServices.getMDIManager()
111
		com.iver.andami.ui.mdiManager.IWindow f = PluginServices.getMDIManager()
109 112
		.getActiveView();
110 113
		if (f instanceof View) {
111 114

  
......
125 128
	}
126 129

  
127 130
	public boolean isVisible() {
128
		com.iver.andami.ui.mdiManager.View f = PluginServices.getMDIManager()
131
		com.iver.andami.ui.mdiManager.IWindow f = PluginServices.getMDIManager()
129 132
		.getActiveView();
130 133

  
131 134
		if (f != null && f instanceof View) {

Also available in: Unified diff