using System;
using System.Collections.Generic;
using Core.Common.Controls;
using Core.Gis.GeoApi.Extensions.Feature;
using Core.GIS.SharpMap.Api.Layers;
namespace Core.Common.Gui
{
///
/// Provides an interface for views that provide extended info/editing for a layer. The view will be
/// opened as a tabs inside the central map view. Typically one layer corresponds to one view.
///
public interface ILayerEditorView : IView
{
event EventHandler SelectedFeaturesChanged;
IEnumerable SelectedFeatures { get; set; }
///
/// The layer for which this view is the editor.
///
ILayer Layer { set; get; }
///
/// Called when this view (the tab) is activated (becomes the selected tab)
///
void OnActivated();
///
/// Called when this view (the tab) is no longer active (is no longer the selected tab)
///
void OnDeactivated();
}
}