/// <summary>
    ///  Provides functionality to the user to specify the radius of the study area.
    ///  Called when the user clicks the Configure button next to the feature action.
    /// </summary>
    public bool Configure(System.Windows.Window owner)
    {
      // Show the configuration dialog.
      CensusReportDialog dialog = new CensusReportDialog(SelectedDataSource, BufferRadius) { Owner = owner };
      if (dialog.ShowDialog() != true)
        return false;

      //Retrive the DataSource and radius of the study area from the dialog
      SelectedDataSource = dialog.SelectedDataSource;
      DataSourceId = SelectedDataSource.Id;
      BufferRadius = dialog.BufferRadius;
      return true;
    }
        /// <summary>
        ///  Provides functionality to the user to specify the radius of the study area.
        ///  Called when the user clicks the Configure button next to the feature action.
        /// </summary>
        public bool Configure(System.Windows.Window owner)
        {
            // Show the configuration dialog.
            CensusReportDialog dialog = new CensusReportDialog(SelectedDataSource, BufferRadius)
            {
                Owner = owner
            };

            if (dialog.ShowDialog() != true)
            {
                return(false);
            }

            //Retrive the DataSource and radius of the study area from the dialog
            SelectedDataSource = dialog.SelectedDataSource;
            DataSourceId       = SelectedDataSource.Id;
            BufferRadius       = dialog.BufferRadius;
            return(true);
        }