Revision 9392 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/LayoutControls.java
LayoutControls.java | ||
---|---|---|
61 | 61 |
import com.iver.andami.preferences.IPreference; |
62 | 62 |
import com.iver.andami.preferences.IPreferenceExtension; |
63 | 63 |
import com.iver.andami.ui.mdiManager.IWindow; |
64 |
import com.iver.cit.gvsig.gui.layout.Layout; |
|
65 | 64 |
import com.iver.cit.gvsig.gui.preferencespage.LayoutPage; |
66 | 65 |
import com.iver.cit.gvsig.project.documents.layout.FLayoutZooms; |
66 |
import com.iver.cit.gvsig.project.documents.layout.gui.Layout; |
|
67 | 67 |
import com.iver.utiles.GenericFileFilter; |
68 | 68 |
|
69 | 69 |
|
... | ... | |
87 | 87 |
logger.debug("Comand : " + s); |
88 | 88 |
|
89 | 89 |
if (s.equals("PAN")) { |
90 |
layout.setTool(Layout.PAN);
|
|
90 |
layout.getLayoutControl().setTool("layoutpan");
|
|
91 | 91 |
} else if (s.equals("ZOOM_IN")) { |
92 |
layout.setTool(Layout.ZOOM_MAS);
|
|
92 |
layout.getLayoutControl().setTool("layoutzoomin");
|
|
93 | 93 |
} else if (s.equals("ZOOM_OUT")) { |
94 |
layout.setTool(Layout.ZOOM_MENOS);
|
|
94 |
layout.getLayoutControl().setTool("layoutzoomout");
|
|
95 | 95 |
} else if (s.equals("FULL")) { |
96 |
layout.fullRect(); |
|
96 |
layout.getLayoutControl().fullRect();
|
|
97 | 97 |
} else if (s.equals("REALZOOM")) { |
98 | 98 |
zooms.realZoom(); |
99 | 99 |
} else if (s.equals("ZOOMOUT")) { |
Also available in: Unified diff