Esempio n. 1
0
  @Override
  public void setVisible(boolean show) {
    super.setVisible(show);

    notifyVisibilityListeners();

    for (EPDLayerCommon layer : visibilityMangedLayers) {
      layer.setVisible(show);
    }
  }
Esempio n. 2
0
 /**
  * Add visibility managed layer
  *
  * @param layer
  */
 public final void addVisibilityManagedLayer(EPDLayerCommon layer) {
   visibilityMangedLayers.add(layer);
   layer.setVisible(isVisible());
 }