Changeset 31 in default for trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/src/de/ugoe/cs/swe/bnftools/ui/formatter/FormatterConfig.java
- Timestamp:
- 11/02/10 18:29:57 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/src/de/ugoe/cs/swe/bnftools/ui/formatter/FormatterConfig.java
r30 r31 6 6 private boolean preventNewLineAfterAlternativeOnShortAlternatives = true; 7 7 private double shortAlternativeThreshold = 3.0; 8 private boolean alignParentheses = true; 9 private int alignParenthesesElementCountThreshold = 3; 10 private boolean wrapAfterThreshold = true; 11 private int wrapThreshold = 80; 8 12 9 13 public boolean isNewLineAfterAlternative() { … … 41 45 } 42 46 47 public boolean isAlignParentheses() { 48 return alignParentheses; 49 } 50 51 public void setAlignParentheses(boolean alignParentheses) { 52 this.alignParentheses = alignParentheses; 53 } 54 55 public int getAlignParenthesesElementCountThreshold() { 56 return alignParenthesesElementCountThreshold; 57 } 58 59 public void setAlignParenthesesElementCountThreshold( 60 int alignParenthesesElementCountThreshold) { 61 this.alignParenthesesElementCountThreshold = alignParenthesesElementCountThreshold; 62 } 63 64 public boolean isWrapAfterThreshold() { 65 return wrapAfterThreshold; 66 } 67 68 public void setWrapAfterThreshold(boolean wrapAfterThreshold) { 69 this.wrapAfterThreshold = wrapAfterThreshold; 70 } 71 72 public int getWrapThreshold() { 73 return wrapThreshold; 74 } 75 76 public void setWrapThreshold(int wrapThreshold) { 77 this.wrapThreshold = wrapThreshold; 78 } 79 43 80 }
Note: See TracChangeset
for help on using the changeset viewer.