Package com.citytechinc.cq.component.annotations.widgets.rte

Examples of com.citytechinc.cq.component.annotations.widgets.rte.MiscTools


  // http://dev.day.com/docs/en/cq/current/administering/configuring_rich_text_editor.html#Special
  // Characters
  private RtePlugin buildMiscToolsPlugin(RichTextEditor rteAnnotation) {

    if (rteAnnotation.misctools().length > 0) {
      MiscTools miscToolsAnnotation = rteAnnotation.misctools()[0];
      List<String> features = new ArrayList<String>();

      if (miscToolsAnnotation.specialchars()) {
        features.add("specialchars");
      }
      if (miscToolsAnnotation.sourceedit()) {
        features.add("sourceedit");
      }
      RtePluginParameters widgetParameters = new RtePluginParameters();
      widgetParameters.setFieldName("misctools");
      widgetParameters.setFeatures(convertFeatures(features));
View Full Code Here


  // http://dev.day.com/docs/en/cq/current/administering/configuring_rich_text_editor.html#Special
  // Characters
  private RtePlugin buildMiscToolsPlugin(RichTextEditor rteAnnotation) {

    if (rteAnnotation.misctools().length > 0) {
      MiscTools miscToolsAnnotation = rteAnnotation.misctools()[0];
      List<String> features = new ArrayList<String>();

      if (miscToolsAnnotation.specialchars()) {
        features.add("specialchars");
      }
      if (miscToolsAnnotation.sourceedit()) {
        features.add("sourceedit");
      }
      RtePluginParameters widgetParameters = new RtePluginParameters();
      widgetParameters.setFieldName("misctools");
      widgetParameters.setFeatures(convertFeatures(features));
View Full Code Here

  // http://dev.day.com/docs/en/cq/current/administering/configuring_rich_text_editor.html#Special
  // Characters
  private RtePlugin buildMiscToolsPlugin(RichTextEditor rteAnnotation) {

    if (rteAnnotation.misctools().length > 0) {
      MiscTools miscToolsAnnotation = rteAnnotation.misctools()[0];
      List<String> features = new ArrayList<String>();

      if (miscToolsAnnotation.specialchars()) {
        features.add("specialchars");
      }
      if (miscToolsAnnotation.sourceedit()) {
        features.add("sourceedit");
      }
      RtePluginParameters widgetParameters = new RtePluginParameters();
      widgetParameters.setFieldName("misctools");
      widgetParameters.setFeatures(convertFeatures(features));
View Full Code Here

TOP

Related Classes of com.citytechinc.cq.component.annotations.widgets.rte.MiscTools

Copyright © 2018 www.massapicom. 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.