@Service @Lazy @DependentInitialisation(value=ch.sahits.game.openpatrician.model.initialisation.StartNewGameBean.class) public class DialogFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
private org.springframework.context.ApplicationContext |
context |
| 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.clientserverinterface.client.ICityPlayerProxyJFX cityProxy)
Retrieve the dialog that matches the side room person
|
Dialog |
getDialog(ch.sahits.game.openpatrician.model.ui.DialogTemplate template) |
Dialog |
getDialog(EDialogType dialogType,
ch.sahits.game.openpatrician.clientserverinterface.client.ICityPlayerProxyJFX cityProxy) |
Dialog |
getDialog(EDialogType dialogType,
ch.sahits.game.openpatrician.clientserverinterface.client.ICityPlayerProxyJFX cityProxy,
ch.sahits.game.openpatrician.model.ship.IConvoy convoy,
ch.sahits.game.openpatrician.model.ship.IShip ship) |
CloseButtonDialog |
getDialog(ch.sahits.game.openpatrician.model.ui.IDialogState state)
Factory method for dialogs that are created with their own specific state.
|
private HistoryStandaloneDialog |
getHistoryDialog(ch.sahits.game.openpatrician.clientserverinterface.client.ICityPlayerProxyJFX cityProxy,
String resourceName) |
private String |
getHistoryResourceName(String name) |
public Dialog getDialog(ch.sahits.game.openpatrician.model.ui.DialogTemplate template)
private HistoryStandaloneDialog getHistoryDialog(ch.sahits.game.openpatrician.clientserverinterface.client.ICityPlayerProxyJFX cityProxy, String resourceName)
public Dialog getDialog(EDialogType dialogType, ch.sahits.game.openpatrician.clientserverinterface.client.ICityPlayerProxyJFX cityProxy)
public CloseButtonDialog getDialog(ch.sahits.game.openpatrician.model.ui.IDialogState state)
state - public Dialog getDialog(EDialogType dialogType, ch.sahits.game.openpatrician.clientserverinterface.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.clientserverinterface.client.ICityPlayerProxyJFX cityProxy)
sideRoomPerson - Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.