Revision 24195 branches/v2_0_0_prep/libraries/libFMap_data/src/org/gvsig/fmap/data/feature/impl/DefaultFeatureSelection.java
DefaultFeatureSelection.java | ||
---|---|---|
90 | 90 |
// TODO: verificar si las features son del mismo FeatureStore |
91 | 91 |
boolean change = false; |
92 | 92 |
if (getFeatureStore().isEditing()) { |
93 |
getCommands().startComplex(); |
|
93 |
getCommands().startComplex("_selectionSelectFeatureSet");
|
|
94 | 94 |
} |
95 | 95 |
|
96 | 96 |
disableNotifications(); |
... | ... | |
99 | 99 |
} |
100 | 100 |
enableNotifications(); |
101 | 101 |
if (getFeatureStore().isEditing()) { |
102 |
getCommands().endComplex("_selectionSelectFeatureSet");
|
|
102 |
getCommands().endComplex(); |
|
103 | 103 |
} |
104 | 104 |
if (change) { |
105 | 105 |
notifyObservers(DataStoreNotification.SELECTION_CHANGE); |
... | ... | |
118 | 118 |
// TODO: verificar si las features son del mismo FeatureStore |
119 | 119 |
boolean change = false; |
120 | 120 |
if (getFeatureStore().isEditing()) { |
121 |
getCommands().startComplex(); |
|
121 |
getCommands().startComplex("_selectionDeselectFeatureSet");
|
|
122 | 122 |
} |
123 | 123 |
disableNotifications(); |
124 | 124 |
for (Iterator iter = features.fastIterator(); iter.hasNext();) { |
... | ... | |
126 | 126 |
} |
127 | 127 |
enableNotifications(); |
128 | 128 |
if (getFeatureStore().isEditing()) { |
129 |
getCommands().endComplex("_selectionDeselectFeatureSet");
|
|
129 |
getCommands().endComplex(); |
|
130 | 130 |
} |
131 | 131 |
if (change) { |
132 | 132 |
notifyObservers(DataStoreNotification.SELECTION_CHANGE); |
Also available in: Unified diff