using System;
using System.Collections.Generic;
using JD.Shotgun.Service.ShotgunEntities;
using JetBrains.Annotations;
namespace JD.Shotgun.WPF
{
public interface IShotgunExplorer
{
///
/// The item currently focused.
///
/// TODO: could be better to have an Empty object instead of null when nothing is focused.
[CanBeNull]
ShotgunObject FocusedItem { get; }
///
/// Occurs when an item gets focused.
///
event Action OnItemFocused;
///
/// Occurs when the user actively select the focused item.
///
event Action OnItemActivated;
void Initialize();
///
/// Search for items corresponding to the given string.
///
ICollection Search(string userInput);
///
/// Set the focus on the given item.
///
///
void Focus(ShotgunObject item);
}
}