|
|||||||
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.CmsEditor
org.opencms.workplace.editors.CmsDefaultPageEditor
org.opencms.workplace.editors.CmsSimplePageEditor
Creates the output for editing a CmsDefaultPage with the simple textarea editor.
The following editor uses this class:
Field Summary |
Fields inherited from class org.opencms.workplace.editors.CmsDefaultPageEditor |
m_file, m_page, PARAM_ELEMENTNAME, PARAM_OLDELEMENTNAME, SELECTBOX_FONTS, XML_BODY_ELEMENT |
Fields inherited from class org.opencms.workplace.editors.CmsEditor |
ACTION_CHANGE_BODY, ACTION_EXIT, ACTION_PREVIEW, ACTION_SAVE, ACTION_SAVEACTION, ACTION_SAVEEXIT, ACTION_SHOW, ACTION_SHOW_ERRORMESSAGE, EDITOR_CHANGE_ELEMENT, EDITOR_CLEANUP, EDITOR_EXIT, EDITOR_PREVIEW, EDITOR_SAVE, EDITOR_SAVEACTION, EDITOR_SAVEEXIT, EDITOR_SHOW, EDITOR_SHOW_ERRORMESSAGE, PARAM_BACKLINK, PARAM_CONTENT, PARAM_DIRECTEDIT, PARAM_EDITASTEXT, PARAM_EDITORMODE, PARAM_ELEMENTLANGUAGE, PARAM_LOADDEFAULT, PARAM_MODIFIED, PARAM_OLDELEMENTLANGUAGE, PARAM_TEMPFILE, PATH_EDITORS |
Fields inherited from class org.opencms.workplace.tools.CmsToolDialog |
PARAM_BASE, PARAM_PATH, PARAM_ROOT, PARAM_STYLE, STYLE_NEW |
Constructor Summary | |
CmsSimplePageEditor(CmsJspActionElement jsp)
Public constructor. |
Method Summary | |
java.lang.String |
buildGalleryButtons(CmsEditorDisplayOptions options,
int buttonStyle,
java.util.Properties displayOptions)
Builds the html String for the gallery buttons. |
java.lang.String |
getEditorResourceUri()
Returns the URI to the editor resource folder where button images and javascripts are located. |
protected void |
initWorkplaceRequestValues(CmsWorkplaceSettings settings,
javax.servlet.http.HttpServletRequest request)
Analyzes the request for workplace parameters and adjusts the workplace settings accordingly. |
protected java.lang.String |
prepareContent(boolean save)
Manipulates the content String and removes leading and trailing white spaces. |
Methods inherited from class org.opencms.workplace.editors.CmsDefaultPageEditor |
actionChangeBodyElement, actionCleanupBodyElement, actionClear, actionDirectEdit, actionExit, actionPreview, actionSave, buildSelectElementLanguage, buildSelectElementName, buildSelectFonts, escapeParams, getElementList, getElementLocale, getParamElementname, getParamOldelementname, getUriStyleSheet, getUriTemplate, initBodyElementLanguage, initBodyElementName, initContent, performSaveContent, setParamElementname, setParamOldelementname |
Methods inherited from class org.opencms.workplace.tools.CmsToolDialog |
dialogTitle, getAdminTool, getCurrentToolPath, getParamBase, getParamPath, getParamRoot, getParamStyle, getParentPath, getToolManager, iconsBlockArea, iconsBlockAreaEnd, iconsBlockAreaStart, initAdminTool, pageBody, pageHtmlStyle, setParamBase, 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 CmsSimplePageEditor(CmsJspActionElement jsp)
jsp
- an initialized JSP action elementMethod Detail |
public java.lang.String buildGalleryButtons(CmsEditorDisplayOptions options, int buttonStyle, java.util.Properties displayOptions)
CmsDefaultPageEditor
buildGalleryButtons
in class CmsDefaultPageEditor
options
- the display configuration for the editorbuttonStyle
- the style for the buttonsdisplayOptions
- the display options for the editor
CmsDefaultPageEditor.buildGalleryButtons(CmsEditorDisplayOptions, int, Properties)
public java.lang.String getEditorResourceUri()
CmsEditor
getEditorResourceUri
in class CmsEditor
CmsEditor.getEditorResourceUri()
protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, javax.servlet.http.HttpServletRequest request)
CmsWorkplace
initWorkplaceRequestValues
in class CmsDialog
CmsWorkplace.initWorkplaceRequestValues(org.opencms.workplace.CmsWorkplaceSettings, javax.servlet.http.HttpServletRequest)
protected java.lang.String prepareContent(boolean save)
prepareContent
in class CmsDefaultPageEditor
save
- if set to true, the content parameter is not updated
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |