Revision 29938 branches/v2_0_0_prep/extensions/ext3Dgui/src/org/gvsig/gvsig3dgui/view/Export.java

View differences:

Export.java
4 4
 * To change the template for this generated file go to
5 5
 * Window>Preferences>Java>Code Generation>Code and Comments
6 6
 */
7
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
7
/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
8 8
 *
9 9
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
10 10
 *
......
26 26
 *
27 27
 *  Generalitat Valenciana
28 28
 *   Conselleria d'Infraestructures i Transport
29
 *   Av. Blasco Ib??ez, 50
29
 *   Av. Blasco Ib��ez, 50
30 30
 *   46010 VALENCIA
31 31
 *   SPAIN
32 32
 *
......
55 55
import javax.swing.JOptionPane;
56 56
import javax.swing.filechooser.FileFilter;
57 57

  
58
import org.gvsig.andami.PluginServices;
59
import org.gvsig.andami.plugins.Extension;
60
import org.gvsig.andami.ui.mdiManager.IWindow;
61
import org.gvsig.fmap.mapcontext.layers.FLayers;
58 62
import org.gvsig.osgvp.viewer.IViewerContainer;
59 63

  
60
import com.iver.andami.PluginServices;
61
import com.iver.andami.plugins.Extension;
62
import com.iver.cit.gvsig.fmap.layers.FLayers;
63 64

  
64 65

  
65

  
66 66
/**
67
 * Extensi?n para exportar en algunos formatos raster la vista3D actual.
67
 * Extensin para exportar en algunos formatos raster la vista3D actual.
68 68
 *
69
 * @author ?ngel Fraile.
69
 * @author ngel Fraile.
70 70
 */
71 71
public class Export extends Extension {
72 72
	private String lastPath = null;
......
99 99
	 * @see com.iver.mdiApp.plugins.IExtension#isVisible()
100 100
	 */
101 101
	public boolean isVisible() {
102
		com.iver.andami.ui.mdiManager.IWindow f = (com.iver.andami.ui.mdiManager.IWindow) 
102
		IWindow f = (IWindow) 
103 103
		PluginServices.getMDIManager().getActiveWindow();
104 104

  
105 105
		if (f == null) {
......
152 152
		jfc.setFileFilter((FileFilter)jimiExtensionsSupported.get("png"));
153 153
		if (jfc.showSaveDialog((Component) PluginServices.getMainFrame())==JFileChooser.APPROVE_OPTION){
154 154
			
155
			com.iver.andami.ui.mdiManager.IWindow activeWindow = PluginServices
155
		IWindow activeWindow = PluginServices
156 156
			.getMDIManager().getActiveWindow();
157 157
			File f = jfc.getSelectedFile();
158 158
				if (f.exists()){//file exists in the directory.
......
182 182
/**
183 183
*
184 184
* @version 14/08/2007
185
* @author Borja S?nchez Zamorano (borja.sanchez@iver.es)
185
* @author Borja Snchez Zamorano (borja.sanchez@iver.es)
186 186
*
187 187
*/
188 188
class MyFileFilter extends FileFilter{

Also available in: Unified diff