using System; using System.Collections.Generic; using DelftTools.Controls; using GeoAPI.Extensions.Feature; using SharpMap.Api.Layers; namespace DelftTools.Shell.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(); } }