Ignore:
Timestamp:
11/02/10 18:29:57 (14 years ago)
Author:
zeiss
Message:
 
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  
    66        private boolean preventNewLineAfterAlternativeOnShortAlternatives = true; 
    77        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; 
    812 
    913        public boolean isNewLineAfterAlternative() { 
     
    4145        } 
    4246 
     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 
    4380} 
Note: See TracChangeset for help on using the changeset viewer.