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