diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-09 23:34:39 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-09 23:34:39 +1300 |
commit | 137c89bc9a870c4018f4c000494c89af9ceea67a (patch) | |
tree | ecee16a30a9c2742a97f715427b3b77ab66541aa /src/org/traccar/web/client/model/BaseStoreHandlers.java | |
parent | 803ddb7af2d2ad33a5beeded3bc53963b16454d0 (diff) | |
download | trackermap-web-137c89bc9a870c4018f4c000494c89af9ceea67a.tar.gz trackermap-web-137c89bc9a870c4018f4c000494c89af9ceea67a.tar.bz2 trackermap-web-137c89bc9a870c4018f4c000494c89af9ceea67a.zip |
Finished archive panel
Diffstat (limited to 'src/org/traccar/web/client/model/BaseStoreHandlers.java')
-rw-r--r-- | src/org/traccar/web/client/model/BaseStoreHandlers.java | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/src/org/traccar/web/client/model/BaseStoreHandlers.java b/src/org/traccar/web/client/model/BaseStoreHandlers.java new file mode 100644 index 00000000..ed4e5419 --- /dev/null +++ b/src/org/traccar/web/client/model/BaseStoreHandlers.java @@ -0,0 +1,58 @@ +package org.traccar.web.client.model; + +import com.sencha.gxt.data.shared.event.StoreAddEvent; +import com.sencha.gxt.data.shared.event.StoreClearEvent; +import com.sencha.gxt.data.shared.event.StoreDataChangeEvent; +import com.sencha.gxt.data.shared.event.StoreFilterEvent; +import com.sencha.gxt.data.shared.event.StoreHandlers; +import com.sencha.gxt.data.shared.event.StoreRecordChangeEvent; +import com.sencha.gxt.data.shared.event.StoreRemoveEvent; +import com.sencha.gxt.data.shared.event.StoreSortEvent; +import com.sencha.gxt.data.shared.event.StoreUpdateEvent; + +public class BaseStoreHandlers<T> implements StoreHandlers<T> { + + @Override + public void onAdd(StoreAddEvent<T> event) { + onAnything(); + } + + @Override + public void onRemove(StoreRemoveEvent<T> event) { + onAnything(); + } + + @Override + public void onFilter(StoreFilterEvent<T> event) { + onAnything(); + } + + @Override + public void onClear(StoreClearEvent<T> event) { + onAnything(); + } + + @Override + public void onUpdate(StoreUpdateEvent<T> event) { + onAnything(); + } + + @Override + public void onDataChange(StoreDataChangeEvent<T> event) { + onAnything(); + } + + @Override + public void onRecordChange(StoreRecordChangeEvent<T> event) { + onAnything(); + } + + @Override + public void onSort(StoreSortEvent<T> event) { + onAnything(); + } + + public void onAnything() { + } + +} |