package de.ugoe.cs.swe.bnftools.ui.formatter; public class FormatterConfig { private boolean useSpaces = true; // false=tabs, true=whitespaces private int lineWrap = 80; // line in which the output should be wrapped private boolean emptyLineBetweenRules = false; private boolean emptyLineAfterMultiLineRule = false; private boolean emptyLineBeforeSection = true; private boolean emptyLineAfterSection = true; public boolean isUseSpaces() { return useSpaces; } public void setUseSpaces(boolean useSpaces) { this.useSpaces = useSpaces; } public int getLineWrap() { return lineWrap; } public void setLineWrap(int lineWrap) { this.lineWrap = lineWrap; } public boolean isEmptyLineBetweenRules() { return emptyLineBetweenRules; } public void setEmptyLineBetweenRules(boolean emptyLineBetweenRules) { this.emptyLineBetweenRules = emptyLineBetweenRules; } public boolean isEmptyLineAfterMultiLineRule() { return emptyLineAfterMultiLineRule; } public void setEmptyLineAfterMultiLineRule( boolean emptyLineAfterMultiLineRule) { this.emptyLineAfterMultiLineRule = emptyLineAfterMultiLineRule; } public boolean isEmptyLineBeforeSection() { return emptyLineBeforeSection; } public void setEmptyLineBeforeSection(boolean emptyLineBeforeSection) { this.emptyLineBeforeSection = emptyLineBeforeSection; } public boolean isEmptyLineAfterSection() { return emptyLineAfterSection; } public void setEmptyLineAfterSection(boolean emptyLineAfterSection) { this.emptyLineAfterSection = emptyLineAfterSection; } }