Class PostponedDisplayDialogMessage
- java.lang.Object
-
- ch.sahits.game.openpatrician.model.event.TimedTask
-
- ch.sahits.game.openpatrician.clientserverinterface.event.PostponedDisplayDialogMessage
-
- All Implemented Interfaces:
java.lang.Runnable
public class PostponedDisplayDialogMessage extends TimedTask
Post a display message in the form of a dialog template, but postpone it. The task is added to the task list after construction.- Author:
- Andi Hotz, (c) Sahits GmbH, 2015 Created on Apr 06, 2015
-
-
Field Summary
Fields Modifier and Type Field Description private EMessageCategory
category
private com.google.common.eventbus.AsyncEventBus
clientEventBus
private Locale
locale
private org.springframework.context.MessageSource
messageSource
private TimedUpdatableTaskList
taskList
private DialogTemplate
template
-
Constructor Summary
Constructors Constructor Description PostponedDisplayDialogMessage(java.time.LocalDateTime executionTime, EMessageCategory category, DialogTemplate template)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
initialize()
void
run()
java.lang.String
toString()
-
-
-
Field Detail
-
template
private final DialogTemplate template
-
category
private final EMessageCategory category
-
taskList
@Autowired private TimedUpdatableTaskList taskList
-
clientEventBus
@Autowired @Qualifier("clientEventBus") private com.google.common.eventbus.AsyncEventBus clientEventBus
-
locale
@Autowired private Locale locale
-
messageSource
@Autowired @Qualifier("messageSource") private org.springframework.context.MessageSource messageSource
-
-
Constructor Detail
-
PostponedDisplayDialogMessage
public PostponedDisplayDialogMessage(java.time.LocalDateTime executionTime, EMessageCategory category, DialogTemplate template)
-
-