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

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


  }

  private RtePlugin buildSubSuperscriptPlugin(RichTextEditor rteAnnotation) {

    if (rteAnnotation.subsuperscript().length > 0) {
      SubSuperscript subSuperscriptAnnotation = rteAnnotation.subsuperscript()[0];

      List<String> features = new ArrayList<String>();

      if (subSuperscriptAnnotation.subscript()) {
        features.add("subscript");
      }
      if (subSuperscriptAnnotation.superscript()) {
        features.add("superscript");
      }
      RtePluginParameters widgetParameters = new RtePluginParameters();
      widgetParameters.setFieldName("subsuperscript");
      widgetParameters.setFeatures(convertFeatures(features));
View Full Code Here


  }

  private RtePlugin buildSubSuperscriptPlugin(RichTextEditor rteAnnotation) {

    if (rteAnnotation.subsuperscript().length > 0) {
      SubSuperscript subSuperscriptAnnotation = rteAnnotation.subsuperscript()[0];

      List<String> features = new ArrayList<String>();

      if (subSuperscriptAnnotation.subscript()) {
        features.add("subscript");
      }
      if (subSuperscriptAnnotation.superscript()) {
        features.add("superscript");
      }
      RtePluginParameters widgetParameters = new RtePluginParameters();
      widgetParameters.setFieldName("subsuperscript");
      widgetParameters.setFeatures(convertFeatures(features));
View Full Code Here

  }

  private RtePlugin buildSubSuperscriptPlugin(RichTextEditor rteAnnotation) {

    if (rteAnnotation.subsuperscript().length > 0) {
      SubSuperscript subSuperscriptAnnotation = rteAnnotation.subsuperscript()[0];

      List<String> features = new ArrayList<String>();

      if (subSuperscriptAnnotation.subscript()) {
        features.add("subscript");
      }
      if (subSuperscriptAnnotation.superscript()) {
        features.add("superscript");
      }
      RtePluginParameters widgetParameters = new RtePluginParameters();
      widgetParameters.setFieldName("subsuperscript");
      widgetParameters.setFeatures(convertFeatures(features));
View Full Code Here

TOP

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

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.