Interface I_CmsEditorCssHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getUriStyleSheet​(CmsObject cms, java.lang.String editedResourcePath)
      Returns the absolute VFS path of the CSS style sheet to use.
      boolean matches​(CmsObject cms, java.lang.String editedResourcePath)
      Checks if the handler can be used to determine the CSS style sheet based on the edited resource.
    • Method Detail

      • getUriStyleSheet

        java.lang.String getUriStyleSheet​(CmsObject cms,
                                          java.lang.String editedResourcePath)
        Returns the absolute VFS path of the CSS style sheet to use.

        Parameters:
        cms - the current OpenCms user context
        editedResourcePath - the absolute VFS path of the currently edited resource
        Returns:
        the absolute VFS path of the CSS style sheet to use
      • matches

        boolean matches​(CmsObject cms,
                        java.lang.String editedResourcePath)
        Checks if the handler can be used to determine the CSS style sheet based on the edited resource.

        Parameters:
        cms - the current OpenCms user context
        editedResourcePath - the absolute VFS path of the currently edited resource
        Returns:
        true if the handler matches, otherwise false