Revision 2158 branches/gvSIG_03_SLD/applications/appgvSIG/src/com/iver/cit/gvsig/gui/Table.java

View differences:

Table.java
89 89
    private boolean updating = false;
90 90
    
91 91
    private TableSelectionListener selectionListener = new TableSelectionListener();
92
    
92
    private long numReg=0;
93 93
    /**
94 94
     * This is the default constructor
95 95
     */
......
132 132
	        model.getModelo().addSelectionListener(selectionListener);
133 133
	        
134 134
	        updateSelection();
135
	
136
	        jLabelStatus.setText(" " + dataSource.getRowCount() + " " +
137
	            PluginServices.getText(this, "registros") + ".");
135
			numReg=dataSource.getRowCount();
136
	        jLabelStatus.setText(" " + dataSource.getSelection().cardinality() + " / " + numReg +" "+
137
	            PluginServices.getText(this, "registros_seleccionados_total") + ".");
138 138
    	}catch (DriverException e){
139 139
    		NotificationManager.addError("No se pudo leer la informaci?n", e);
140 140
    	}
......
231 231
                        	if (fmap != null)
232 232
                        	fmap.beginAtomicEvent();
233 233
                        }
234
						jLabelStatus.setText(" " + selection.cardinality() + " / " + numReg + " " +
235
					            PluginServices.getText(this, "registros_seleccionados_total") + ".");
234 236
                    }
235 237
                });
236 238
        }

Also available in: Unified diff