public static String getIconClasses(String resourceType, String resourceName, boolean small) {

        String result;
        if (resourceType.equals(CmsGwtConstants.TYPE_NAVLEVEL)) {
            if (small) {
                result = ICON_NAV_LEVEL_SMALL;
            } else {
                result = ICON_NAV_LEVEL_BIG;
            }
        } else if (resourceType.equals(CmsGwtConstants.TYPE_MODELGROUP_COPY)) {
            if (small) {
                result = ICON_MODEL_GROUP_COPY_SMALL;
            } else {
                result = ICON_MODEL_GROUP_COPY_BIG;
            }
        } else if (resourceType.equals(TYPE_RESOURCE_NOT_FOUND)) {
            if (small) {
                result = NOT_FOUND_ICON_SMALL;
            } else {
                result = NOT_FOUND_ICON_BIG;
            }
        } else {
            result = getIconClasses(
                OpenCms.getWorkplaceManager().getExplorerTypeSetting(resourceType),
                resourceName,
                small);
        }
        return result;
    }
public static String getIconClasses ( String resourceType , String resourceName , boolean small ) { String result ; if ( resourceType . equals ( CmsGwtConstants . TYPE_NAVLEVEL ) ) { if ( small ) { result = ICON_NAV_LEVEL_SMALL ; } else { result = ICON_NAV_LEVEL_BIG ; } } else if ( resourceType . equals ( CmsGwtConstants . TYPE_MODELGROUP_COPY ) ) { if ( small ) { result = ICON_MODEL_GROUP_COPY_SMALL ; } else { result = ICON_MODEL_GROUP_COPY_BIG ; } } else if ( resourceType . equals ( TYPE_RESOURCE_NOT_FOUND ) ) { if ( small ) { result = NOT_FOUND_ICON_SMALL ; } else { result = NOT_FOUND_ICON_BIG ; } } else { result = getIconClasses ( OpenCms . getWorkplaceManager ( ) . getExplorerTypeSetting ( resourceType ) , resourceName , small ) ; } return result ; }
Returns the resource type icon CSS classes for the given type.<p>
Use within ADE context only.<p>

@param resourceType the resource type name
@param resourceName the resource name
@param small <code>true</code> to get the small icon classes

@return the icon CSS classes