/** * Returns true if the link dialog button should be available.<p> * * @return if the link dialog button should be available */ public boolean showLinkDialog() { return getAdditionalButtons().contains(OPTION_LINK); }
/** * Returns true if the format selector should be available.<p> * * @return if the format selector should be available */ public boolean showFormatSelect() { return getAdditionalButtons().contains(OPTION_FORMATSELECT); }
/** * Returns true if the anchor dialog button should be available.<p> * * @return if the anchor dialog button should be available */ public boolean showAnchorDialog() { return getAdditionalButtons().contains(OPTION_ANCHOR); }
/** * Returns true if the specified gallery type dialog button is shown.<p> * * @param galleryType the gallery type to check * @return true if the specified gallery type dialog button is shown, otherwise false */ public boolean showGalleryDialog(String galleryType) { return getAdditionalButtons().contains(galleryType); }
/** * Returns true if the table dialog button should be available.<p> * * @return if the table dialog button should be available */ public boolean showTableDialog() { return getAdditionalButtons().contains(OPTION_TABLE); }
/** * Returns true if the anchor dialog button should be available.<p> * * @return if the anchor dialog button should be available */ public boolean showAnchorDialog() { return getAdditionalButtons().contains(OPTION_ANCHOR); }
/** * Returns true if the image dialog button should be available.<p> * * @return if the image dialog button should be available */ public boolean showImageDialog() { return getAdditionalButtons().contains(OPTION_IMAGE); }
/** * Returns true if the link dialog button should be available.<p> * * @return if the link dialog button should be available */ public boolean showLinkDialog() { return getAdditionalButtons().contains(OPTION_LINK); }
/** * Returns if the button with the given name should be additionally shown.<p> * * @param buttonName the button name to check * * @return <code>true</code> if the button with the given name should be additionally shown, otherwise <code>false</code> */ public boolean isButtonAdditional(String buttonName) { return getAdditionalButtons().contains(buttonName); }
/** * Returns true if the source code button should be available.<p> * * @return if the source code button should be available */ public boolean showSourceEditor() { return getAdditionalButtons().contains(OPTION_SOURCE); }
/** * Returns if the button with the given name should be additionally shown.<p> * * @param buttonName the button name to check * * @return <code>true</code> if the button with the given name should be additionally shown, otherwise <code>false</code> */ public boolean isButtonAdditional(String buttonName) { return getAdditionalButtons().contains(buttonName); }
/** * Returns true if the specified gallery type dialog button is shown.<p> * * @param galleryType the gallery type to check * @return true if the specified gallery type dialog button is shown, otherwise false */ public boolean showGalleryDialog(String galleryType) { return getAdditionalButtons().contains(galleryType); }
/** * Returns true if the source code button should be available.<p> * * @return if the source code button should be available */ public boolean showSourceEditor() { return getAdditionalButtons().contains(OPTION_SOURCE); }
/** * Returns true if the table dialog button should be available.<p> * * @return if the table dialog button should be available */ public boolean showTableDialog() { return getAdditionalButtons().contains(OPTION_TABLE); }
/** * Returns true if the format selector should be available.<p> * * @return if the format selector should be available */ public boolean showFormatSelect() { return getAdditionalButtons().contains(OPTION_FORMATSELECT); }
/** * Returns true if the image dialog button should be available.<p> * * @return if the image dialog button should be available */ public boolean showImageDialog() { return getAdditionalButtons().contains(OPTION_IMAGE); }
if (!(getAdditionalButtons().contains(barItem) || getAdditionalButtons().contains( OPTION_IMAGE))) { if (!(getAdditionalButtons().contains(OPTION_LINK) || getAdditionalButtons().contains(OPTION_EDITORLINK) || getAdditionalButtons().contains( OPTION_ANCHOR))) { } else if (!getAdditionalButtons().contains(barItem)) {
if (!(getAdditionalButtons().contains(barItem) || getAdditionalButtons().contains(OPTION_IMAGE))) { if (!(getAdditionalButtons().contains(OPTION_LINK) || getAdditionalButtons().contains(OPTION_EDITORLINK) || getAdditionalButtons().contains(OPTION_ANCHOR))) { boolean showStyles = getAdditionalButtons().contains(barItem) || (getStylesFormatPath() != null) || (getStylesXmlPath() != null); continue; } else if (!getAdditionalButtons().contains(barItem)) {
added = true; if (!option.getAdditionalButtons().isEmpty()) { option.getAdditionalButtons(), String.valueOf(DELIMITER_OPTION))); added = true;
added = true; if (!option.getAdditionalButtons().isEmpty()) { CmsStringUtil.collectionAsString(option.getAdditionalButtons(), String.valueOf(DELIMITER_OPTION))); added = true;