/** * Ensures the open close button for the additional info list is present. * * <p> */ protected void ensureOpenCloseAdditionalInfo() { if (m_openClose == null) { m_openClose = new CmsPushButton( I_CmsImageBundle.INSTANCE.style().triangleRight(), I_CmsImageBundle.INSTANCE.style().triangleDown()); m_openClose.setButtonStyle(ButtonStyle.TRANSPARENT, null); m_titleRow.insert(m_openClose, 0); m_openClose.addClickHandler( new ClickHandler() { /** * @see * com.google.gwt.event.dom.client.ClickHandler#onClick(com.google.gwt.event.dom.client.ClickEvent) */ public void onClick(ClickEvent event) { setAdditionalInfoVisible( !getElement().getClassName().contains(CmsListItemWidget.OPENCLASS)); } }); } }