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

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


  }

  private RtePlugin buildListsPlugin(RichTextEditor rteAnnotation) {

    if (rteAnnotation.lists().length > 0) {
      Lists listsAnnotation = rteAnnotation.lists()[0];
      List<String> features = new ArrayList<String>();

      if (listsAnnotation.ordered()) {
        features.add("ordered");
      }
      if (listsAnnotation.unordered()) {
        features.add("unordered");
      }
      if (listsAnnotation.indent()) {
        features.add("indent");
      }
      if (listsAnnotation.outdent()) {
        features.add("outdent");
      }
      RtePluginParameters widgetParameters = new RtePluginParameters();
      widgetParameters.setFieldName("lists");
      widgetParameters.setFeatures(convertFeatures(features));
View Full Code Here


  }

  private RtePlugin buildListsPlugin(RichTextEditor rteAnnotation) {

    if (rteAnnotation.lists().length > 0) {
      Lists listsAnnotation = rteAnnotation.lists()[0];
      List<String> features = new ArrayList<String>();

      if (listsAnnotation.ordered()) {
        features.add("ordered");
      }
      if (listsAnnotation.unordered()) {
        features.add("unordered");
      }
      if (listsAnnotation.indent()) {
        features.add("indent");
      }
      if (listsAnnotation.outdent()) {
        features.add("outdent");
      }
      RtePluginParameters widgetParameters = new RtePluginParameters();
      widgetParameters.setFieldName("lists");
      widgetParameters.setFeatures(convertFeatures(features));
View Full Code Here

  }

  private RtePlugin buildListsPlugin(RichTextEditor rteAnnotation) {

    if (rteAnnotation.lists().length > 0) {
      Lists listsAnnotation = rteAnnotation.lists()[0];
      List<String> features = new ArrayList<String>();

      if (listsAnnotation.ordered()) {
        features.add("ordered");
      }
      if (listsAnnotation.unordered()) {
        features.add("unordered");
      }
      if (listsAnnotation.indent()) {
        features.add("indent");
      }
      if (listsAnnotation.outdent()) {
        features.add("outdent");
      }
      RtePluginParameters widgetParameters = new RtePluginParameters();
      widgetParameters.setFieldName("lists");
      widgetParameters.setFeatures(convertFeatures(features));
View Full Code Here

TOP

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

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.