public interface I_CmsEditorCssHandler
The method matches(CmsObject, String) can be used to check
if the handler matches the currently edited resource.
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
java.lang.String getUriStyleSheet(CmsObject cms, java.lang.String editedResourcePath)
cms - the current OpenCms user contexteditedResourcePath - the absolute VFS path of the currently edited resourceboolean matches(CmsObject cms, java.lang.String editedResourcePath)
cms - the current OpenCms user contexteditedResourcePath - the absolute VFS path of the currently edited resource