using System.Threading.Tasks;
using Toolbox.Declarations;
using Toolbox.Docking.Client.Interfaces;
using Toolbox.Docking.Client.Services;

namespace Toolbox.Docking.Client.Plugins
{
    /// <summary>
    /// Plugin module for visualizing of domain.
    /// The classes which implements this interface must have these two attributes:
    ///      [Export([PLUGIN_NAME], typeof(ITbDomainVisualizer))]
    ///      [PartCreationPolicy(CreationPolicy.NonShared)]
    /// [PLUGIN_NAME] must correspond to server's implementation of: ITbQsarFactory.ClientDomainExplainer
    /// Modules are loaded using Managed Extensibility Framework (MEF).
    /// </summary>
    public interface ITbDomainVisualizer
    {
        Task DisplayDomain(ITbObjectId qsarId, ITbUiState uiState, ITbClientServiceLocator clientServices);
    }
}