Commit Graph

14 Commits

Author SHA1 Message Date
Kai S. K. Engelbart 84e350c02e Removed event handler casts, simplified logging statements 2020-02-12 06:12:04 +01:00
Kai S. K. Engelbart 3cebdc8997 Integrated the new Message class from envoy-common 2019-12-31 11:27:52 +02:00
Kai S. K. Engelbart 61d3d44ee5 Working on handshake mechanism with login 2019-12-29 12:54:05 +02:00
Kai S. K. Engelbart 88c810c2f4 Started integration of new server architecture
* Removed JAX-RS dependency from POM
* Changed version in POM to 0.3-alpha

The errors that appear throughout LocalDB and Client are caused by the
architecture change and will be removed in future commits.
2019-12-28 22:20:43 +02:00
Kai S. K. Engelbart 396686bfdc Added ThemeChangeEvent, improved EventHandler declaration 2019-12-16 09:41:21 +01:00
Kai S. K. Engelbart f0353c8c72 Added background execution 2019-12-14 14:17:24 +01:00
Kai S. K. Engelbart 8247e18fce Javadoc fixes and using superclass when injecting WindowFocusListener 2019-12-05 16:17:33 +01:00
Kai S. K. Engelbart 2831b9a7a3 Creating message notifications only if ChatWindow has lost focus
StatusTray injects a WindowFocusListener into ChatWindow in its
constructor and does only react to received messages if ChatWindow has
currently lost focus.
2019-12-05 15:42:20 +01:00
Kai S. K. Engelbart 6dad4eda08 Fixed Envoy logo loading for StatusTrayIcon 2019-12-05 15:13:19 +01:00
Kai S. K. Engelbart dca65df9bd Added Javadoc to event related classes and StatusTrayIcon 2019-12-04 23:27:17 +01:00
Kai S. K. Engelbart af7408142c Added message events, triggering message creation event
+ Abstract MessageEvent class with MessageCreationEvent and
MessageModificationEvent subclasses
+ Made StatusTrayIcon an event handler
- Fixed EventBus#getInstance not being static
2019-12-04 22:26:24 +01:00
Kai S. K. Engelbart b5badae773 Added StatusTrayIcon#displayMessageNotification method
Using this method, a message object can be displayed as a OS-specific
notification, which can be useful in the future to alert the user about
an incoming message while the application is not in focus.
2019-12-04 18:52:48 +01:00
Kai S. K. Engelbart 378a83638a Added a small popup menu to StatusTrayIcon and loading it in Startup 2019-12-04 07:50:59 +01:00
Kai S. K. Engelbart fbe2d0d0b0 Moved system tray logic to StatusTrayIcon class 2019-12-03 21:48:16 +01:00