public class CmsEditorHandler extends java.lang.Object implements I_CmsEditorHandler
Editor selection criteria:
I_CmsEditorHandler,
CmsWorkplaceEditorManager| 构造器和说明 |
|---|
CmsEditorHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getEditorUri(CmsObject cms,
java.lang.String resourceType,
java.lang.String userAgent,
boolean loadDefault)
Returns the editor URI which will be used for the selected resource type.
|
java.lang.String |
getEditorUri(java.lang.String resource,
CmsJspActionElement jsp)
Returns the editor URI which will be used for the selected resource in the OpenCms VFS to the editor selector class.
|
public java.lang.String getEditorUri(CmsObject cms, java.lang.String resourceType, java.lang.String userAgent, boolean loadDefault)
I_CmsEditorHandlergetEditorUri 在接口中 I_CmsEditorHandlercms - the cms contextresourceType - the resource type nameuserAgent - the user agent headerloadDefault - true to force the default editorI_CmsEditorHandler.getEditorUri(org.opencms.file.CmsObject, java.lang.String, java.lang.String, boolean)public java.lang.String getEditorUri(java.lang.String resource,
CmsJspActionElement jsp)
throws CmsException
I_CmsEditorHandlergetEditorUri 在接口中 I_CmsEditorHandlerresource - the selected resourcejsp - the CmsJspActionElementnull if resource is not editableCmsException - if something goes wrongI_CmsEditorHandler.getEditorUri(java.lang.String, CmsJspActionElement)