An abstract class for performing indexing and searching asynchronously.
Inheritance: SIL.Utils.FwDisposableBase, IVwNotifyChange
Ejemplo n.º 1
0
		/// <summary>
		/// Initialize the control, creating the BrowseViewer among other things.
		/// </summary>
		/// <param name="cache">The cache.</param>
		/// <param name="stylesheet">The stylesheet.</param>
		/// <param name="mediator">The mediator.</param>
		/// <param name="configNode">The config node.</param>
		/// <param name="searchEngine">The search engine.</param>
		/// <param name="reversalWs">The reversal writing system.</param>
		public void Initialize(FdoCache cache, IVwStylesheet stylesheet, Mediator mediator, XmlNode configNode,
			SearchEngine searchEngine, IWritingSystem reversalWs)
		{
			CheckDisposed();

			m_cache = cache;
			m_stylesheet = stylesheet;
			m_mediator = mediator;
			m_searchEngine = searchEngine;
			m_searchEngine.SearchCompleted += m_searchEngine_SearchCompleted;

			SuspendLayout();
			CreateBrowseViewer(configNode, reversalWs);
			ResumeLayout(false);
		}
Ejemplo n.º 2
0
 /// <summary>
 /// Initialize the control, creating the BrowseViewer among other things.
 /// </summary>
 /// <param name="cache">The cache.</param>
 /// <param name="stylesheet">The stylesheet.</param>
 /// <param name="mediator">The mediator.</param>
 /// <param name="propertyTable"></param>
 /// <param name="configNode">The config node.</param>
 /// <param name="searchEngine">The search engine.</param>
 public void Initialize(LcmCache cache, IVwStylesheet stylesheet, Mediator mediator, PropertyTable propertyTable, XmlNode configNode,
                        SearchEngine searchEngine)
 {
     Initialize(cache, stylesheet, mediator, propertyTable, configNode, searchEngine, null);
 }
Ejemplo n.º 3
0
		/// <summary>
		/// Initialize the control, creating the BrowseViewer among other things.
		/// </summary>
		/// <param name="cache">The cache.</param>
		/// <param name="stylesheet">The stylesheet.</param>
		/// <param name="mediator">The mediator.</param>
		/// <param name="configNode">The config node.</param>
		/// <param name="searchEngine">The search engine.</param>
		public void Initialize(FdoCache cache, IVwStylesheet stylesheet, Mediator mediator, XmlNode configNode,
			SearchEngine searchEngine)
		{
			Initialize(cache, stylesheet, mediator, configNode, searchEngine, null);
		}
Ejemplo n.º 4
0
 /// <summary>
 /// Initialize the control, creating the BrowseViewer among other things.
 /// </summary>
 /// <param name="cache">The cache.</param>
 /// <param name="stylesheet">The stylesheet.</param>
 /// <param name="mediator">The mediator.</param>
 /// <param name="configNode">The config node.</param>
 /// <param name="searchEngine">The search engine.</param>
 public void Initialize(FdoCache cache, IVwStylesheet stylesheet, Mediator mediator, XmlNode configNode,
                        SearchEngine searchEngine)
 {
     Initialize(cache, stylesheet, mediator, configNode, searchEngine, null);
 }