X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Forg%2Fmxchange%2Faddressbook%2Fmenu%2FBaseMenu.java;h=d39e1be37e55e78f9711c2ddff67ca2ed7b4532b;hb=528eeece943480f5a89d0067cfb6e4cb86f528b5;hp=f5548207938051251ef209dfec785099e29c3b17;hpb=f2010ed4e24bb3e08ee7884184ee23f35193200d;p=addressbook-swing.git diff --git a/src/org/mxchange/addressbook/menu/BaseMenu.java b/src/org/mxchange/addressbook/menu/BaseMenu.java index f554820..d39e1be 100644 --- a/src/org/mxchange/addressbook/menu/BaseMenu.java +++ b/src/org/mxchange/addressbook/menu/BaseMenu.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2015 Roland Haeder + * Copyright (C) 2016 - 2020 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -18,18 +18,19 @@ package org.mxchange.addressbook.menu; import java.text.MessageFormat; import java.util.ArrayList; +import java.util.Collections; import java.util.Iterator; import java.util.List; import org.mxchange.addressbook.BaseAddressbookSystem; -import org.mxchange.addressbook.client.AddressbookClient; import org.mxchange.addressbook.menu.item.SelectableMenuItem; import org.mxchange.jcore.client.Client; /** - * - * @author Roland Haeder + * A general menu class + *
+ * @author Roland Häder
* @return menuList List of menu entries
*/
- protected final List
* @param menuType Menu type to initialize
* @param client CLient to call back
*/
protected void initMenu (final String menuType, final Client client) {
// Trace message
- this.getLogger().trace(MessageFormat.format("menuType={0},client={1} - CALLED!", menuType, client)); //NOI18N
+ this.getLoggerBeanLocal().logTrace(MessageFormat.format("menuType={0},client={1} - CALLED!", menuType, client)); //NOI18N
// Init menu list
this.menuList = new ArrayList<>(5);
// Trace message
- this.getLogger().trace("EXIT!"); //NOI18N
+ this.getLoggerBeanLocal().logTrace("EXIT!"); //NOI18N
}
}