public EditButtonsListener(final MenuItem menuItem) throws IllegalParametrs {

		this.menuItem = menuItem;

		switch (menuItem) {
			case ADD:
				listener = new AddButtonActionListener();
			break;
			case DELETE:
				listener = new DeleteButtonActionListener();
			break;
			case FIND:
				listener = new FindButtonActionListener();
			break;
			case LANGUAGE_ENGLISH:
				listener = new EnglishLanguageButtonActionListener();
			break;
			case LANGUAGE_RUSSIAN:
				listener = new RussianLanguageButtonActionListener();
			break;
			case CONNECT:
				listener = new ConnectButtonActionListener();
			break;
			case DISCONNECT:
				listener = new DisconnectButtonActionListener();
			break;
			default:
				throw new IllegalParametrs();
		}
	}