Package org.opencms.workplace.editors
Interface I_CmsEditorCssHandler
- All Known Implementing Classes:
CmsEditorCssHandlerDefault
public interface I_CmsEditorCssHandler
Provides methods to determine the CSS style sheet URI for the editors based on the edited resource path.
The method matches(CmsObject, String)
can be used to check
if the handler matches the currently edited resource.
- Since:
- 6.9.2
-
Method Summary
Modifier and TypeMethodDescriptiongetUriStyleSheet
(CmsObject cms, String editedResourcePath) Returns the absolute VFS path of the CSS style sheet to use.boolean
Checks if the handler can be used to determine the CSS style sheet based on the edited resource.
-
Method Details
-
getUriStyleSheet
Returns the absolute VFS path of the CSS style sheet to use.- Parameters:
cms
- the current OpenCms user contexteditedResourcePath
- the absolute VFS path of the currently edited resource- Returns:
- the absolute VFS path of the CSS style sheet to use
-
matches
Checks if the handler can be used to determine the CSS style sheet based on the edited resource.- Parameters:
cms
- the current OpenCms user contexteditedResourcePath
- the absolute VFS path of the currently edited resource- Returns:
- true if the handler matches, otherwise false
-