Browse Source
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6194 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61pull/1/head
6 changed files with 80 additions and 44 deletions
@ -0,0 +1,33 @@
@@ -0,0 +1,33 @@
|
||||
// <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.Linq; |
||||
using System.Windows; |
||||
using ICSharpCode.NRefactory; |
||||
using Ast = ICSharpCode.NRefactory.Ast; |
||||
using ICSharpCode.SharpDevelop; |
||||
using ICSharpCode.SharpDevelop.Dom; |
||||
using ICSharpCode.SharpDevelop.Dom.NRefactoryResolver; |
||||
using ICSharpCode.SharpDevelop.Editor; |
||||
using ICSharpCode.SharpDevelop.Editor.AvalonEdit; |
||||
using ICSharpCode.SharpDevelop.Refactoring; |
||||
|
||||
namespace SharpRefactoring.ContextActions |
||||
{ |
||||
public class DelegateAction : IContextAction |
||||
{ |
||||
public string Title { get; set; } |
||||
public System.Action ExecuteAction { get; set; } |
||||
|
||||
public void Execute() |
||||
{ |
||||
if (this.ExecuteAction != null) |
||||
this.ExecuteAction(); |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue