root / trunk / libraries / libJCRS / src / org / gvsig / crs / ui / TransformationSelectionDialogPanel.java @ 6827
History | View | Annotate | Download (994 Bytes)
1 |
package org.gvsig.crs.ui; |
---|---|
2 |
|
3 |
import java.awt.Dimension; |
4 |
import java.awt.FlowLayout; |
5 |
import java.awt.GridLayout; |
6 |
|
7 |
import javax.swing.JPanel; |
8 |
|
9 |
import org.cresques.ui.DefaultDialogPanel; |
10 |
import org.gvsig.crs.EpsgConnection; |
11 |
|
12 |
public class TransformationSelectionDialogPanel extends DefaultDialogPanel { |
13 |
|
14 |
private static final long serialVersionUID = 1L; |
15 |
|
16 |
public TransformationSelectionDialogPanel() {
|
17 |
super();
|
18 |
inicializate(); |
19 |
} |
20 |
|
21 |
public void inicializate(){ |
22 |
this.setSize(700,700); |
23 |
} |
24 |
|
25 |
public TransformationSelectionPanel getProjPanel() {
|
26 |
return (TransformationSelectionPanel) getContentPanel();
|
27 |
} |
28 |
|
29 |
public JPanel getContentPanel() { |
30 |
if (contentPane == null) { |
31 |
contentPane = new TransformationSelectionPanel();
|
32 |
contentPane.setLayout(new GridLayout(3,3)); |
33 |
contentPane.setLayout(new FlowLayout( FlowLayout.LEFT,10,10)); |
34 |
contentPane.setPreferredSize(new Dimension(680,650)); |
35 |
} |
36 |
return contentPane;
|
37 |
} |
38 |
|
39 |
} |