Revision 22932 branches/v2_0_0_prep/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/table/gui/TableModelProperties.java
TableModelProperties.java | ||
---|---|---|
73 | 73 |
public TableModelProperties(ProjectTable t) { |
74 | 74 |
FeatureStore ds = t.getOriginal(); |
75 | 75 |
if (ds == null) { |
76 |
ds = t.getModelo();
|
|
76 |
ds = t.getModel(); |
|
77 | 77 |
} |
78 | 78 |
alias = t.getAliases(); |
79 | 79 |
int[] mapping = t.getMapping(); |
... | ... | |
97 | 97 |
*/ |
98 | 98 |
public int getRowCount() { |
99 | 99 |
// try { |
100 |
return table.getModelo().getDefaultFeatureType().size();
|
|
100 |
return table.getModel().getDefaultFeatureType().size(); |
|
101 | 101 |
// } catch (ReadException e) { |
102 | 102 |
// NotificationManager.addError("No se pudo leer la informaci?n de la tabla", e); |
103 | 103 |
// return 0; |
... | ... | |
112 | 112 |
return new Boolean(visibles.get(rowIndex)); |
113 | 113 |
} else if (columnIndex == 1) { |
114 | 114 |
// try { |
115 |
return ((FeatureAttributeDescriptor)table.getModelo().getDefaultFeatureType().get(rowIndex));
|
|
115 |
return ((FeatureAttributeDescriptor)table.getModel().getDefaultFeatureType().get(rowIndex)); |
|
116 | 116 |
// } catch (ReadException e) { |
117 | 117 |
// NotificationManager.addError("Error accediendo al nombre del campo", e); |
118 | 118 |
// return "error!"; |
Also available in: Unified diff