use of org.antlr.works.stringtemplate.syntax.ATEStringTemplateSyntaxParser in project antlrworks by antlr.
the class STRulePanel method refreshRules.
public void refreshRules() {
model.clear();
List<ElementTemplateRule> rules = ((ATEStringTemplateSyntaxParser) window.getTextEditor().getParserEngine().getParser()).templateRules;
for (ElementTemplateRule rule : rules) {
model.addRule(rule);
}
model.fireSort();
tableView.getTable().setModel(model);
tableView.autoresizeColumns();
}
Aggregations