| org.opencms.workplace.CmsDialog org.opencms.workplace.comparison.A_CmsDiffViewDialog
All known Subclasses: org.opencms.workplace.comparison.CmsDifferenceDialog,
A_CmsDiffViewDialog | abstract public class A_CmsDiffViewDialog extends CmsDialog (Code) | | Provides a GUI for the configuration file comparison dialog.
author: Michael Moossen author: Jan Baudisch version: $Revision: 1.7 $ since: 6.0.0 |
A_CmsDiffViewDialog | protected A_CmsDiffViewDialog(CmsJspActionElement jsp)(Code) | | Default constructor.
Parameters: jsp - an initialized JSP action element |
deactivatedEmphasizedButtonHtml | public String deactivatedEmphasizedButtonHtml(String name, String iconPath)(Code) | | Returns the html code for a deactivated empfasized button.
Parameters: name - the label of the button Parameters: iconPath - the path to the icon the html code for a deactivated empfasized button |
displayDialog | public void displayDialog() throws Exception(Code) | | Performs the dialog actions depending on the initialized action and displays the dialog form.
throws: Exception - if writing to the JSP out fails |
getCopySource | abstract protected String getCopySource()(Code) | | Returns the text to compare as copy.
the text to compare as copy |
getDiffOnlyButtonsHtml | String getDiffOnlyButtonsHtml()(Code) | | Returns the html code for the buttons 'show only differences' and 'show everything'.
the html code for the buttons 'show only differences' and 'show everything' |
getLinesBeforeSkip | abstract protected int getLinesBeforeSkip()(Code) | | Returns the number of lines to show before they are skipped.
the number of lines to show before they are skipped |
getOriginalSource | abstract protected String getOriginalSource()(Code) | | Returns the text to compare as original.
the text to compare as original |
getParamMode | public String getParamMode()(Code) | | Returns the parameter value for the Mode.
the parameter value for the Mode |
getTwoButtonsHtml | public String getTwoButtonsHtml(String label1, String label2, String onClick1, String onClick2, boolean firstActive)(Code) | | Returns the html for two buttons, whereby the third parameter determines which one is active.
Parameters: label1 - the label for the first button Parameters: label2 - the label for the second button Parameters: firstActive - a flag indicating wheter the first or second button is active Parameters: onClick1 - the action to be performed if the first button is clicked Parameters: onClick2 - the action to be performed if the second button is clicked the html for two buttons, whereby the third parameter determines which one is active |
setParamMode | public void setParamMode(String mode)(Code) | | Sets the parameter value for the Mode.
Parameters: mode - the parameter value for the Mode to set |
validateParamaters | abstract protected void validateParamaters() throws Exception(Code) | | Validates the parameters.
throws: Exception - if something goes wrong |
wrapLinesWithUnchangedStyle | protected String wrapLinesWithUnchangedStyle(String diff) throws IOException(Code) | | Returns a diff text wrapped with formatting style.
Parameters: diff - the text to wrap with CSS formatting the text with formatting styles wrapped throws: IOException - if something goes wrong |
Methods inherited from org.opencms.workplace.CmsDialog | public void actionCloseDialog() throws JspException(Code)(Java Doc) protected String appendDelimiter(String attribute)(Code)(Java Doc) public String buildAjaxResultContainer(String title)(Code)(Java Doc) protected String buildAjaxWaitMessage()(Code)(Java Doc) public String buildLockAdditionalOptions()(Code)(Java Doc) public String buildLockConfirmationMessageJS()(Code)(Java Doc) public String buildLockDialog() throws CmsException(Code)(Java Doc) public String buildLockDialog(CmsLockFilter nonBlockingFilter, CmsLockFilter blockingFilter, int hiddenTimeout, boolean includeRelated) throws CmsException(Code)(Java Doc) public String buildLockHeaderBox() throws CmsException(Code)(Java Doc) protected boolean checkResourcePermissions(CmsPermissionSet required, boolean neededForFolder)(Code)(Java Doc) protected boolean checkResourcePermissions(CmsPermissionSet required, boolean neededForFolder, CmsMessageContainer errorMessage)(Code)(Java Doc) protected String computeCurrentFolder()(Code)(Java Doc) public String dialog(int segment, String attributes)(Code)(Java Doc) public String dialogBlock(int segment, String headline, boolean error)(Code)(Java Doc) public String dialogBlockEnd()(Code)(Java Doc) public String dialogBlockStart(String headline)(Code)(Java Doc) public String dialogButtonRow(int segment)(Code)(Java Doc) public String dialogButtonRowEnd()(Code)(Java Doc) public String dialogButtonRowStart()(Code)(Java Doc) public String dialogButtons(int[] buttons, String[] attributes)(Code)(Java Doc) public String dialogButtonsClose()(Code)(Java Doc) public String dialogButtonsClose(String closeAttribute)(Code)(Java Doc) public String dialogButtonsCloseDetails(String closeAttribute, String detailsAttribute)(Code)(Java Doc) protected void dialogButtonsHtml(StringBuffer result, int button, String attribute)(Code)(Java Doc) public String dialogButtonsOk()(Code)(Java Doc) public String dialogButtonsOk(String okAttribute)(Code)(Java Doc) public String dialogButtonsOkCancel()(Code)(Java Doc) public String dialogButtonsOkCancel(String okAttributes, String cancelAttributes)(Code)(Java Doc) public String dialogButtonsOkCancelAdvanced(String okAttributes, String cancelAttributes, String advancedAttributes)(Code)(Java Doc) public String dialogButtonsSetOkCancel(String setAttributes, String okAttributes, String cancelAttributes)(Code)(Java Doc) public String dialogContent(int segment, String title)(Code)(Java Doc) public String dialogContentEnd()(Code)(Java Doc) public String dialogContentStart(String title)(Code)(Java Doc) public String dialogEnd()(Code)(Java Doc) public String dialogHead(String title)(Code)(Java Doc) public String dialogHorizontalSpacer(int width)(Code)(Java Doc) public String dialogLockButtons()(Code)(Java Doc) public String dialogRow(int segment)(Code)(Java Doc) public String dialogRowEnd()(Code)(Java Doc) public String dialogRowStart()(Code)(Java Doc) public String dialogScriptSubmit()(Code)(Java Doc) public String dialogSeparator()(Code)(Java Doc) public String dialogSpacer()(Code)(Java Doc) public String dialogStart()(Code)(Java Doc) public String dialogStart(String attributes)(Code)(Java Doc) public String dialogSubheadline(String headline)(Code)(Java Doc) public String dialogToggleStart(String headline, String id, boolean show)(Code)(Java Doc) public String dialogWhiteBox(int segment)(Code)(Java Doc) public String dialogWhiteBoxEnd()(Code)(Java Doc) public String dialogWhiteBoxStart()(Code)(Java Doc) public int getAction()(Code)(Java Doc) protected String getAdministrationBackLink()(Code)(Java Doc) public String getCancelAction()(Code)(Java Doc) public String getDialogRealUri()(Code)(Java Doc) public String getDialogUri()(Code)(Java Doc) public String getOnlineHelpUriCustom()(Code)(Java Doc) public String getParamAction()(Code)(Java Doc) public String getParamCloseLink()(Code)(Java Doc) public String getParamDialogtype()(Code)(Java Doc) public String getParamFramename()(Code)(Java Doc) public String getParamIsPopup()(Code)(Java Doc) public String getParamMessage()(Code)(Java Doc) public String getParamOriginalParams()(Code)(Java Doc) public String getParamPreActionDone()(Code)(Java Doc) public String getParamRedirect()(Code)(Java Doc) public String getParamResource()(Code)(Java Doc) public String getParamTitle()(Code)(Java Doc) public String getState() throws CmsException(Code)(Java Doc) public boolean hasCorrectLockstate()(Code)(Java Doc) public boolean hasSiblings()(Code)(Java Doc) public String htmlStart()(Code)(Java Doc) public String htmlStart(String helpUrl)(Code)(Java Doc) public String htmlStart(String helpUrl, String title)(Code)(Java Doc) public String htmlStartStyle(String title, String stylesheet)(Code)(Java Doc) public void includeErrorpage(CmsWorkplace wp, Throwable t) throws JspException(Code)(Java Doc) public static CmsDialog initCmsDialog(PageContext context, HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc) protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpServletRequest request)(Code)(Java Doc) public boolean isPopup()(Code)(Java Doc) public boolean isPreEditor()(Code)(Java Doc) public String pageHtml(int segment, String helpUrl)(Code)(Java Doc) public String pageHtml(int segment, String helpUrl, String title)(Code)(Java Doc) protected void setAction(int value)(Code)(Java Doc) public void setOnlineHelpUriCustom(String uri)(Code)(Java Doc) public void setParamAction(String value)(Code)(Java Doc) public void setParamCloseLink(String value)(Code)(Java Doc) public void setParamDialogtype(String value)(Code)(Java Doc) public void setParamFramename(String value)(Code)(Java Doc) public void setParamIsPopup(String value)(Code)(Java Doc) public void setParamMessage(String value)(Code)(Java Doc) public void setParamOriginalParams(String paramOriginalParams)(Code)(Java Doc) public void setParamPreActionDone(String paramPreActionDone)(Code)(Java Doc) public void setParamRedirect(String redirect)(Code)(Java Doc) public void setParamResource(String value)(Code)(Java Doc) public void setParamTitle(String value)(Code)(Java Doc)
|
|
|