public String getIconForEntry(CmsClientSitemapEntry entry) {

        String result;
        if (isNavigationMode()) {
            if (m_controller.isDetailPage(entry.getId())) {
                result = m_controller.getDetailPageInfo(entry.getId()).getIconClasses();
            } else {
                result = entry.getNavModeIcon();
            }
        } else {
            result = entry.getVfsModeIcon();
        }
        return result;
    }
public String getIconForEntry ( CmsClientSitemapEntry entry ) { String result ; if ( isNavigationMode ( ) ) { if ( m_controller . isDetailPage ( entry . getId ( ) ) ) { result = m_controller . getDetailPageInfo ( entry . getId ( ) ) . getIconClasses ( ) ; } else { result = entry . getNavModeIcon ( ) ; } } else { result = entry . getVfsModeIcon ( ) ; } return result ; }
Returns the icon class for the given entry depending on the editor mode.<p>

@param entry the entry to get the icon for

@return the icon CSS class