|
||||||
| 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
public class 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_FORCE, 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, getParamId1, getParamId2, getParamLocale, getParamTagId1, getParamTagId2, getParamTextmode, getParamVersion1, getParamVersion2, setCopySource, setOriginalSource, setParamCompare, setParamElement, setParamId1, setParamId2, setParamLocale, 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, 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 |
| 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 element
public 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 response| Method Detail |
|---|
public void displayDialog()
throws java.lang.Exception
displayDialog in class A_CmsDiffViewDialogjava.lang.Exception - if writing to the JSP out fails
protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings,
javax.servlet.http.HttpServletRequest request)
CmsWorkplace
initWorkplaceRequestValues in class A_CmsDiffViewDialogsettings - the workplace settingsrequest - the current requestCmsWorkplace.initWorkplaceRequestValues(org.opencms.workplace.CmsWorkplaceSettings, javax.servlet.http.HttpServletRequest)protected void validateParamaters()
A_CmsDiffViewDialog
validateParamaters in class CmsDifferenceDialogA_CmsDiffViewDialog.validateParamaters()
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||