Revision 6880 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/FFrameViewExtension.java
FFrameViewExtension.java | ||
---|---|---|
71 | 71 |
* @see com.iver.andami.plugins.IExtension#execute(java.lang.String) |
72 | 72 |
*/ |
73 | 73 |
public void execute(String s) { |
74 |
layout = (Layout) PluginServices.getMDIManager().getActiveView();
|
|
74 |
layout = (Layout) PluginServices.getMDIManager().getActiveWindow();
|
|
75 | 75 |
|
76 | 76 |
if (s.compareTo("VIEW_ZOOMIN") == 0) { |
77 | 77 |
layout.setTool(Layout.VIEW_ZOOMIN); |
... | ... | |
92 | 92 |
* @see com.iver.andami.plugins.IExtension#isEnabled() |
93 | 93 |
*/ |
94 | 94 |
public boolean isEnabled() { |
95 |
Layout l = (Layout)PluginServices.getMDIManager().getActiveView();
|
|
95 |
Layout l = (Layout)PluginServices.getMDIManager().getActiveWindow();
|
|
96 | 96 |
IFFrame[] fframes = l.getFFrameSelected(); |
97 | 97 |
if (!l.isEditable()) |
98 | 98 |
return false; |
... | ... | |
110 | 110 |
* @see com.iver.andami.plugins.IExtension#isVisible() |
111 | 111 |
*/ |
112 | 112 |
public boolean isVisible() { |
113 |
IWindow f = PluginServices.getMDIManager().getActiveView();
|
|
113 |
IWindow f = PluginServices.getMDIManager().getActiveWindow();
|
|
114 | 114 |
|
115 | 115 |
if (f == null) { |
116 | 116 |
return false; |
Also available in: Unified diff