Revision 19621 trunk/extensions/extGeoreferencing/src/org/gvsig/georeferencing/ui/launcher/GeorefLauncherPanel.java
GeorefLauncherPanel.java | ||
---|---|---|
21 | 21 |
import java.awt.GridBagConstraints; |
22 | 22 |
import java.awt.GridBagLayout; |
23 | 23 |
|
24 |
import org.gvsig.georeferencing.ui.options.CellSizeOptionsPanel; |
|
24 | 25 |
import org.gvsig.gui.beans.buttonspanel.ButtonsPanel; |
25 | 26 |
import org.gvsig.gui.beans.buttonspanel.ButtonsPanelListener; |
26 | 27 |
import org.gvsig.gui.beans.defaultbuttonspanel.DefaultButtonsPanel; |
... | ... | |
34 | 35 |
* @author Nacho Brodin (nachobrodin@gmail.com) |
35 | 36 |
*/ |
36 | 37 |
public class GeorefLauncherPanel extends DefaultButtonsPanel { |
37 |
private static final long serialVersionUID = 1L; |
|
38 |
private String[] viewNameList = null; |
|
38 |
private static final long serialVersionUID = 1L;
|
|
39 |
private String[] viewNameList = null;
|
|
39 | 40 |
private int polynomialDegree; |
40 | 41 |
|
41 |
private AlgorithmSelectionPanel algorithmPanel = null; |
|
42 |
private FileSelectionPanel filePanel = null; |
|
43 |
private OutFileSelectionPanel outFilePanel = null; |
|
44 |
private TypeSelectionPanel typePanel = null; |
|
42 |
private AlgorithmSelectionPanel algorithmPanel = null; |
|
43 |
private FileSelectionPanel filePanel = null; |
|
44 |
private OutFileSelectionPanel outFilePanel = null; |
|
45 |
private TypeSelectionPanel typePanel = null; |
|
46 |
private CellSizeOptionsPanel cellSizePanel = null; |
|
45 | 47 |
|
46 | 48 |
/** |
47 | 49 |
* Constructor |
... | ... | |
86 | 88 |
gbc.weighty = 1.0; |
87 | 89 |
gbc.fill = GridBagConstraints.BOTH; |
88 | 90 |
add(getAlgorithmSelectionPanel(), gbc); |
91 |
|
|
92 |
gbc.gridy = 4; |
|
93 |
gbc.weighty = 1.0; |
|
94 |
gbc.fill = GridBagConstraints.BOTH; |
|
95 |
add(getCellSizePanel(), gbc); |
|
89 | 96 |
} |
90 | 97 |
|
91 | 98 |
/** |
... | ... | |
104 | 111 |
*/ |
105 | 112 |
public FileSelectionPanel getFileSelectionPanel() { |
106 | 113 |
if(filePanel == null) |
107 |
filePanel = new FileSelectionPanel(); |
|
114 |
filePanel = new FileSelectionPanel( getCellSizePanel().getXCellSizeTextField(), |
|
115 |
getCellSizePanel().getYCellSizeTextField()); |
|
108 | 116 |
return filePanel; |
109 | 117 |
} |
110 | 118 |
|
... | ... | |
127 | 135 |
typePanel = new TypeSelectionPanel(viewNameList); |
128 | 136 |
return typePanel; |
129 | 137 |
} |
138 |
|
|
139 |
/** |
|
140 |
* Obtiene el panel del tama?o de celda |
|
141 |
* @return CellSizeOptionsPanel |
|
142 |
*/ |
|
143 |
public CellSizeOptionsPanel getCellSizePanel() { |
|
144 |
if(cellSizePanel == null) |
|
145 |
cellSizePanel = new CellSizeOptionsPanel(); |
|
146 |
return cellSizePanel; |
|
147 |
} |
|
130 | 148 |
} |
Also available in: Unified diff