Revision 44259 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.swing/org.gvsig.expressionevaluator.swing.api/src/main/java/org/gvsig/expressionevaluator/swing/ExpressionBuilderConfig.java

View differences:

ExpressionBuilderConfig.java
9 9
 *
10 10
 * @author jjdelcerro
11 11
 */
12
public interface ExpressionBuilderConfig extends PropertiesSupport {
12
public interface ExpressionBuilderConfig  {
13 13

  
14
    public interface Preferences extends PropertiesSupport {
15
        /**
16
         * Time in secons to use when obtains the list of elements.
17
         * 
18
         * @return time in secons
19
         */
20
        public int getSimpleElementsLimit();
21

  
22
        /**
23
         * Set the time in secons to use to obtain the list of elements.
24
         * 
25
         * @param limit 
26
         */
27
        public void setSimpleElementsLimit(int limit);
28

  
29
        public void setScriptsEnabled(boolean enabled);
30

  
31
        public boolean getScriptsEnabled();
32

  
33
        public void setSQLCompatible(boolean sqlCompatible);
34

  
35
        public boolean isSQLCompatible();
36
        
37
        public boolean getShowLabelsOfElements();
38
        
39
        public void setShowLabelsOfElements(boolean showLabels);
40
        
41
    }
42
    
43
    public Preferences getPreferences();
44
    
14 45
    public List<Element> getElements();
15 46

  
16 47
    public void addElement(Element element);
17
    /**
18
     * Time in secons to use when obtains the list of elements.
19
     * 
20
     * @return time in secons
21
     */
22
    public int getSimpleElementsLimit();
23 48

  
24
    /**
25
     * Set the time in secons to use to obtain the list of elements.
26
     * 
27
     * @param limit 
28
     */
29
    public void setSimpleElementsLimit(int limit);
30

  
31 49
    public Collection<SymbolTable> getSymbolTables();
32 50

  
33 51
    public void addSymbolTable(SymbolTable symbolTable);
......
38 56

  
39 57
    public void removeAllSymbolTables();
40 58
    
41
    public void setScriptsEnabled(boolean enabled);
42
    
43
    public boolean getScriptsEnabled();
44
    
45 59
    public SymbolTable getPreviewSymbolTable();
46 60
    
47 61
    public void setPreviewSymbolTable(SymbolTable symbolTable);
48 62
    
49
    public void setSQLCompatible(boolean sqlCompatible);
50
    
51
    public boolean isSQLCompatible();
52 63
}

Also available in: Unified diff