Statistics
| Revision:

root / branches / CqCMSDvp / libraries / libCq CMS for java.old / src / org / cresques / ui / cts / CSSelectionDialogPanel.java @ 1733

History | View | Annotate | Download (966 Bytes)

1
/*
2
 * Creado el 31-ago-2004
3
 */
4
package org.cresques.ui.cts;
5

    
6
import javax.swing.JPanel;
7

    
8
import org.cresques.cts.ProjectionPool;
9
import org.cresques.ui.DefaultDialogPanel;
10
import org.cresques.ui.cts.CSSelectionPanel;
11

    
12
/**
13
 * Dialogo para abrir fichero.
14
 * @author "Luis W. Sevilla" <sevilla_lui@gva.es>
15
 */
16
public class CSSelectionDialogPanel extends DefaultDialogPanel {
17
        public CSSelectionDialogPanel() {
18
                super();
19
                initialize();
20
        }
21

    
22
        /**
23
         * This method initializes this
24
         * 
25
         * @return void
26
         */
27
        private void initialize() {
28
        this.setBounds(0,0,321,230);
29
                        
30
        }
31
        public CSSelectionPanel getProjPanel() {
32
                return (CSSelectionPanel) getContentPanel();
33
        }
34
        
35
        protected JPanel getContentPanel() {
36
                if (contentPane == null) {
37
                        contentPane = new CSSelectionPanel("Sistema de referencia");
38
                        contentPane.setBounds(14, 12, 280, 163);
39
                        
40
                        ((CSSelectionPanel)contentPane).setProjection(ProjectionPool.get("EPSG:32619"));
41
                }
42
                return contentPane;
43
        }
44
}
45