Revision 6877 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/FFrameGroupExtension.java
FFrameGroupExtension.java | ||
---|---|---|
42 | 42 |
|
43 | 43 |
import com.iver.andami.PluginServices; |
44 | 44 |
import com.iver.andami.plugins.Extension; |
45 |
import com.iver.andami.ui.mdiManager.View;
|
|
45 |
import com.iver.andami.ui.mdiManager.IWindow;
|
|
46 | 46 |
import com.iver.cit.gvsig.gui.layout.Layout; |
47 | 47 |
import com.iver.cit.gvsig.gui.layout.fframes.FFrameTable; |
48 | 48 |
import com.iver.cit.gvsig.gui.layout.fframes.IFFrame; |
... | ... | |
118 | 118 |
* @see com.iver.andami.plugins.IExtension#isVisible() |
119 | 119 |
*/ |
120 | 120 |
public boolean isVisible() { |
121 |
View view = PluginServices.getMDIManager().getActiveView();
|
|
121 |
IWindow view = PluginServices.getMDIManager().getActiveView();
|
|
122 | 122 |
if (view instanceof Layout) { |
123 | 123 |
Layout l = (Layout) view; |
124 | 124 |
IFFrame[] fframes = l.getFFrameSelected(); |
Also available in: Unified diff