|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.workplace.CmsWorkplace
org.opencms.workplace.tools.CmsToolDialog
org.opencms.workplace.CmsDialog
org.opencms.workplace.editors.CmsEditorBase
org.opencms.workplace.editors.CmsEditor
org.opencms.workplace.editors.CmsSimpleEditor
public class CmsSimpleEditor
Creates the output for editing a resource (text or JSP files).
The following files use this class:
Field Summary |
---|
Fields inherited from class org.opencms.workplace.tools.CmsToolDialog |
---|
PARAM_BASE, PARAM_FORCE, PARAM_PATH, PARAM_ROOT, PARAM_STYLE, STYLE_NEW |
Constructor Summary | |
---|---|
CmsSimpleEditor(CmsJspActionElement jsp)
Public constructor. |
Method Summary | |
---|---|
void |
actionClear(boolean forceUnlock)
Unlocks the edited resource when in direct edit mode or when the resource was not modified. |
void |
actionExit()
Performs the exit editor action. |
void |
actionSave()
Performs the save content ation. |
java.lang.String |
getEditorResourceUri()
Returns the URI to the editor resource folder where button images and javascripts are located. |
protected void |
initContent()
Initializes the editor content when openening the editor for the first time. |
protected void |
initWorkplaceRequestValues(CmsWorkplaceSettings settings,
javax.servlet.http.HttpServletRequest request)
Analyzes the request for workplace parameters and adjusts the workplace settings accordingly. |
Methods inherited from class org.opencms.workplace.editors.CmsEditorBase |
---|
initTimeWarp |
Methods inherited from class org.opencms.workplace.tools.CmsToolDialog |
---|
dialogTitle, getAdminTool, getCurrentToolPath, getParamBase, getParamForce, getParamPath, getParamRoot, getParamStyle, getParentPath, getToolManager, iconsBlockArea, iconsBlockAreaEnd, iconsBlockAreaStart, initAdminTool, pageBody, pageHtmlStyle, setParamBase, setParamForce, setParamPath, setParamRoot, setParamStyle, useNewStyle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsSimpleEditor(CmsJspActionElement jsp)
jsp
- an initialized JSP action elementMethod Detail |
---|
public void actionClear(boolean forceUnlock)
CmsEditor
actionClear
in class CmsEditor
forceUnlock
- if true, the resource will be unlocked anywayCmsEditor.actionClear(boolean)
public void actionExit() throws java.io.IOException, javax.servlet.jsp.JspException, javax.servlet.ServletException
actionExit
in class CmsEditor
java.io.IOException
- if a forward fails
javax.servlet.jsp.JspException
- if including an element fails
javax.servlet.ServletException
- if a forward failsCmsEditor.actionExit()
public void actionSave() throws javax.servlet.jsp.JspException
actionSave
in class CmsEditor
javax.servlet.jsp.JspException
- if including an element failsCmsEditor.actionSave()
public java.lang.String getEditorResourceUri()
CmsEditor
getEditorResourceUri
in class CmsEditor
CmsEditor.getEditorResourceUri()
protected void initContent()
initContent
in class CmsEditor
protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, javax.servlet.http.HttpServletRequest request)
CmsWorkplace
initWorkplaceRequestValues
in class CmsDialog
settings
- the workplace settingsrequest
- the current requestCmsWorkplace.initWorkplaceRequestValues(org.opencms.workplace.CmsWorkplaceSettings, javax.servlet.http.HttpServletRequest)
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |