@@ -0,0 +1,1238 @@
+package by.vorokhobko.InnerClasses;%0A%0Aimport by.vorokhobko.Encapsulation.start.Tracker;%0Aimport by.vorokhobko.Encapsulation.models.Task;%0Aimport by.vorokhobko.Encapsulation.models.Item;%0Aimport by.vorokhobko.Polymorphism.ConsoleInput;%0Aimport by.vorokhobko.Polymorphism.Input;%0A%0A/**%0A * StartUI.%0A *%0A * Class StartUI the entry point to the program part 002, lesson 6.%0A * @author Evgeny Vorokhobko (vorokhobko2011@yandex.ru).%0A * @since 11.04.2017.%0A * @version 1.%0A */%0A %0Apublic class StartUI %7B%0A%09/**%0A     * The class field.%0A%09 * %D0%A1reating input.%0A%09 */%0A%09private Input input;%0A%09/**%0A%09* %D0%A1reate the class constructor StartUI.%0A%09* @param input - input.%0A%09*/%0A%09public StartUI(Input input) %7B%0A%09%09this.input = input;%0A%09%7D%0A%09/**%0A%09* The main method of the program, menu.%0A%09*/%0A%09public void init() %7B%0A%09%09Tracker tracker = new Tracker();%0A%09%09MenuTracker menu = new MenuTracker(this.input, tracker);%0A%09%09menu.fillActions();%0A%09%09do %7B%0A%09%09%09menu.show();%0A%09%09%09int key = Integer.valueOf(input.ask(%22Select: %22));%0A%09%09%09menu.select(key);%0A%09%09%7D while(!%22y%22.equals(this.input.ask(%22Exit? (y): %22)));%0A%09%7D%0A%09/**%0A%09* Method run the program.%0A%09* @param args - args.%0A%09*/%0A%09public static void main (String%5B%5D args)%7B%0A%09%09Tracker tracker = new Tracker();%0A%09%09Input input = new ConsoleInput();%0A%09%09new StartUI(input).init();%0A%09%7D%0A%7D

add class StartUI