Revision 33331 branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/project/documents/table/FieldSelectionModel.java

View differences:

FieldSelectionModel.java
46 46
			while (iterator.hasNext()) {
47 47
				FeatureAttributeDescriptor descriptor = iterator.next();
48 48
				if ( type != DataTypes.INVALID ){
49
					if (descriptor.getDataType() == type) {
49
					if (descriptor.getType() == type) {
50 50
						fields.add(descriptor.getName());
51 51
					}
52 52
				}else{

Also available in: Unified diff