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.menu;

import java.awt.GridLayout;

import javax.swing.JPanel;
import javax.swing.JTabbedPane;

import org.openconcerto.modules.extensionbuilder.Extension;
import org.openconcerto.modules.extensionbuilder.menu.mainmenu.MainMenuPanel;

public class MenuMainPanel extends JPanel {
    final MainMenuPanel mainMenuPanel;

    public MenuMainPanel(Extension extension) {
        this.setLayout(new GridLayout(1, 1));
        JTabbedPane tab = new JTabbedPane();
        this.mainMenuPanel = new MainMenuPanel(extension);
        tab.addTab("Menu principal", this.mainMenuPanel);
        // TODO : terminer la gestion des actions
        // tab.addTab("Actions contextuelles", new ActionMainPanel(extension));
        this.add(tab);
    }

}