Revision 238
org.gvsig.vectorediting/trunk/org.gvsig.vectorediting/org.gvsig.vectorediting.lib/org.gvsig.vectorediting.lib.impl/src/main/java/org/gvsig/vectorediting/lib/impl/DefaultEditingProviderServices.java | ||
---|---|---|
155 | 155 |
throw new CancelationException(msg, null); |
156 | 156 |
} |
157 | 157 |
|
158 |
// FIXME: Este m?todo est? hecho al rev?s. Cuando est? corregido en |
|
159 |
// EditingNotification, deber?a quitarse el ! |
|
160 |
if (!notification.shouldValidateTheFeature()) { |
|
158 |
if (notification.shouldValidateTheFeature()) { |
|
161 | 159 |
if (!editingNotificationManager.validateFeature(eFeature)) { |
162 | 160 |
String msg = |
163 | 161 |
String.format("%1$s is not valid", eFeature.toString()); |
... | ... | |
224 | 222 |
throw new CancelationException(msg, null); |
225 | 223 |
} |
226 | 224 |
|
227 |
// FIXME: Este m?todo est? hecho al rev?s. Cuando est? corregido en |
|
228 |
// EditingNotification, deber?a quitarse el ! |
|
229 |
if (!notification.shouldValidateTheFeature()) { |
|
225 |
if (notification.shouldValidateTheFeature()) { |
|
230 | 226 |
if (!editingNotificationManager.validateFeature(eFeature)) { |
231 | 227 |
String msg = |
232 | 228 |
String.format("%1$s is not valid", eFeature.toString()); |
Also available in: Unified diff