public boolean isEditorAvailableForResource(CmsResource res) {

        I_CmsResourceType type = OpenCms.getResourceManager().getResourceType(res);
        String typeName = type.getTypeName();
        for (CmsWorkplaceEditorConfiguration editorConfig : m_editorConfigurations) {
            if (editorConfig.matchesResourceType(typeName)) {
                return true;
            }
        }
        return false;
    }
public boolean isEditorAvailableForResource ( CmsResource res ) { I_CmsResourceType type = OpenCms . getResourceManager ( ) . getResourceType ( res ) ; String typeName = type . getTypeName ( ) ; for ( CmsWorkplaceEditorConfiguration editorConfig : m_editorConfigurations ) { if ( editorConfig . matchesResourceType ( typeName ) ) { return true ; } } return false ; }
Checks if there is an editor which can process the given resource.<p>

@param res the resource

@return true if the given resource can be edited with one of the configured editors