Revision 561 org.gvsig.scripting/trunk/org.gvsig.scripting/org.gvsig.scripting.app/org.gvsig.scripting.app.mainplugin/src/main/resources-plugin/scripting/lib/gvsig_2_3_0/table.py
table.py | ||
---|---|---|
15 | 15 |
return self.getFeatureStore().getFeatureSet().getSize() |
16 | 16 |
|
17 | 17 |
def _edit(self): |
18 |
self.getFeatureStore().edit()
|
|
19 |
|
|
18 |
self.getFeatureStore().edit() |
|
19 |
|
|
20 | 20 |
def _append(self, *valuesList, **values): |
21 | 21 |
self.getFeatureStore().append(*valuesList, **values) |
22 |
|
|
22 |
|
|
23 | 23 |
def _updateSchema(self, schema): |
24 | 24 |
self.getFeatureStore().update(schema) |
25 |
|
|
25 |
|
|
26 | 26 |
def _update(self, feature): |
27 | 27 |
self.getFeatureStore().update(feature) |
28 | 28 |
|
... | ... | |
37 | 37 |
|
38 | 38 |
def _getSelection(self): |
39 | 39 |
return self.getFeatureStore().getFeatureSelection() |
40 |
|
|
40 |
|
|
41 | 41 |
def _select(self, selection): |
42 | 42 |
self.getFeatureStore().getFeatureSelection().select(selection) |
43 | 43 |
|
... | ... | |
54 | 54 |
|
55 | 55 |
def _call(self): |
56 | 56 |
return self |
57 |
|
|
58 | 57 |
|
59 | 58 |
|
59 |
|
|
60 | 60 |
# |
61 | 61 |
# Inject new methods in the class JTableDocument |
62 | 62 |
# |
... | ... | |
76 | 76 |
JTableDocument.select = _select |
77 | 77 |
JTableDocument.deselect = _deselect |
78 | 78 |
JTableDocument.isSelected = _isSelected |
79 |
JTableDocument.finishEditing = _commit |
|
80 |
JTableDocument.cancelEditing = _abort |
|
79 | 81 |
|
82 |
|
Also available in: Unified diff