using System;
namespace Core.Common.Controls.Views
{
///
/// IReusable views are reused. When a view should be opened for an object supported by the view and the view
/// is not locked the view will be reused.
/// When implementing this interface the view must expect data will be set after construction to render new objects.
///
public interface IReusableView : IView
{
///
/// Required. Event should be fired when lock changes. Allows to update the UI (image for the tab)
///
event EventHandler LockedChanged;
///
/// Required. Determines whether the view is tight to the data it renders.
///
bool Locked { get; set; }
}
}