|
||||||||||
| 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
public class CmsDifferenceDialog
Provides a GUI for the file comparison dialog.
| Field Summary |
|---|
| Fields inherited from class org.opencms.workplace.tools.CmsToolDialog |
|---|
PARAM_BASE, PARAM_PATH, PARAM_ROOT, PARAM_STYLE, STYLE_NEW |
| Constructor Summary | |
|---|---|
CmsDifferenceDialog(CmsJspActionElement jsp)
Default constructor. |
|
CmsDifferenceDialog(PageContext context,
HttpServletRequest req,
HttpServletResponse res)
Public constructor with JSP variables. |
|
| Method Summary | |
|---|---|
protected String |
getCopySource()
Returns the text to compare as copy. |
protected int |
getLinesBeforeSkip()
Returns the number of lines to show before they are skipped. |
protected String |
getOriginalSource()
Returns the text to compare as original. |
String |
getParamCompare()
Returns the paramCompare. |
String |
getParamElement()
Returns the paramElement. |
String |
getParamLocale()
Returns the paramLocale. |
String |
getParamPath1()
Returns the paramPath1. |
String |
getParamPath2()
Returns the paramPath2. |
String |
getParamTagId1()
Returns the paramTagId1. |
String |
getParamTagId2()
Returns the paramTagId2. |
String |
getParamTextmode()
Returns the paramTextmode. |
String |
getParamVersion1()
Returns the paramVersion1. |
String |
getParamVersion2()
Returns the paramVersion2. |
void |
setCopySource(String copySource)
Sets the copySource. |
void |
setOriginalSource(String originalSource)
Sets the originalSource. |
void |
setParamCompare(String paramCompare)
Sets the paramCompare. |
void |
setParamElement(String paramElement)
Sets the paramElement. |
void |
setParamLocale(String paramLocale)
Sets the paramLocale. |
void |
setParamPath1(String paramPath1)
Sets the paramPath1. |
void |
setParamPath2(String paramPath2)
Sets the paramPath2. |
void |
setParamTagId1(String paramTagId1)
Sets the paramTagId1. |
void |
setParamTagId2(String paramTagId2)
Sets the paramTagId2. |
void |
setParamTextmode(String paramTextmode)
Sets the paramTextmode. |
void |
setParamVersion1(String paramVersion1)
Sets the paramVersion1. |
void |
setParamVersion2(String paramVersion2)
Sets the paramVersion2. |
protected void |
validateParamaters()
Validates the parameters. |
| Methods inherited from class org.opencms.workplace.comparison.A_CmsDiffViewDialog |
|---|
deactivatedEmphasizedButtonHtml, displayDialog, getMode, getParamMode, getTwoButtonsHtml, initWorkplaceRequestValues, 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 |
| Constructor Detail |
|---|
public CmsDifferenceDialog(CmsJspActionElement jsp)
jsp - an initialized JSP action element
public CmsDifferenceDialog(PageContext context,
HttpServletRequest req,
HttpServletResponse res)
context - the JSP page contextreq - the JSP requestres - the JSP response| Method Detail |
|---|
public String getParamCompare()
public String getParamElement()
public String getParamLocale()
public String getParamPath1()
public String getParamPath2()
public String getParamTagId1()
public String getParamTagId2()
public String getParamTextmode()
public String getParamVersion1()
public String getParamVersion2()
public void setCopySource(String copySource)
copySource - the copySource to setpublic void setOriginalSource(String originalSource)
originalSource - the originalSource to setpublic void setParamCompare(String paramCompare)
paramCompare - the paramCompare to setpublic void setParamElement(String paramElement)
paramElement - the paramElement to setpublic void setParamLocale(String paramLocale)
paramLocale - the paramLocale to setpublic void setParamPath1(String paramPath1)
paramPath1 - the paramPath1 to setpublic void setParamPath2(String paramPath2)
paramPath2 - the paramPath2 to setpublic void setParamTagId1(String paramTagId1)
paramTagId1 - the paramTagId1 to setpublic void setParamTagId2(String paramTagId2)
paramTagId2 - the paramTagId2 to setpublic void setParamTextmode(String paramTextmode)
paramTextmode - the paramTextmode to setpublic void setParamVersion1(String paramVersion1)
paramVersion1 - the paramVersion1 to setpublic void setParamVersion2(String paramVersion2)
paramVersion2 - the paramVersion2 to setprotected String getCopySource()
A_CmsDiffViewDialog
getCopySource in class A_CmsDiffViewDialogA_CmsDiffViewDialog.getCopySource()protected int getLinesBeforeSkip()
A_CmsDiffViewDialog
getLinesBeforeSkip in class A_CmsDiffViewDialogA_CmsDiffViewDialog.getLinesBeforeSkip()protected String getOriginalSource()
A_CmsDiffViewDialog
getOriginalSource in class A_CmsDiffViewDialogA_CmsDiffViewDialog.getOriginalSource()protected void validateParamaters()
A_CmsDiffViewDialog
validateParamaters in class A_CmsDiffViewDialogA_CmsDiffViewDialog.validateParamaters()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||