|
||||||||||
| 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 String |
MODE_HTML
constant indicating that the html is to be compared. |
static String |
MODE_TEXT
constant indicating that a textual representation of the html is to be compared. |
static 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(PageContext context,
HttpServletRequest req,
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,
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 String MODE_HTML
public static final String MODE_TEXT
public static final String PARAM_TEXTMODE
| Constructor Detail |
|---|
public CmsHtmlDifferenceDialog(CmsJspActionElement jsp)
jsp - an initialized JSP action element
public CmsHtmlDifferenceDialog(PageContext context,
HttpServletRequest req,
HttpServletResponse res)
context - the JSP page contextreq - the JSP requestres - the JSP response| Method Detail |
|---|
public void displayDialog()
throws Exception
displayDialog in class A_CmsDiffViewDialogException - if writing to the JSP out fails
protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings,
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 | |||||||||