OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

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

Rev 156 Rev 174
Line 13... Line 13...
13
 
13
 
14
 package org.openconcerto.erp.core.customerrelationship.customer.action;
14
 package org.openconcerto.erp.core.customerrelationship.customer.action;
15
 
15
 
16
import org.openconcerto.erp.action.CreateIListFrameAbstractAction;
16
import org.openconcerto.erp.action.CreateIListFrameAbstractAction;
17
import org.openconcerto.erp.config.ComptaPropsConfiguration;
17
import org.openconcerto.erp.config.ComptaPropsConfiguration;
18
import org.openconcerto.erp.core.customerrelationship.customer.element.ClientNormalSQLElement;
-
 
19
import org.openconcerto.erp.core.customerrelationship.customer.element.CustomerSQLElement;
-
 
20
import org.openconcerto.erp.core.sales.invoice.ui.EcheanceRenderer;
18
import org.openconcerto.erp.core.sales.invoice.ui.EcheanceRenderer;
-
 
19
import org.openconcerto.sql.element.SQLElement;
21
import org.openconcerto.sql.model.SQLField;
20
import org.openconcerto.sql.model.SQLField;
22
import org.openconcerto.sql.model.SQLTable;
21
import org.openconcerto.sql.model.SQLTable;
23
import org.openconcerto.sql.view.IListFrame;
22
import org.openconcerto.sql.view.IListFrame;
24
 
23
 
25
import java.util.Set;
24
import java.util.Set;
26
 
25
 
27
import javax.swing.JTable;
26
import javax.swing.JTable;
28
 
27
 
29
public class ListeDesClientsAction extends CreateIListFrameAbstractAction<ClientNormalSQLElement> {
28
public class ListeDesClientsAction extends CreateIListFrameAbstractAction<SQLElement> {
30
 
29
 
31
    public ListeDesClientsAction(final ComptaPropsConfiguration conf) {
30
    public ListeDesClientsAction(final ComptaPropsConfiguration conf) {
-
 
31
        // handle CustomerSQLElement/ClientSocieteSQLElement (or even a module replacing the
32
        super(conf, CustomerSQLElement.class);
32
        // default element)
-
 
33
        super(conf, conf.getDirectory().getElement(conf.getRootSociete().getTable("CLIENT")));
33
    }
34
    }
34
 
35
 
35
    @Override
36
    @Override
36
    protected void initFrame(IListFrame frame) {
37
    protected void initFrame(IListFrame frame) {
37
        super.initFrame(frame);
38
        super.initFrame(frame);