@@ -0,0 +1,1231 @@
+package ru.revdaalex.menu;%0A%0Aimport ru.revdaalex.menu.interfaces.IO;%0Aimport ru.revdaalex.menu.interfaces.ShowMenu;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0A/**%0A * AllMenu class.%0A * Created by revdaalex on 15.09.2016.%0A */%0Apublic class AllMenu %7B%0A    /**%0A     * IO variable.%0A     */%0A    protected final IO io;%0A%0A    /**%0A     * Main constructor.%0A     * @param io%0A     */%0A    public AllMenu(IO io) %7B%0A        this.io = io;%0A    %7D%0A%0A    /**%0A     * Start method.%0A     */%0A    public void start()%7B%0A        RootMenu rootMenu = new RootMenu(%22%D0%97%D0%B0%D0%B4%D0%B0%D1%87%D0%B0 1%22, io);%0A        ChapterMenu chapterMenu = new ChapterMenu(%22%D0%97%D0%B0%D0%B4%D0%B0%D1%87%D0%B0 1.1%22, io);%0A        SubMenu subMenu = new SubMenu(%22%D0%97%D0%B0%D0%B4%D0%B0%D1%87%D0%B0 1.1.1%22, io);%0A        SubMenu subMenuTwo = new SubMenu(%22%D0%97%D0%B0%D0%B4%D0%B0%D1%87%D0%B0 1.1.2%22, io);%0A        ChapterMenu chapterMenuTwo = new ChapterMenu(%22%D0%97%D0%B0%D0%B4%D0%B0%D1%87%D0%B0 1.2%22, io);%0A        ActionInMenu actionInMenu = new ActionInMenu(io);%0A        List%3CShowMenu%3E showMenus = new ArrayList%3CShowMenu%3E();%0A        showMenus.add(rootMenu);%0A        showMenus.add(chapterMenu);%0A        showMenus.add(subMenu);%0A        showMenus.add(subMenuTwo);%0A        showMenus.add(chapterMenuTwo);%0A        showMenus.add(actionInMenu);%0A        for (ShowMenu menu : showMenus)%7B%0A            menu.show();%0A        %7D%0A    %7D%0A%7D

add AllMenu.java