protected void init() {

        LinkedHashMap<String, String> sortList = getSortList();
        if (sortList != null) {
            m_sortSelectBox = new CmsSelectBox(sortList);
            m_sortSelectBox.addValueChangeHandler(this);
            m_sortSelectBox.addStyleName(DIALOG_CSS.selectboxWidth());
            m_sortSelectBox.truncate(TM_GALLERY_SORT, 200);
            m_options.add(m_sortSelectBox);
            Label infoLabel = new Label();
            infoLabel.setStyleName(DIALOG_CSS.infoLabel());
            m_infoLabel = infoLabel;
            m_options.insert(infoLabel, 0);
        }
        createQuickBox();

    }
protected void init ( ) { LinkedHashMap < String , String > sortList = getSortList ( ) ; if ( sortList != null ) { m_sortSelectBox = new CmsSelectBox ( sortList ) ; m_sortSelectBox . addValueChangeHandler ( this ) ; m_sortSelectBox . addStyleName ( DIALOG_CSS . selectboxWidth ( ) ) ; m_sortSelectBox . truncate ( TM_GALLERY_SORT , 200 ) ; m_options . add ( m_sortSelectBox ) ; Label infoLabel = new Label ( ) ; infoLabel . setStyleName ( DIALOG_CSS . infoLabel ( ) ) ; m_infoLabel = infoLabel ; m_options . insert ( infoLabel , 0 ) ; } createQuickBox ( ) ; }
Call after all handlers have been set.<p>