Revision 25089 branches/v2_0_0_prep/applications/appgvSIG/src/com/iver/cit/gvsig/TableEditCutExtension.java
TableEditCutExtension.java | ||
---|---|---|
76 | 76 |
if ("CUT".equals(actionCommand)) { |
77 | 77 |
IWindow v = PluginServices.getMDIManager().getActiveWindow(); |
78 | 78 |
|
79 |
try { |
|
80 |
((FeatureTableDocumentPanel) v).cutFeature(); |
|
81 |
} catch (ReadException e) { |
|
82 |
NotificationManager.addError("No se pudo cortar la fila", e); |
|
83 |
} |
|
79 |
// try {
|
|
80 |
// ((FeatureTableDocumentPanel) v).cutFeature();
|
|
81 |
// } catch (ReadException e) {
|
|
82 |
// NotificationManager.addError("No se pudo cortar la fila", e);
|
|
83 |
// }
|
|
84 | 84 |
} |
85 | 85 |
} |
86 | 86 |
|
... | ... | |
95 | 95 |
} |
96 | 96 |
|
97 | 97 |
if (v.getClass() == FeatureTableDocumentPanel.class) { |
98 |
return (((FeatureTableDocumentPanel) v).getModel().getStore().isEditing()) && (((FeatureTableDocumentPanel) v).getSelectedRowIndices().length>0); |
|
98 |
// FIXME |
|
99 |
// return (((FeatureTableDocumentPanel) v).getModel().getStore().isEditing()) && (((FeatureTableDocumentPanel) v).getSelectedRowIndices().length>0); |
|
99 | 100 |
} |
100 | 101 |
|
101 | 102 |
return false; |
Also available in: Unified diff