Adds custom menu items to the Excel context menus that appear when one of several tables is clicked in the workbook.
This class takes care of all of the details involved in adding custom NodeXL menu items to the Excel context menus, including handling and forwarding the events that are fired when the custom menu items are clicked.

A RequestEdgeCommandEnable or event is fired before an edge or vertex table context menu is displayed and this class needs to know which menu items to enable. A RunNoParamCommandEventArgs command is sent via the CommandDispatcher class when the user clicks one of the custom menu items.

Inheritance: Object
    //*************************************************************************
    //  Constructor: RunEdgeCommandEventArgs()
    //
    /// <summary>
    /// Initializes a new instance of the <see
    /// cref="RunEdgeCommandEventArgs" /> class.
    /// </summary>
    ///
    /// <param name="edgeRowID">
    /// Row ID of the edge that was right-clicked in the edge table in the edge
    /// worksheet, or <see cref="WorksheetContextMenuManager.NoRowID" /> if
    /// an edge wasn't right-clicked.  This is a row ID that is stored in the
    /// worksheet, NOT an IEdge.ID value.
    /// </param>
    ///
    /// <param name="edgeCommand">
    /// Command to run.
    /// </param>
    //*************************************************************************

    public RunEdgeCommandEventArgs
    (
        Int32 edgeRowID,
        WorksheetContextMenuManager.EdgeCommand edgeCommand
    )
    {
        m_iEdgeRowID = edgeRowID;
        m_eEdgeCommand = edgeCommand;

        AssertValid();
    }
    //*************************************************************************
    //  Constructor: RunVertexCommandEventArgs()
    //
    /// <summary>
    /// Initializes a new instance of the <see
    /// cref="RunVertexCommandEventArgs" /> class.
    /// </summary>
    ///
    /// <param name="vertexRowID">
    /// Row ID of the vertex that was right-clicked in the vertex table in the
    /// vertex worksheet, or <see cref="WorksheetContextMenuManager.NoRowID" />
    /// if a vertex wasn't right-clicked.  This is a row ID that is stored in
    /// the worksheet, NOT an IEdge.ID value.
    /// </param>
    ///
    /// <param name="vertexCommand">
    /// Command to run.
    /// </param>
    //*************************************************************************

    public RunVertexCommandEventArgs
    (
        Int32 vertexRowID,
        WorksheetContextMenuManager.VertexCommand vertexCommand
    )
    {
        m_iVertexRowID = vertexRowID;
        m_eVertexCommand = vertexCommand;

        AssertValid();
    }