Revision 44191 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.swing/org.gvsig.fmap.dal.swing.impl/src/main/java/org/gvsig/fmap/dal/swing/impl/expressionevaluator/DefaultFeatureStoreElement.java

View differences:

DefaultFeatureStoreElement.java
29 29
    private FeatureStore store;
30 30
    private FeatureType type;
31 31
    private List<Element> elements;
32
    final ExpressionBuilderConfig configPanel;
32
    private final ExpressionBuilderConfig config;
33 33
    private String myName;
34 34

  
35 35
    @SuppressWarnings("OverridableMethodCallInConstructor")
36
    public DefaultFeatureStoreElement(ExpressionBuilderConfig configPanel, FeatureStore store) {
36
    public DefaultFeatureStoreElement(ExpressionBuilderConfig config, FeatureStore store) {
37 37
        super("store", "expressionbuilder-element-table");
38
        this.configPanel = configPanel;
38
        this.config = config;
39 39
        if( store!=null ) {
40 40
            this.setFeatureStore(store);
41 41
        }
......
61 61
        }
62 62
        return this.store.getName();
63 63
    }
64
    
65
    
66 64

  
67 65
    @Override
68 66
    public int size() {
......
110 108
            this.elements = new ArrayList<>();
111 109
            for (FeatureAttributeDescriptor attrdesc : type) {
112 110
                this.elements.add(new FeatureAttributeElement(
113
                                this.configPanel,
111
                                this.config,
114 112
                                this.store,
115 113
                                attrdesc
116 114
                        )

Also available in: Unified diff