using System;
using System.Collections;
using System.Drawing;
using System.Windows.Forms;
using nft.ui.command;

namespace nft.ui.mainframe
{
	/// <summary>
    /// IToolBarController の概要の説明です。
	/// </summary>
	public interface IToolBarController
	{                

		/// <summary>
        /// Create a tool button.
        /// </summary>
		/// <param name="cui">the source command ui</param>
		/// <param name="pathHint">menu path hint to locate new button.</param>
        void AddToolButton(CommandUI cui, CommandPathHint pathHint);

		/// <summary>
		/// Set ICommandEntity as a click event handler of specified menu item.
		/// </summary>
        /// <param name="procedure"></param>
		/// <param name="path"></param>
		/// <returns></returns>
		void BindCommand( ICommandProcedure procedure, CommandUI ui, string path );

    }
}
