source: default/trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/src/de/ugoe/cs/swe/bnftools/ui/formatter/FormatterConfig.java @ 28

Last change on this file since 28 was 28, checked in by zeiss, 14 years ago
  • Property svn:mime-type set to text/plain
File size: 859 bytes
Line 
1package de.ugoe.cs.swe.bnftools.ui.formatter;
2
3public class FormatterConfig {
4        private boolean newLineAfterAlternative = true;
5        private boolean preventNewLineAfterAlternativeOnLessThanThreeElements = true;
6
7        public boolean isNewLineAfterAlternative() {
8                return newLineAfterAlternative;
9        }
10
11        public void setNewLineAfterAlternative(boolean newLineAfterAlternative) {
12                this.newLineAfterAlternative = newLineAfterAlternative;
13        }
14
15        public boolean isPreventNewLineAfterAlternativeOnLessThanThreeElements() {
16                return preventNewLineAfterAlternativeOnLessThanThreeElements;
17        }
18
19        public void setPreventNewLineAfterAlternativeOnLessThanThreeElements(
20                        boolean preventNewLineAfterAlternativeOnLessThanThreeElements) {
21                this.preventNewLineAfterAlternativeOnLessThanThreeElements = preventNewLineAfterAlternativeOnLessThanThreeElements;
22        }
23
24}
Note: See TracBrowser for help on using the repository browser.