//=------------------------------------------------------------------=
 // SetCommand
 //=------------------------------------------------------------------=
 /// <summary>
 ///   Asks us to set the proffered property (Command) on the given
 ///   component.  We, fortunately, pass all this on to the individual
 ///   UnifiedCommand object, which remembers all relationships, etc.
 /// </summary>
 ///
 /// <param name="tsi">
 ///   The item for which the Command property is to be set.
 /// </param>
 ///
 /// <param name="uc">
 ///   The UnifiedCommand for the property value.
 /// </param>
 ///
 public void SetCommand(ToolStripItem tsi, UnifiedCommand uc)
 {
     //
     // if they want to dissociate this item from any commands,
     // then go and do so now.
     //
     if (uc == null)
     {
         for (int x = 0; x < this.m_commands.Count; x++)
         {
             if (this.m_commands[x].ContainsToolStripItem(tsi))
             {
                 this.m_commands[x].RemoveToolStripItem(tsi);
             }
         }
     }
     else
     {
         //
         // otherwise, if they gave us a valid command for which we
         // are responsible, then go and make the association now.
         //
         uc.AddToolStripItem(tsi);
     }
 }
 //=------------------------------------------------------------------=
 // OnCommandRemoved
 //=------------------------------------------------------------------=
 /// <summary>
 ///   The specified UnifiedCommand object has been removed from our
 ///   collection of commands.  We'll go and delete any information
 ///   we have for it.
 /// </summary>
 ///
 /// <param name="command">
 ///   The command that is being deleted.
 /// </param>
 ///
 protected internal void OnCommandRemoved(UnifiedCommand command)
 {
 }
        //=------------------------------------------------------------------=
        //=------------------------------------------------------------------=
        //=------------------------------------------------------------------=
        //=------------------------------------------------------------------=
        //              Namespace-Public Methods/Properties/etc.
        //=------------------------------------------------------------------=
        //=------------------------------------------------------------------=
        //=------------------------------------------------------------------=
        //=------------------------------------------------------------------=

        //=------------------------------------------------------------------=
        // OnCommandAdded
        //=------------------------------------------------------------------=
        /// <summary>
        ///   The specified UnifiedCommand object has been added to our
        ///   collection of UnifiedCommands.  We'll go and hook up all the
        ///   relevant information for it now.
        /// </summary>
        ///
        /// <param name="command">
        ///   The command being added.
        /// </param>
        ///
        protected internal void OnCommandAdded(UnifiedCommand command)
        {
        }