Revision 46277 trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app.document.table.app/org.gvsig.app.document.table.app.mainplugin/src/main/java/org/gvsig/app/extension/TableRowsOperations.java
TableRowsOperations.java | ||
---|---|---|
119 | 119 |
private boolean thereIsSelection(FeatureTableDocumentPanel tabledoc) { |
120 | 120 |
|
121 | 121 |
if (tabledoc != null) { |
122 |
try { |
|
123 |
return !tabledoc.getModel().getStore() |
|
124 |
.getFeatureSelection().isEmpty(); |
|
125 |
} catch (Exception e) { |
|
126 |
logger.warn("Can't check if table has a selecction", e); |
|
127 |
} |
|
122 |
return !tabledoc.getModel().getStore().isFeatureSelectionEmpty(); |
|
128 | 123 |
} |
129 | 124 |
return false; |
130 | 125 |
|
Also available in: Unified diff