44namespace LogExpert
55{
66 /// <summary>
7- /// Implement this interface to add a menu entry to the context menu of LogExpert.
7+ /// Implement this interface to add a menu entry to the context menu of LogExpert.
88 /// </summary>
99 /// <remarks>
1010 /// <para>
@@ -17,12 +17,12 @@ public interface IContextMenuEntry
1717 #region Public methods
1818
1919 /// <summary>
20- /// This function is called from LogExpert if the context menu is about to be displayed.
20+ /// This function is called from LogExpert if the context menu is about to be displayed.
2121 /// Your implementation can control whether LogExpert will show a menu entry by returning
2222 /// an appropriate value.<br></br>
2323 /// </summary>
2424 /// <param name="lines">A list containing all selected line numbers.</param>
25- /// <param name="columnizer">The currently selected Columnizer. You can use it to split log lines,
25+ /// <param name="columnizer">The currently selected Columnizer. You can use it to split log lines,
2626 /// if necessary.</param>
2727 /// <param name="callback">The callback interface implemented by LogExpert. You can use the functions
2828 /// for retrieving log lines or pass it along to functions of the Columnizer if needed.</param>
@@ -37,18 +37,22 @@ public interface IContextMenuEntry
3737 /// </returns>
3838 string GetMenuText ( IList < int > lines , ILogLineColumnizer columnizer , ILogExpertCallback callback ) ;
3939
40+ string GetMenuText ( int linesCount , ILogLineColumnizer columnizer , ILogLine line ) ;
41+
4042
4143 /// <summary>
4244 /// This function is called from LogExpert if the menu entry is choosen by the user. <br></br>
4345 /// Note that this function is called from the GUI thread. So try to avoid time consuming operations.
4446 /// </summary>
4547 /// <param name="lines">A list containing all selected line numbers.</param>
46- /// <param name="columnizer">The currently selected Columnizer. You can use it to split log lines,
48+ /// <param name="columnizer">The currently selected Columnizer. You can use it to split log lines,
4749 /// if necessary.</param>
4850 /// <param name="callback">The callback interface implemented by LogExpert. You can use the functions
4951 /// for retrieving log lines or pass it along to functions of the Columnizer if needed.</param>
5052 void MenuSelected ( IList < int > lines , ILogLineColumnizer columnizer , ILogExpertCallback callback ) ;
5153
54+ void MenuSelected ( int linesCount , ILogLineColumnizer columnizer , ILogLine line ) ;
55+
5256 #endregion
5357 }
5458}
0 commit comments