Examples of fireFeatureEvent()


Examples of org.geotools.data.store.ContentState.fireFeatureEvent()

        }

        if (contentState.hasListener()) {
            // issue notificaiton
            FeatureEvent event = new FeatureEvent(this, Type.CHANGED, affectedBounds, filter);
            contentState.fireFeatureEvent(event);
        }

    }
}
View Full Code Here

Examples of org.geotools.data.store.ContentState.fireFeatureEvent()

                            bounds.expandToInclude( geometry.getEnvelopeInternal() );
                        }
                    }
                    // issue notificaiton
                    FeatureEvent event = new FeatureEvent(this, Type.CHANGED, bounds, preFilter );
                    state.fireFeatureEvent( event );
                }
            } finally {
                if(tx == null || tx == Transaction.AUTO_COMMIT) {
                    getDataStore().closeSafe(cx);
                }
View Full Code Here

Examples of org.geotools.data.store.ContentState.fireFeatureEvent()

                }           
                getDataStore().delete(featureType, preFilter, cx);
                if( state.hasListener() ){
                    // issue notification
                    FeatureEvent event = new FeatureEvent(this, Type.REMOVED, bounds, preFilter );
                    state.fireFeatureEvent( event );
                }
            } finally {
                if(tx == null || tx == Transaction.AUTO_COMMIT) {
                    getDataStore().closeSafe(cx);
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.