modeler_parameter_panels.patch
org.gvsig.toolbox.algorithm/src/main/java/it/falciano/sextante/vectorAddField/VectorAddFieldAlgorithm.java (copia locale) | ||
---|---|---|
34 | 34 |
public static final int TYPE_DOUBLE = 1; |
35 | 35 |
public static final int TYPE_STRING = 2; |
36 | 36 |
|
37 |
// check these values on http://en.wikipedia.org/wiki/Shapefile#Data_storage |
|
38 |
// * Incapable of storing null values (this is a serious issue for quantitative data, as it may skew representation and statistics as null quantities are often represented with 0) |
|
39 |
// * Poor support for Unicode field names or field storage |
|
40 |
// * Maximum length of field names is 10 characters |
|
41 |
// * Maximum number of fields is 255 |
|
42 |
// * Supported field types are: floating point (13 character storage), integer (4 or 9 character storage), date (no time storage; 8 character storage), and text (maximum 254 character storage) |
|
43 |
// * Floating point numbers may contain rounding errors since they are stored as text |
|
37 |
// check these values on http://en.wikipedia.org/wiki/Shapefile#Data_storage |
|
38 |
// * Incapable of storing null values (this is a serious issue for quantitative data, as it |
|
39 |
// may skew representation and statistics as null quantities are often represented with 0) |
|
40 |
// * Poor support for Unicode field names or field storage |
|
41 |
// * Maximum length of field names is 10 characters |
|
42 |
// * Maximum number of fields is 255 |
|
43 |
// * Supported field types are: floating point (13 character storage), integer (4 or 9 character |
|
44 |
// storage), date (no time storage; 8 character storage), and text (maximum 254 character storage) |
|
45 |
// * Floating point numbers may contain rounding errors since they are stored as text |
|
44 | 46 |
|
45 | 47 |
public static final double DEFAULT_FIELD_LENGTH = 1; |
46 | 48 |
public static final double DEFAUL_FIELD_PRECISION = 0; |
... | ... | |
63 | 65 |
m_Parameters.addString(FIELD_NAME, Sextante.getText("Field_name")); |
64 | 66 |
final String[] sTypes = { "Integer", "Double", "String" }; |
65 | 67 |
m_Parameters.addSelection(FIELD_TYPE, Sextante.getText("Field_type"), sTypes); |
66 |
m_Parameters.addNumericalValue(FIELD_LENGTH, "Field length", AdditionalInfoNumericalValue.NUMERICAL_VALUE_INTEGER,
|
|
68 |
m_Parameters.addNumericalValue(FIELD_LENGTH, Sextante.getText("Field_length"), AdditionalInfoNumericalValue.NUMERICAL_VALUE_INTEGER,
|
|
67 | 69 |
DEFAULT_FIELD_LENGTH, MIN_FIELD_LENGTH, MAX_FIELD_LENGTH); |
68 | 70 |
m_Parameters.addNumericalValue(FIELD_PRECISION, Sextante.getText("Field_precision_Double_only"), |
69 | 71 |
AdditionalInfoNumericalValue.NUMERICAL_VALUE_INTEGER, DEFAUL_FIELD_PRECISION, MIN_FIELD_PRECISION, |
org.gvsig.toolbox.gui/src/main/java/es/unex/sextante/gui/modeler/AlgorithmDialog.java (copia locale) | ||
---|---|---|
119 | 119 |
private void initGUI() { |
120 | 120 |
|
121 | 121 |
this.setTitle(Sextante.getText("modeler_add_algorithm") + " (" + m_Algorithm.getName() + ")" ); |
122 |
this.setPreferredSize(new java.awt.Dimension(700, 422));
|
|
122 |
this.setPreferredSize(new java.awt.Dimension(700, 450));
|
|
123 | 123 |
this.setResizable(false); |
124 | 124 |
|
125 | 125 |
final TableLayout thisLayout = new TableLayout(new double[][] { |
org.gvsig.toolbox.gui/src/main/java/es/unex/sextante/gui/modeler/ModelerPanel.java (copia locale) | ||
---|---|---|
123 | 123 |
{ |
124 | 124 |
final BorderLayout thisLayout = new BorderLayout(); |
125 | 125 |
this.setLayout(thisLayout); |
126 |
this.setSize(new java.awt.Dimension(950, 630));
|
|
126 |
this.setSize(new java.awt.Dimension(950, 500));
|
|
127 | 127 |
jMenuSave= new JMenuItem(new AbstractAction(Sextante.getText("Save")) { |
128 | 128 |
public void actionPerformed(ActionEvent e) { |
129 | 129 |
saveModel(false); |
... | ... | |
171 | 171 |
} |
172 | 172 |
{ |
173 | 173 |
jLabelGroup = new JLabel(); |
174 |
jLabelGroup.setText(Sextante.getText("Group"+":"));
|
|
174 |
jLabelGroup.setText(Sextante.getText("Group")+":");
|
|
175 | 175 |
jModelPanel.add(jLabelGroup, "3, 1"); |
176 | 176 |
} |
177 | 177 |
{ |
... | ... | |
362 | 362 |
jElementsPanel.setLayout(jElementsPanelLayout); |
363 | 363 |
jSplitPane.add(jElementsPanel, JSplitPane.LEFT); |
364 | 364 |
jSplitPane.setDividerLocation(0.3); |
365 |
jElementsPanel.setMinimumSize(new java.awt.Dimension(120, 528));
|
|
365 |
jElementsPanel.setMinimumSize(new java.awt.Dimension(250, 528));
|
|
366 | 366 |
{ |
367 | 367 |
jPanelButtonsElements = new JPanel(); |
368 | 368 |
final TableLayout jButtonsElementsPanelLayout = |
org.gvsig.toolbox.gui/src/main/java/es/unex/sextante/gui/modeler/parameters/BooleanPanel.java (copia locale) | ||
---|---|---|
40 | 40 |
|
41 | 41 |
super.setTitle(Sextante.getText("modeler_add_par_boolean")); |
42 | 42 |
|
43 |
super.setPreferredSize(new java.awt.Dimension(400, 150));
|
|
43 |
super.setPreferredSize(new java.awt.Dimension(400, 200));
|
|
44 | 44 |
|
45 | 45 |
try { |
46 | 46 |
jCheckBoxDefault = new JCheckBox(); |
org.gvsig.toolbox.gui/src/main/java/es/unex/sextante/gui/modeler/parameters/FilepathPanel.java (copia locale) | ||
---|---|---|
53 | 53 |
|
54 | 54 |
super.setTitle(Sextante.getText("modeler_add_par_filepath")); |
55 | 55 |
|
56 |
super.setPreferredSize(new java.awt.Dimension(400, 210));
|
|
56 |
super.setPreferredSize(new java.awt.Dimension(400, 250));
|
|
57 | 57 |
|
58 | 58 |
try { |
59 | 59 |
{ |
org.gvsig.toolbox.gui/src/main/java/es/unex/sextante/gui/modeler/parameters/FixedTablePanel.java (copia locale) | ||
---|---|---|
59 | 59 |
|
60 | 60 |
super.setTitle(Sextante.getText("modeler_add_par_fixed_table")); |
61 | 61 |
|
62 |
super.setPreferredSize(new java.awt.Dimension(400, 208));
|
|
62 |
super.setPreferredSize(new java.awt.Dimension(400, 250));
|
|
63 | 63 |
|
64 | 64 |
final Integer values[] = new Integer[15]; |
65 | 65 |
super.initGUI(); |
org.gvsig.toolbox.gui/src/main/java/es/unex/sextante/gui/modeler/parameters/MultipleInputPanel.java (copia locale) | ||
---|---|---|
49 | 49 |
|
50 | 50 |
super.setTitle(Sextante.getText("modeler_add_par_multiple")); |
51 | 51 |
|
52 |
super.setPreferredSize(new java.awt.Dimension(400, 180));
|
|
52 |
super.setPreferredSize(new java.awt.Dimension(400, 200));
|
|
53 | 53 |
|
54 | 54 |
try { |
55 | 55 |
{ |
org.gvsig.toolbox.gui/src/main/java/es/unex/sextante/gui/modeler/parameters/NumericalValuePanel.java (copia locale) | ||
---|---|---|
67 | 67 |
|
68 | 68 |
super.setTitle(Sextante.getText("modeler_add_par_numerical")); |
69 | 69 |
|
70 |
super.setPreferredSize(new java.awt.Dimension(400, 240));
|
|
70 |
super.setPreferredSize(new java.awt.Dimension(400, 290));
|
|
71 | 71 |
|
72 | 72 |
try { |
73 | 73 |
{ |
org.gvsig.toolbox.gui/src/main/java/es/unex/sextante/gui/modeler/parameters/PointPanel.java (copia locale) | ||
---|---|---|
36 | 36 |
|
37 | 37 |
super.setTitle(Sextante.getText("modeler_add_par_point")); |
38 | 38 |
|
39 |
super.setPreferredSize(new java.awt.Dimension(400, 150));
|
|
39 |
super.setPreferredSize(new java.awt.Dimension(400, 200));
|
|
40 | 40 |
|
41 | 41 |
try { |
42 | 42 |
jLabel = new JLabel(); |
org.gvsig.toolbox.gui/src/main/java/es/unex/sextante/gui/modeler/parameters/Raster3DLayerPanel.java (copia locale) | ||
---|---|---|
40 | 40 |
|
41 | 41 |
super.setTitle(Sextante.getText("modeler_add_par_raster_3D")); |
42 | 42 |
|
43 |
super.setPreferredSize(new java.awt.Dimension(400, 150));
|
|
43 |
super.setPreferredSize(new java.awt.Dimension(400, 200));
|
|
44 | 44 |
|
45 | 45 |
try { |
46 | 46 |
jCheckBoxMandatory = new JCheckBox(); |
org.gvsig.toolbox.gui/src/main/java/es/unex/sextante/gui/modeler/parameters/RasterBandPanel.java (copia locale) | ||
---|---|---|
53 | 53 |
|
54 | 54 |
super.setTitle(Sextante.getText("modeler_add_par_band")); |
55 | 55 |
|
56 |
super.setPreferredSize(new java.awt.Dimension(400, 150));
|
|
56 |
super.setPreferredSize(new java.awt.Dimension(400, 200));
|
|
57 | 57 |
|
58 | 58 |
try { |
59 | 59 |
|
org.gvsig.toolbox.gui/src/main/java/es/unex/sextante/gui/modeler/parameters/RasterLayerPanel.java (copia locale) | ||
---|---|---|
40 | 40 |
|
41 | 41 |
super.setTitle(Sextante.getText("modeler_add_par_raster")); |
42 | 42 |
|
43 |
super.setPreferredSize(new java.awt.Dimension(400, 150));
|
|
43 |
super.setPreferredSize(new java.awt.Dimension(400, 200));
|
|
44 | 44 |
|
45 | 45 |
try { |
46 | 46 |
jCheckBoxMandatory = new JCheckBox(); |
org.gvsig.toolbox.gui/src/main/java/es/unex/sextante/gui/modeler/parameters/StringPanel.java (copia locale) | ||
---|---|---|
45 | 45 |
|
46 | 46 |
super.setTitle(Sextante.getText("modeler_add_par_string")); |
47 | 47 |
|
48 |
super.setPreferredSize(new java.awt.Dimension(400, 150));
|
|
48 |
super.setPreferredSize(new java.awt.Dimension(400, 200));
|
|
49 | 49 |
|
50 | 50 |
try { |
51 | 51 |
{ |
org.gvsig.toolbox.gui/src/main/java/es/unex/sextante/gui/modeler/parameters/TableFieldPanel.java (copia locale) | ||
---|---|---|
57 | 57 |
|
58 | 58 |
super.setTitle(Sextante.getText("modeler_add_par_field")); |
59 | 59 |
|
60 |
super.setPreferredSize(new java.awt.Dimension(400, 150));
|
|
60 |
super.setPreferredSize(new java.awt.Dimension(400, 200));
|
|
61 | 61 |
|
62 | 62 |
try { |
63 | 63 |
final TableLayout thisLayout = new TableLayout(new double[][] { |
org.gvsig.toolbox.gui/src/main/java/es/unex/sextante/gui/modeler/parameters/TablePanel.java (copia locale) | ||
---|---|---|
40 | 40 |
|
41 | 41 |
super.setTitle(Sextante.getText("modeler_add_par_table")); |
42 | 42 |
|
43 |
super.setPreferredSize(new java.awt.Dimension(400, 150));
|
|
43 |
super.setPreferredSize(new java.awt.Dimension(400, 200));
|
|
44 | 44 |
|
45 | 45 |
try { |
46 | 46 |
jCheckBoxMandatory = new JCheckBox(); |
org.gvsig.toolbox.gui/src/main/java/es/unex/sextante/gui/modeler/parameters/VectorLayerPanel.java (copia locale) | ||
---|---|---|
52 | 52 |
|
53 | 53 |
super.setTitle(Sextante.getText("modeler_add_par_vector")); |
54 | 54 |
|
55 |
super.setPreferredSize(new java.awt.Dimension(400, 180));
|
|
55 |
super.setPreferredSize(new java.awt.Dimension(400, 200));
|
|
56 | 56 |
|
57 | 57 |
try { |
58 | 58 |
|