From 1274e2c2a6cf52f383a1a8c4ebad8df066dff3fc Mon Sep 17 00:00:00 2001 From: Yuriy Artamonov Date: Wed, 10 Apr 2013 10:53:39 +0000 Subject: [PATCH] Messages Inject in screens, messages in AbstractFrame not injected #PL-2030 --- .../security/session/browse/SessionBrowser.java | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/modules/gui/src/com/haulmont/cuba/gui/app/security/session/browse/SessionBrowser.java b/modules/gui/src/com/haulmont/cuba/gui/app/security/session/browse/SessionBrowser.java index f6a6657524..8e798ef333 100644 --- a/modules/gui/src/com/haulmont/cuba/gui/app/security/session/browse/SessionBrowser.java +++ b/modules/gui/src/com/haulmont/cuba/gui/app/security/session/browse/SessionBrowser.java @@ -7,9 +7,7 @@ package com.haulmont.cuba.gui.app.security.session.browse; import com.haulmont.chile.core.datatypes.Datatypes; -import com.haulmont.cuba.core.entity.Entity; import com.haulmont.cuba.core.global.ClientType; -import com.haulmont.cuba.core.global.Messages; import com.haulmont.cuba.core.global.UserSessionSource; import com.haulmont.cuba.gui.AppConfig; import com.haulmont.cuba.gui.WindowManager; @@ -31,25 +29,22 @@ import java.util.*; public class SessionBrowser extends AbstractLookup { @Inject - private UserSessionSource userSessionSource; + protected UserSessionSource userSessionSource; @Inject - private UserSessionService uss; + protected UserSessionService uss; @Inject - private Table sessionsTable; + protected Table sessionsTable; @Inject - private UserSessionsDatasource sessionsDs; + protected UserSessionsDatasource sessionsDs; @Inject - protected Messages messages; - - @Inject - private Label lastUpdateTsLab; + protected Label lastUpdateTsLab; @Named("sessionsTable.message") - private Action messageAction; + protected Action messageAction; public void init(Map params) { super.init(params);