/** * Retrieves the value of a named attribute from the attribute cache. * * @param key Attribute name * @return Attribute value. * @throws IllegalStateException if AppFramework is not initialized */ public static Object getAttribute(String key) { assertInitialized(); return getAppFramework().getAttribute(key); }
/** * Retrieves the value of a named attribute from the attribute cache. * * @param key Attribute name * @return Attribute value. * @throws IllegalStateException if AppFramework is not initialized */ public static Object getAttribute(final String key) { assertInitialized(); return getAppFramework().getAttribute(key); }
/** * Initialize the dialog. */ @SuppressWarnings("unchecked") @Override public void afterInitialized(BaseComponent comp) { super.afterInitialized(comp); sessionId = (String) comp.findAttribute("sessionId"); Collection<IPublisherInfo> exclusions = (Collection<IPublisherInfo>) comp.findAttribute("exclusions"); renderer = new ParticipantRenderer(chatService.getSelf(), exclusions); lstSessions.setRenderer(renderer); chkHideActive.setChecked(getAppFramework().getAttribute(ATTR_HIDE) != null); refresh(); }