@Service @Lazy @DependentInitialisation(value=ch.sahits.game.openpatrician.util.StartNewGameBean.class) public class DialogFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
private ClientViewState |
clientViewState |
private org.springframework.context.ApplicationContext |
context |
private IFontLoader |
fontLoader |
| Constructor and Description |
|---|
DialogFactory() |
| Modifier and Type | Method and Description |
|---|---|
private Dialog |
createDialogForSideRoom(ch.sahits.game.openpatrician.model.people.ISideRoomPerson sideRoomPerson,
ch.sahits.game.openpatrician.client.ICityPlayerProxyJFX cityProxy)
Retrieve the dialog that matches the side room person
|
Dialog |
getDialog(DialogTemplate template) |
Dialog |
getDialog(EDialogType dialogType,
ch.sahits.game.openpatrician.client.ICityPlayerProxyJFX cityProxy) |
Dialog |
getDialog(EDialogType dialogType,
ch.sahits.game.openpatrician.client.ICityPlayerProxyJFX cityProxy,
ch.sahits.game.openpatrician.model.ship.IConvoy convoy,
ch.sahits.game.openpatrician.model.ship.IShip ship) |
private HistoryStandaloneDialog |
getHistoryDialog(ch.sahits.game.openpatrician.client.ICityPlayerProxyJFX cityProxy,
String resourceName) |
private String |
getHistoryResourceName(String name) |
@Autowired private org.springframework.context.ApplicationContext context
@Autowired private IFontLoader fontLoader
@Autowired private ClientViewState clientViewState
public Dialog getDialog(DialogTemplate template)
private HistoryStandaloneDialog getHistoryDialog(ch.sahits.game.openpatrician.client.ICityPlayerProxyJFX cityProxy, String resourceName)
public Dialog getDialog(EDialogType dialogType, ch.sahits.game.openpatrician.client.ICityPlayerProxyJFX cityProxy)
public Dialog getDialog(EDialogType dialogType, ch.sahits.game.openpatrician.client.ICityPlayerProxyJFX cityProxy, ch.sahits.game.openpatrician.model.ship.IConvoy convoy, ch.sahits.game.openpatrician.model.ship.IShip ship)
private Dialog createDialogForSideRoom(ch.sahits.game.openpatrician.model.people.ISideRoomPerson sideRoomPerson, ch.sahits.game.openpatrician.client.ICityPlayerProxyJFX cityProxy)
sideRoomPerson - Copyright © 2011-2016 Sahits GmbH. All Rights Reserved.