private void loadTable() {

        m_nullResult.setVisible(false);
        m_intro.setVisible(false);
        setVisible(true);
        m_siteTableFilter.setVisible(true);

        m_container.removeAllItems();

        setVisibleColumns(PROP_NAME, PROP_VARIATIONS);

        List<String> resources = HELPER.getAllCachedImages();

        for (String res : resources) {
            Item item = m_container.addItem(res);
            item.getItemProperty(PROP_NAME).setValue(res);
        }

        if (resources.size() == 0) {
            m_nullResult.setVisible(true);
            setVisible(false);
            m_siteTableFilter.setVisible(false);
        }

    }
private void loadTable ( ) { m_nullResult . setVisible ( false ) ; m_intro . setVisible ( false ) ; setVisible ( true ) ; m_siteTableFilter . setVisible ( true ) ; m_container . removeAllItems ( ) ; setVisibleColumns ( PROP_NAME , PROP_VARIATIONS ) ; List < String > resources = HELPER . getAllCachedImages ( ) ; for ( String res : resources ) { Item item = m_container . addItem ( res ) ; item . getItemProperty ( PROP_NAME ) . setValue ( res ) ; } if ( resources . size ( ) == 0 ) { m_nullResult . setVisible ( true ) ; setVisible ( false ) ; m_siteTableFilter . setVisible ( false ) ; } }
Fills table with entries from image cache helper.<p>