예제 #1
0
  @Override
  public void setVisible(boolean show) {
    super.setVisible(show);

    notifyVisibilityListeners();

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