public class NoticeBoardGuildMenuProvider extends AbstractNoticeBoardMenuProvider implements INoticeBoardMenuProvider
| Modifier and Type | Field and Description |
|---|---|
private ch.sahits.game.openpatrician.model.city.guild.GuildList |
guildList |
private ch.sahits.game.openpatrician.util.l10n.Locale |
locale |
private org.springframework.context.MessageSource |
messageSource |
context, textFactory| Constructor and Description |
|---|
NoticeBoardGuildMenuProvider() |
| Modifier and Type | Method and Description |
|---|---|
LinkedHashSet<NoticeBoardMenuEntry> |
createMenuEntries(ch.sahits.game.openpatrician.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.util.l10n.Locale locale
@Autowired private org.springframework.context.MessageSource messageSource
@Autowired private ch.sahits.game.openpatrician.model.city.guild.GuildList guildList
public LinkedHashSet<NoticeBoardMenuEntry> createMenuEntries(ch.sahits.game.openpatrician.client.ICityPlayerProxyJFX proxy, ENoticeBoardType type)
INoticeBoardMenuProvidercreateMenuEntries in interface INoticeBoardMenuProvidertype - of the dialog in cas further distintion is needed.Copyright © 2011-2017 Sahits GmbH. All Rights Reserved.