code: @Override
      public void notifyLayerChanged(FeatureProvider provider,
                                     Integer layerRefreshOld,
                                     Integer layerRefreshNew,
                                     Integer layerDisplayOld,
                                     Integer layerDisplayNew)
      {
          if (provider.hasFeature(Refreshable.class))
          {
              final Refreshable refreshable = provider.getFeature(Refreshable.class);
              getLayer(layerRefreshOld).remove(refreshable);
              getLayer(layerRefreshNew).add(refreshable);
              indexs.add(layerRefreshNew);
          }
      }
docs: /*
  LayerableListener