/** * Initializes the controller. Loads user preferences and properties. */ @Override protected void initializeController() { if (grid.getRows() == null) { grid.addChild(new Rows()); } setComponents(grid, grid.getRows()); super.initializeController(); boolean expandAll = getPropertyValue(Constants.PROPERTY_ID_EXPAND_DETAIL, Boolean.class, chkExpandAll != null && chkExpandAll.isChecked()); if (this.chkExpandAll != null) { this.chkExpandAll.setChecked(expandAll); } }
/** * 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(); }