Package com.puppetlabs.xtext.dommodel.formatter.css

Examples of com.puppetlabs.xtext.dommodel.formatter.css.StyleSetWithTracking


    result.append(" effective: [");
    EffectiveStyleAppender styleAppender = new EffectiveStyleAppender(result);
    ArrayListMultimap<String, IStyle<?>> ruleToStyle = ArrayListMultimap.create();
    if(effective instanceof StyleSetWithTracking) {
      StyleSetWithTracking trackingSet = (StyleSetWithTracking) effective;
      for(IStyle<?> style : effective.getStyles()) {
        String n = trackingSet.getStyleSource(style).getRuleName();
        if(n == null || n.length() < 1)
          throw new RuntimeException("Rule without name");
        ruleToStyle.put(n, style);
      }
    }
View Full Code Here

TOP

Related Classes of com.puppetlabs.xtext.dommodel.formatter.css.StyleSetWithTracking

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.