Revision 904 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/FOpenDialog.java

View differences:

FOpenDialog.java
18 18
import javax.swing.event.ChangeEvent;
19 19
import javax.swing.event.ChangeListener;
20 20

  
21
import org.cresques.cts.IProjection;
22
import org.cresques.cts.ProjectionPool;
23

  
21 24
import com.iver.andami.PluginServices;
22 25
import com.iver.andami.Utilities;
23 26
import com.iver.andami.ui.mdiManager.View;
24 27
import com.iver.andami.ui.mdiManager.ViewInfo;
25 28
import com.iver.cit.gvsig.gui.wms.WizardListener;
29
import com.iver.cit.gvsig.project.castor.Project;
26 30
/**
27 31
 * Di?logo para cargar las dieferentes capas a la vista.
28 32
 *
......
30 34
 */
31 35
public class FOpenDialog extends JPanel implements com.iver.andami.ui.mdiManager.View {
32 36
	//private javax.swing.JDialog jDialog = null;  //  @jve:visual-info  decl-index=0 visual-constraint="19,27"
33
    private javax.swing.JTabbedPane jTabbedPane = null;
37
    
38
	static private IProjection proj = Project.getProjection();
39
	
40
	private javax.swing.JTabbedPane jTabbedPane = null;
34 41
    private javax.swing.JPanel psegundo = null;
35 42
    private DefaultListModel m_lstModel;
36 43
    private JFileChooser fileChooser;
......
187 194
		}
188 195
		
189 196
	}
197
	public static IProjection getLastProjection() {
198
		return proj;
199
	}
200
	public static void setLastProjection(IProjection proj) {
201
		FOpenDialog.proj = proj;
202
	}
190 203
   }  //  @jve:decl-index=0:visual-constraint="10,10"
191 204
 //  @jve:visual-info  decl-index=0 visual-constraint="10,10"
192 205
//  @jve:visual-info  decl-index=0 visual-constraint="10,10"

Also available in: Unified diff