Source

Resharper Spell Checker / ReSpeller / Actions / SpaceshipAction.cs

Full commit
using System.Windows.Forms;
using JetBrains.ActionManagement;
using JetBrains.Application.DataContext;

namespace ReSpeller.Actions
{
    [ActionHandler("SpellCheckerPlugin.Spaceship")]
    public class SpaceshipAction : IActionHandler
    {
        #region IActionHandler Members

        public bool Update(IDataContext context, ActionPresentation presentation, DelegateUpdate nextUpdate)
        {
            // return true or false to enable/disable this action
            return true;
        }

        public void Execute(IDataContext context, DelegateExecute nextExecute)
        {
            MessageBox.Show("I'm sorry, Dave. I'm afraid I can't give you a spaceship. \r\n" +
                            "I'm just a spell checker, not a spaceship factory.",
                "Spaceship",
                MessageBoxButtons.OK,
                MessageBoxIcon.Information);
        }

        #endregion
    }
}