/** Sets the selected layer in map has default for first layer. */
  private void selectDefaultLayer() {

    // gets the selected layer from map in the current context
    IToolContext context = getContext();
    if (context == null) return;

    ILayer selectedLayerInMap = context.getSelectedLayer();
    if (selectedLayerInMap == null) return;

    this.currentFirstLayer = selectedLayerInMap;

    this.featuresInFirstLayer =
        presentSelectedFeaturesSum(
            this.currentFirstLayer,
            this.currentFirstLayer.getFilter(),
            this.cLabelFeaturesInFirstLayer);

    changeSelectedLayer(this.currentFirstLayer, this.comboFirstLayer);

    validate();
  }