Re: Setting preferences in GenericDataModel.

2013-03-31 Thread Ceyhun Can ÜLKER
I understand. Thank you for the heads-up. Have a good day. Ceyhun Can ULKER On Fri, Mar 29, 2013 at 8:22 PM, Sean Owen sro...@gmail.com wrote: Yes it's OK. You need to care for thread safety though, which will be hard. The other problem is that changing the underlying data doesn't

Setting preferences in GenericDataModel.

2013-03-29 Thread Ceyhun Can ÜLKER
Hello, I checked the implementation of GenericDataModel for adding and removing preferences after instantiation. Those methods (setPreference(long, long, float) and removePreference(long, long)) throw UnsupportedOperationException s. I'd like to know whether there is an important reason for not

Re: Setting preferences in GenericDataModel.

2013-03-29 Thread Sean Owen
Yes it's OK. You need to care for thread safety though, which will be hard. The other problem is that changing the underlying data doesn't necessarily invalidate caches above it. You'll have to consider that part as well. I suppose this is part of why it was conceived as a model where the data is