org.opencms.workplace.editors
Class CmsEditorHandler

java.lang.Object
  extended byorg.opencms.workplace.editors.CmsEditorHandler
All Implemented Interfaces:
I_CmsEditorHandler

public class CmsEditorHandler
extends java.lang.Object
implements I_CmsEditorHandler

This editor handler class returns the editor URI depending on various factors.

Editor selection criteria:

Since:
6.0.0
Version:
$Revision: 1.16 $
Author:
Andreas Zahner
See Also:
I_CmsEditorHandler, CmsWorkplaceEditorManager

Constructor Summary
CmsEditorHandler()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsEditorHandler

public CmsEditorHandler()
Method Detail

getEditorUri

public java.lang.String getEditorUri(java.lang.String resource,
                                     CmsJspActionElement jsp)
                              throws CmsException
Description copied from interface: I_CmsEditorHandler
Returns the editor URI which will be used for the selected resource in the OpenCms VFS to the editor selector class.

Specified by:
getEditorUri in interface I_CmsEditorHandler
Parameters:
resource - the selected resource
jsp - the CmsJspActionElement
Returns:
the absolute path to the editor that will be displayed or null if resource is not editable
Throws:
CmsException - if something goes wrong
See Also:
I_CmsEditorHandler.getEditorUri(java.lang.String, CmsJspActionElement)