Search in sources :

Example 1 with ContentEvent

use of org.geotoolkit.storage.event.ContentEvent in project geotoolkit by Geomatys.

the class AggregatedCoverageResource method eraseCaches.

private void eraseCaches() {
    cachedGridGeometry = null;
    for (VirtualBand vb : bands) {
        vb.cachedSampleDimension = null;
    }
    tree = null;
    listeners.fire(new ModelEvent(this), ModelEvent.class);
    listeners.fire(new ContentEvent(this), ContentEvent.class);
    photographic = false;
    homogeneous = false;
}
Also used : ContentEvent(org.geotoolkit.storage.event.ContentEvent) ModelEvent(org.geotoolkit.storage.event.ModelEvent)

Aggregations

ContentEvent (org.geotoolkit.storage.event.ContentEvent)1 ModelEvent (org.geotoolkit.storage.event.ModelEvent)1