Revision 31496 branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/gui/preferencespage/ViewBehaviorPage.java
ViewBehaviorPage.java | ||
---|---|---|
55 | 55 |
import org.gvsig.andami.preferences.AbstractPreferencePage; |
56 | 56 |
import org.gvsig.andami.preferences.StoreException; |
57 | 57 |
import org.gvsig.andami.ui.mdiManager.IWindow; |
58 |
import org.gvsig.app.project.documents.view.gui.BaseView;
|
|
58 |
import org.gvsig.app.project.documents.view.gui.AbstractViewPanel;
|
|
59 | 59 |
import org.gvsig.fmap.mapcontext.MapContext; |
60 | 60 |
import org.gvsig.fmap.mapcontrol.MapControl; |
61 | 61 |
import org.gvsig.gui.beans.swing.JBlank; |
... | ... | |
97 | 97 |
// Apply on-the-fly to all already created views |
98 | 98 |
IWindow[] windows = PluginServices.getMDIManager().getAllWindows(); |
99 | 99 |
for (int i = 0; i < windows.length; i++) { |
100 |
if (windows[i] instanceof BaseView) {
|
|
101 |
BaseView view = (BaseView) windows[i];
|
|
100 |
if (windows[i] instanceof AbstractViewPanel) {
|
|
101 |
AbstractViewPanel view = (AbstractViewPanel) windows[i];
|
|
102 | 102 |
view.getMapControl().applyFrameRate(); |
103 | 103 |
} |
104 | 104 |
} |
Also available in: Unified diff