Revision 26248 trunk/extensions/extNormalization/src/org/gvsig/normalization/gui/NormPanelModel.java
NormPanelModel.java | ||
---|---|---|
37 | 37 |
import java.util.List; |
38 | 38 |
import java.util.Locale; |
39 | 39 |
|
40 |
|
|
41 | 40 |
import javax.swing.DefaultListModel; |
42 | 41 |
import javax.swing.JFileChooser; |
43 | 42 |
import javax.swing.JOptionPane; |
... | ... | |
143 | 142 |
return uniqueInstance; |
144 | 143 |
} |
145 | 144 |
|
146 |
/* BUILDERS */ |
|
147 |
|
|
145 |
/** |
|
146 |
* Constructor |
|
147 |
*/ |
|
148 | 148 |
private NormPanelModel() { |
149 | 149 |
initPattern(); |
150 | 150 |
} |
151 | 151 |
|
152 |
// Constructors prior to the singleton pattern adoption |
|
153 |
|
|
154 |
// private NormPanelModel(Table tab2) { |
|
155 |
// this(); |
|
156 |
// isFile = false; |
|
157 |
// /* Table */ |
|
158 |
// this.tab = tab2; |
|
159 |
// } |
|
160 |
// |
|
161 |
// private NormPanelModel(ArrayList<String> arr, String _nameFile) { |
|
162 |
// this(); |
|
163 |
// isFile = true; |
|
164 |
// /* all strings from file */ |
|
165 |
// fileChains = arr; |
|
166 |
// /* file name */ |
|
167 |
// nameFile = _nameFile; |
|
168 |
// /* Samples of strings */ |
|
169 |
// getSamplesFromFile(); |
|
170 |
// } |
|
171 |
|
|
172 | 152 |
/* METHODS */ |
173 | 153 |
|
174 | 154 |
/** |
... | ... | |
270 | 250 |
if (normAction instanceof NormalizationNewTable) { |
271 | 251 |
NormalizationNewTable normTable = (NormalizationNewTable) normAction; |
272 | 252 |
this.loadTable(normTable); |
253 |
addInfo(INFO + PluginServices.getText(null, "endnormalizing") |
|
254 |
+ " \n"); |
|
273 | 255 |
} |
274 | 256 |
|
275 | 257 |
return true; |
Also available in: Unified diff