OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

Rev 74 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
74 ilm 1
package org.openconcerto.modules.extensionbuilder.table;
2
 
3
import javax.swing.JComponent;
4
 
5
import org.openconcerto.modules.extensionbuilder.AbstractSplittedPanel;
6
import org.openconcerto.modules.extensionbuilder.Extension;
7
 
8
public class TableCreateMainPanel extends AbstractSplittedPanel {
9
 
10
    public TableCreateMainPanel(Extension extension) {
11
        super(extension);
12
    }
13
 
14
    public void select(TableDescritor tableDescriptor) {
181 ilm 15
        ((TableListPanel) this.leftComponent).selectItem(tableDescriptor);
74 ilm 16
    }
17
 
18
    @Override
19
    public JComponent createLeftComponent() {
181 ilm 20
        return new TableListPanel(this.extension, this);
74 ilm 21
    }
22
}