Package org.jboss.ide.eclipse.freemarker.target

Examples of org.jboss.ide.eclipse.freemarker.target.RuleBasedTargetPartitionScanner


*/
public class TxtSupport implements TargetLanguageSupport {

  @Override
  public TargetPartitionScanner createPartitionScanner() {
    RuleBasedTargetPartitionScanner result = new RuleBasedTargetPartitionScanner();
    result.setDefaultReturnToken(new Token(PartitionType.TEXT.name()));
    return result;
  }
View Full Code Here


      IPredicateRule rule = xmlPartitionType.createPartitioningRule();
      if (rule != null) {
        rules.add(rule);
      }
    }
    RuleBasedTargetPartitionScanner result = new RuleBasedTargetPartitionScanner();
    result.setDefaultReturnToken(new Token(XmlPartitionType.OTHER.name()));
    result.setPredicateRules(rules.toArray(new IPredicateRule[rules.size()]));
    return result;
  }
View Full Code Here

TOP

Related Classes of org.jboss.ide.eclipse.freemarker.target.RuleBasedTargetPartitionScanner

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.