|
|||||||
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.comparison.A_CmsDiffViewDialog
org.opencms.workplace.comparison.CmsDifferenceDialog
org.opencms.workplace.comparison.CmsHtmlDifferenceDialog
Provides a GUI for the file comparison dialog.
Field Summary | |
static java.lang.String |
MODE_HTML
constant indicating that the html is to be compared. |
static java.lang.String |
MODE_TEXT
constant indicating that a textual representation of the html is to be compared. |
static java.lang.String |
PARAM_TEXTMODE
request parameter for the textmode. |
Fields inherited from class org.opencms.workplace.tools.CmsToolDialog |
PARAM_BASE, PARAM_PATH, PARAM_ROOT, PARAM_STYLE, STYLE_NEW |
Constructor Summary | |
CmsHtmlDifferenceDialog(CmsJspActionElement jsp)
Default constructor. |
|
CmsHtmlDifferenceDialog(javax.servlet.jsp.PageContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Public constructor with JSP variables. |
Method Summary | |
void |
displayDialog()
Performs the dialog actions depending on the initialized action and displays the dialog form. |
protected void |
initWorkplaceRequestValues(CmsWorkplaceSettings settings,
javax.servlet.http.HttpServletRequest request)
Analyzes the request for workplace parameters and adjusts the workplace settings accordingly. |
protected void |
validateParamaters()
Validates the parameters. |
Methods inherited from class org.opencms.workplace.comparison.CmsDifferenceDialog |
getCopySource, getLinesBeforeSkip, getOriginalSource, getParamCompare, getParamElement, getParamLocale, getParamPath1, getParamPath2, getParamTagId1, getParamTagId2, getParamTextmode, getParamVersion1, getParamVersion2, setCopySource, setOriginalSource, setParamCompare, setParamElement, setParamLocale, setParamPath1, setParamPath2, setParamTagId1, setParamTagId2, setParamTextmode, setParamVersion1, setParamVersion2 |
Methods inherited from class org.opencms.workplace.comparison.A_CmsDiffViewDialog |
deactivatedEmphasizedButtonHtml, getMode, getParamMode, getTwoButtonsHtml, setMode, setParamMode, wrapLinesWithUnchangedStyle |
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 |
Field Detail |
public static final java.lang.String MODE_HTML
public static final java.lang.String MODE_TEXT
public static final java.lang.String PARAM_TEXTMODE
Constructor Detail |
public CmsHtmlDifferenceDialog(CmsJspActionElement jsp)
jsp
- an initialized JSP action elementpublic CmsHtmlDifferenceDialog(javax.servlet.jsp.PageContext context, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
context
- the JSP page contextreq
- the JSP requestres
- the JSP responseMethod Detail |
public void displayDialog() throws java.lang.Exception
displayDialog
in class A_CmsDiffViewDialog
java.lang.Exception
- if writing to the JSP out failsprotected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, javax.servlet.http.HttpServletRequest request)
CmsWorkplace
initWorkplaceRequestValues
in class A_CmsDiffViewDialog
CmsWorkplace.initWorkplaceRequestValues(org.opencms.workplace.CmsWorkplaceSettings, javax.servlet.http.HttpServletRequest)
protected void validateParamaters()
A_CmsDiffViewDialog
validateParamaters
in class CmsDifferenceDialog
A_CmsDiffViewDialog.validateParamaters()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |