Пример #1
0
 @EventHandler
 protected void onEvent(final AxisPositionEvent evt) {
   final Display<?> activeDisplay = displayService.getActiveDisplay();
   if (evt.getDisplay() == activeDisplay) drawIcon();
 }
Пример #2
0
 @EventHandler
 protected void onEvent(final DisplayDeletedEvent evt) {
   if (displayService.getActiveDisplay() == null) drawIcon();
 }