Hi Benoît, Yes, that tutorial seems quite out of date. Looking at the code it seems like what you want to do (if your datastore extends from AbstractDataStore) is to use the listenerManager member of AbstractDataStore to add/remove listeners, and to fire events.
-Justin Benoît Thiébault wrote: > Hi everyone, > > I'm currently creating a writeable datastore following this tutorial : > http://docs.codehaus.org/display/GEOTDOC/3+Making+PropertyDataStore+Writable > > It seems however a little outdated. > > When the feature has changed, in the feature writer, I am supposed to > call a datastore method : > datastore.fireChanged( original, live ); > But this method does not exist in the AbstractDataStore class. How > should I do to notify the featureSource created from the datastore > that my data has changed ? > Thanks > Benoît > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
