public class NoticeBoardMarketPlaceMenuProvider extends AbstractNoticeBoardMenuProvider implements INoticeBoardMenuProvider
| Modifier and Type | Field and Description |
|---|---|
private ch.sahits.game.openpatrician.utilities.l10n.Locale |
locale |
private org.springframework.context.MessageSource |
messageSource |
context, textFactory| Constructor and Description |
|---|
NoticeBoardMarketPlaceMenuProvider() |
| Modifier and Type | Method and Description |
|---|---|
LinkedHashSet<NoticeBoardMenuEntry> |
createMenuEntries(ch.sahits.game.openpatrician.clientserverinterface.client.ICityPlayerProxyJFX proxy,
ENoticeBoardType type)
Create a list of menu entries approypriate forthe type based on the city player proxy object.
|
createNoticeBoardEntry@Autowired private ch.sahits.game.openpatrician.utilities.l10n.Locale locale
@Autowired private org.springframework.context.MessageSource messageSource
public LinkedHashSet<NoticeBoardMenuEntry> createMenuEntries(ch.sahits.game.openpatrician.clientserverinterface.client.ICityPlayerProxyJFX proxy, ENoticeBoardType type)
INoticeBoardMenuProvidercreateMenuEntries in interface INoticeBoardMenuProvidertype - of the dialog in cas further distintion is needed.Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.