Revision 986
org.gvsig.vectorediting/trunk/org.gvsig.vectorediting/org.gvsig.vectorediting.swing/org.gvsig.vectorediting.swing.impl/src/main/java/org/gvsig/vectorediting/swing/impl/DefaultEditingContext.java | ||
---|---|---|
452 | 452 |
|
453 | 453 |
EditingNotification notification = |
454 | 454 |
editingNotificationManager.notifyObservers(this, |
455 |
EditingNotification.BEFORE_ENTER_EDITING_STORE, null, layer); |
|
455 |
EditingNotification.BEFORE_ENTER_EDITING_STORE, null, layer,layer.getFeatureStore());
|
|
456 | 456 |
|
457 | 457 |
if (notification.isCanceled()) { |
458 | 458 |
String msg = |
... | ... | |
481 | 481 |
featureStore.addObserver(getMapControl()); |
482 | 482 |
|
483 | 483 |
editingNotificationManager.notifyObservers(this, |
484 |
EditingNotification.AFTER_ENTER_EDITING_STORE, null, layer); |
|
484 |
EditingNotification.AFTER_ENTER_EDITING_STORE, null, layer, layer.getFeatureStore());
|
|
485 | 485 |
|
486 | 486 |
enableSnapping(); |
487 | 487 |
} |
... | ... | |
611 | 611 |
|
612 | 612 |
EditingNotification notification = |
613 | 613 |
editingNotificationManager.notifyObservers(this, |
614 |
EditingNotification.BEFORE_EXIT_EDITING_STORE, null, layer); |
|
614 |
EditingNotification.BEFORE_EXIT_EDITING_STORE, null, layer, layer.getFeatureStore());
|
|
615 | 615 |
|
616 | 616 |
if (notification.isCanceled()) { |
617 | 617 |
String msg = |
... | ... | |
641 | 641 |
doAction(layer, option); |
642 | 642 |
|
643 | 643 |
editingNotificationManager.notifyObservers(this, |
644 |
EditingNotification.AFTER_EXIT_EDITING_STORE, null, layer); |
|
644 |
EditingNotification.AFTER_EXIT_EDITING_STORE, null, layer, layer.getFeatureStore());
|
|
645 | 645 |
|
646 | 646 |
} |
647 | 647 |
|
Also available in: Unified diff