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.menu;
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.menu.mainmenu.MainMenuPanel;
10
 
11
public class MenuMainPanel extends JPanel {
12
    final MainMenuPanel mainMenuPanel;
13
 
14
    public MenuMainPanel(Extension extension) {
15
        this.setLayout(new GridLayout(1, 1));
16
        JTabbedPane tab = new JTabbedPane();
181 ilm 17
        this.mainMenuPanel = new MainMenuPanel(extension);
18
        tab.addTab("Menu principal", this.mainMenuPanel);
19
        // TODO : terminer la gestion des actions
20
        // tab.addTab("Actions contextuelles", new ActionMainPanel(extension));
74 ilm 21
        this.add(tab);
22
    }
23
 
24
}