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

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


  }

  private RtePlugin buildLinksPlugin(RichTextEditor rteAnnotation) {

    if (rteAnnotation.links().length > 0) {
      Links linksAnnotation = rteAnnotation.links()[0];
      List<String> features = new ArrayList<String>();

      if (linksAnnotation.modifylink()) {
        features.add("modifylink");
      }
      if (linksAnnotation.unlink()) {
        features.add("unlink");
      }
      if (linksAnnotation.anchor()) {
        features.add("anchor");
      }
      RtePluginParameters widgetParameters = new RtePluginParameters();
      widgetParameters.setFieldName("table");
      widgetParameters.setFeatures(convertFeatures(features));
View Full Code Here


  }

  private RtePlugin buildLinksPlugin(RichTextEditor rteAnnotation) {

    if (rteAnnotation.links().length > 0) {
      Links linksAnnotation = rteAnnotation.links()[0];
      List<String> features = new ArrayList<String>();

      if (linksAnnotation.modifylink()) {
        features.add("modifylink");
      }
      if (linksAnnotation.unlink()) {
        features.add("unlink");
      }
      if (linksAnnotation.anchor()) {
        features.add("anchor");
      }
      RtePluginParameters widgetParameters = new RtePluginParameters();
      widgetParameters.setFieldName("links");
      widgetParameters.setFeatures(convertFeatures(features));
View Full Code Here

  }

  private RtePlugin buildLinksPlugin(RichTextEditor rteAnnotation) {

    if (rteAnnotation.links().length > 0) {
      Links linksAnnotation = rteAnnotation.links()[0];
      List<String> features = new ArrayList<String>();

      if (linksAnnotation.modifylink()) {
        features.add("modifylink");
      }
      if (linksAnnotation.unlink()) {
        features.add("unlink");
      }
      if (linksAnnotation.anchor()) {
        features.add("anchor");
      }
      RtePluginParameters widgetParameters = new RtePluginParameters();
      widgetParameters.setFieldName("table");
      widgetParameters.setFeatures(convertFeatures(features));
View Full Code Here

TOP

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

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.