Examples of RichTextElementImpl


Examples of org.olat.core.gui.components.form.flexible.impl.elements.richText.RichTextElementImpl

   * @return The rich text element instance
   */
  public RichTextElement addRichTextElementForStringDataMinimalistic(String name, final String i18nLabel, String initialHTMLValue, final int rows,
      final int cols, boolean externalToolbar, FormItemContainer formLayout, UserSession usess, WindowControl wControl) {
    // Create richt text element with bare bone configuration
    RichTextElement rte = new RichTextElementImpl(name, initialHTMLValue, rows, cols, formLayout.getRootForm());
    setLabelIfNotNull(i18nLabel, rte);
    // Now configure editor
    rte.getEditorConfiguration().setConfigProfileFormEditorMinimalistic(usess, externalToolbar, wControl.getWindowBackOffice().getWindow().getGuiTheme());     
    // Add to form and finish
    formLayout.add(rte);
    return rte;
  }
View Full Code Here

Examples of org.olat.core.gui.components.form.flexible.impl.elements.richText.RichTextElementImpl

   */
  public RichTextElement addRichTextElementForStringData(String name, final String i18nLabel, String initialHTMLValue, final int rows,
      final int cols, boolean externalToolbar, boolean fullProfile, VFSContainer baseContainer, CustomLinkTreeModel customLinkTreeModel,
      FormItemContainer formLayout, UserSession usess, WindowControl wControl) {
    // Create richt text element with bare bone configuration
    RichTextElement rte = new RichTextElementImpl(name, initialHTMLValue, rows, cols, formLayout.getRootForm());
    setLabelIfNotNull(i18nLabel, rte);
    // Now configure editor
    rte.getEditorConfiguration().setConfigProfileFormEditor(fullProfile, usess, externalToolbar, wControl.getWindowBackOffice().getWindow().getGuiTheme(), baseContainer, customLinkTreeModel);     
    // Add to form and finish
    formLayout.add(rte);
    return rte;
  }
View Full Code Here

Examples of org.olat.core.gui.components.form.flexible.impl.elements.richText.RichTextElementImpl

      VFSContainer baseContainer, String relFilePath,
      CustomLinkTreeModel customLinkTreeModel,
      FormItemContainer formLayout, UserSession usess,
      WindowControl wControl) {
    // Create richt text element with bare bone configuration
    RichTextElement rte = new RichTextElementImpl(name, initialValue, rows,
        cols, formLayout.getRootForm());
    setLabelIfNotNull(i18nLabel, rte);
    // Now configure editor
    rte.getEditorConfiguration().setConfigProfileFileEditor(usess,
        externalToolbar,
        wControl.getWindowBackOffice().getWindow().getGuiTheme(),
        baseContainer, relFilePath, customLinkTreeModel);
    // Add to form and finish
    formLayout.add(rte);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.