Revision 46 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
DefaultEditingProviderServices.java | ||
---|---|---|
1 | 1 |
/* |
2 | 2 |
* Copyright 2014 DiSiD Technologies S.L.L. All rights reserved. |
3 |
*
|
|
4 |
* Project : DiSiD org.gvsig.vectorediting.lib.impl
|
|
3 |
* |
|
4 |
* Project : DiSiD org.gvsig.vectorediting.lib.impl |
|
5 | 5 |
* SVN Id : $Id$ |
6 | 6 |
*/ |
7 | 7 |
package org.gvsig.vectorediting.lib.impl; |
... | ... | |
38 | 38 |
EditingNotificationManager editingNotificationManager = MapControlLocator |
39 | 39 |
.getEditingNotificationManager(); |
40 | 40 |
|
41 |
EditingNotification notification = editingNotificationManager |
|
42 |
.notifyObservers(this, EditingNotification.BEFORE_INSERT_FEATURE, |
|
43 |
null, null, featureStore, eFeature); |
|
41 |
EditingNotification notification = editingNotificationManager.notifyObservers( |
|
42 |
this, //source |
|
43 |
EditingNotification.BEFORE_INSERT_FEATURE, //type |
|
44 |
null,//document |
|
45 |
null,//layer |
|
46 |
featureStore,//store |
|
47 |
eFeature//feature |
|
48 |
); |
|
44 | 49 |
if (notification.isCanceled()) { |
45 | 50 |
throw new CancelationException(""); |
46 | 51 |
} |
Also available in: Unified diff