OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

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

package org.openconcerto.modules.extensionbuilder.table;

import javax.swing.JComponent;

import org.openconcerto.modules.extensionbuilder.AbstractSplittedPanel;
import org.openconcerto.modules.extensionbuilder.Extension;

public class TableCreateMainPanel extends AbstractSplittedPanel {

    public TableCreateMainPanel(Extension extension) {
        super(extension);
    }

    public void select(TableDescritor tableDescriptor) {
        ((TableListPanel) this.leftComponent).selectItem(tableDescriptor);
    }

    @Override
    public JComponent createLeftComponent() {
        return new TableListPanel(this.extension, this);
    }
}