/// <summary>
            /// Appends the context menu action items from this group to the given menu.
            /// </summary>
            /// <param name="menu">The menu to append to.</param>
            /// <param name="textElement">The text element this menu is built for.</param>
            public override void AppendActionsTo(NMenu menu, NTextElement textElement)
            {
                // Add the "Copy" command
                menu.Items.Add(CreateMenuItem(Nevron.Nov.Presentation.NResources.Image_Edit_Copy_png, NRichTextView.CopyCommand));

                // Add the custom command
                menu.Items.Add(CreateMenuItem(NResources.Image_Ribbon_16x16_smiley_png, CustomCommand));
            }
 /// <summary>
 /// Gets whether this context menu group should be shown for the given
 /// text element. Overriden to return true for every text element.
 /// </summary>
 /// <param name="textElement"></param>
 /// <returns></returns>
 public override bool AppliesTo(NTextElement textElement)
 {
     return(true);
 }