You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.0 KiB
39 lines
1.0 KiB
// <file> |
|
// <copyright see="prj:///doc/copyright.txt"/> |
|
// <license see="prj:///doc/license.txt"/> |
|
// <owner name="Martin Konicek" email="martin.konicek@gmail.com"/> |
|
// <version>$Revision: $</version> |
|
// </file> |
|
using System; |
|
using System.Collections.Generic; |
|
using System.Windows; |
|
using ICSharpCode.SharpDevelop.Editor; |
|
using ICSharpCode.SharpDevelop.Editor.AvalonEdit; |
|
using ICSharpCode.SharpDevelop.Refactoring; |
|
|
|
namespace SharpRefactoring.ContextActions |
|
{ |
|
/// <summary> |
|
/// Description of ImplementAbstractClass. |
|
/// </summary> |
|
public class ImplementAbstractClassProvider : IContextActionsProvider |
|
{ |
|
public IEnumerable<IContextAction> GetAvailableActions(ITextEditor editor) |
|
{ |
|
var currentLine = editor.Document.GetLine(editor.Caret.Line); |
|
yield break; |
|
} |
|
} |
|
|
|
public class ImplementAbstractClassAction : IContextAction |
|
{ |
|
public string Title { |
|
get { return "Dummy implement abstract class"; } |
|
} |
|
|
|
public void Execute() |
|
{ |
|
MessageBox.Show("Dummy implement abstract class"); |
|
} |
|
} |
|
}
|
|
|