OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
74 ilm 1
package org.openconcerto.modules.extensionbuilder.translation;
2
 
3
import java.awt.GridLayout;
4
 
5
import javax.swing.JPanel;
6
import javax.swing.JTabbedPane;
7
 
8
import org.openconcerto.modules.extensionbuilder.Extension;
9
import org.openconcerto.modules.extensionbuilder.translation.action.ActionTranslationPanel;
10
import org.openconcerto.modules.extensionbuilder.translation.field.TableTranslationPanel;
11
import org.openconcerto.modules.extensionbuilder.translation.menu.MenuTranslationPanel;
12
 
13
public class TranslationMainPanel extends JPanel {
14
    public TranslationMainPanel(Extension extension) {
15
        this.setLayout(new GridLayout(1, 1));
16
        JTabbedPane p = new JTabbedPane();
17
        p.add("Champs et tables", new TableTranslationPanel(extension));
18
        p.add("Menus", new MenuTranslationPanel(extension));
19
        p.add("Actions contextuelles", new ActionTranslationPanel(extension));
20
 
21
        this.add(p);
22
 
23
    }
24
}