Revision 22932 branches/v2_0_0_prep/applications/appgvSIG/src/com/iver/cit/gvsig/TableRowsOperations.java

View differences:

TableRowsOperations.java
70 70
     */
71 71
    private void invertSelection(Table table) {
72 72
    	try {
73
    		FeatureStore fs = table.getModel().getModelo();
73
    		FeatureStore fs = table.getModel().getModel();
74 74
    		FeatureCollection selection=(FeatureCollection)fs.getSelection();
75 75
    		FeatureCollection fCollection=(FeatureCollection)fs.getDataCollection();
76 76
    		fCollection.removeAll(selection);
......
87 87
	private void showsSelectedRows(Table table) {
88 88
    	long[] mapping=null;
89 89
		try {
90
			FeatureStore fs=table.getModel().getModelo();
90
			FeatureStore fs=table.getModel().getModel();
91 91
			mapping = new long[fs.getDataCollection().size()];
92 92

  
93 93
		FeatureCollection selectedRows=(FeatureCollection)fs.getSelection();
......
127 127
            Table table = (Table) v;
128 128

  
129 129
//            try {
130
				return !table.getModel().getModelo().getSelection().isEmpty();
130
				return !table.getModel().getModel().getSelection().isEmpty();
131 131
//			} catch (ReadException e) {
132 132
//				e.printStackTrace();
133 133
//			}

Also available in: Unified diff