OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 80 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 80 Rev 83
Line 26... Line 26...
26
import org.openconcerto.sql.model.SQLRow;
26
import org.openconcerto.sql.model.SQLRow;
27
import org.openconcerto.sql.model.SQLRowAccessor;
27
import org.openconcerto.sql.model.SQLRowAccessor;
28
import org.openconcerto.sql.model.SQLRowValues;
28
import org.openconcerto.sql.model.SQLRowValues;
29
import org.openconcerto.sql.model.SQLTable;
29
import org.openconcerto.sql.model.SQLTable;
30
import org.openconcerto.sql.model.graph.TablesMap;
30
import org.openconcerto.sql.model.graph.TablesMap;
-
 
31
import org.openconcerto.sql.sqlobject.ElementComboBox;
31
import org.openconcerto.sql.sqlobject.SQLTextCombo;
32
import org.openconcerto.sql.sqlobject.SQLTextCombo;
32
import org.openconcerto.ui.DefaultGridBagConstraints;
33
import org.openconcerto.ui.DefaultGridBagConstraints;
33
import org.openconcerto.ui.FormLayouter;
34
import org.openconcerto.ui.FormLayouter;
34
import org.openconcerto.ui.TitledSeparator;
35
import org.openconcerto.ui.TitledSeparator;
35
import org.openconcerto.utils.CollectionMap;
36
import org.openconcerto.utils.CollectionMap;
Line 325... Line 326...
325
                c.fill = GridBagConstraints.BOTH;
326
                c.fill = GridBagConstraints.BOTH;
326
                this.add(panelContact, c);
327
                this.add(panelContact, c);
327
                c.fill = GridBagConstraints.HORIZONTAL;
328
                c.fill = GridBagConstraints.HORIZONTAL;
328
                c.gridwidth = 1;
329
                c.gridwidth = 1;
329
 
330
 
-
 
331
                // Devise
-
 
332
                if (getTable().contains("ID_DEVISE")) {
-
 
333
                    c.gridy++;
-
 
334
                    c.gridx = 0;
-
 
335
                    c.weightx = 0;
-
 
336
                    JLabel labelDevise = new JLabel(getLabelFor("ID_DEVISE"));
-
 
337
                    labelDevise.setHorizontalAlignment(SwingConstants.RIGHT);
-
 
338
                    this.add(labelDevise, c);
-
 
339
 
-
 
340
                    c.gridx++;
-
 
341
                    c.weightx = 1;
-
 
342
                    ElementComboBox boxDevise = new ElementComboBox();
-
 
343
                    this.add(boxDevise, c);
-
 
344
                    this.addView(boxDevise, "ID_DEVISE");
-
 
345
                }
-
 
346
 
330
                /***********************************************************************************
347
                /***********************************************************************************
331
                 * DATE D'EXERCICE
348
                 * DATE D'EXERCICE
332
                 **********************************************************************************/
349
                 **********************************************************************************/
333
                this.sep = new TitledSeparator("Date de l'exercice");
350
                this.sep = new TitledSeparator("Date de l'exercice");
334
                c.gridwidth = GridBagConstraints.REMAINDER;
351
                c.gridwidth = GridBagConstraints.REMAINDER;