|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.workplace.editors.CmsEditorCssHandlerDefault
A default editor CSS handler to obtain the CSS style sheet path from the template property value of the template itself.
Constructor Summary | |
CmsEditorCssHandlerDefault()
|
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CmsEditorCssHandlerDefault()
Method Detail |
public java.lang.String getUriStyleSheet(CmsObject cms, java.lang.String editedResourcePath)
I_CmsEditorCssHandler
getUriStyleSheet
in interface I_CmsEditorCssHandler
cms
- the current OpenCms user contexteditedResourcePath
- the absolute VFS path of the currently edited resource
I_CmsEditorCssHandler.getUriStyleSheet(org.opencms.file.CmsObject, java.lang.String)
public boolean matches(CmsObject cms, java.lang.String editedResourcePath)
I_CmsEditorCssHandler
matches
in interface I_CmsEditorCssHandler
cms
- the current OpenCms user contexteditedResourcePath
- the absolute VFS path of the currently edited resource
I_CmsEditorCssHandler.matches(org.opencms.file.CmsObject, java.lang.String)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |