Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hutchinson <mhutchinson@novell.com>2010-03-16 00:23:26 +0300
committerMichael Hutchinson <mhutchinson@novell.com>2010-03-16 00:23:26 +0300
commit5ee0ce623234c2b30e82a0f66b3278c1b03e3d7a (patch)
treed00f45f88ef1660fcae7e05ef0b74107a74a6105 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Extensions
parentab3cc9a3326a4739803889f243e57001a162d1b7 (diff)
* Makefile.am:
* MonoDevelop.Ide.csproj: * MonoDevelop.Ide.addin.xml: * MonoDevelop.Ide.CustomTools: * MonoDevelop.Ide.CustomTools/CustomTool.cs: * MonoDevelop.Ide.CustomTools/CustomToolService.cs: * MonoDevelop.Ide.Extensions/CustomToolExtensionNode.cs: Added custom tools service. * MonoDevelop.Ide.Gui/Ide.cs: Init the custom tools service at startup. * MonoDevelop.Ide.Templates/SingleFileDescriptionTemplate.cs: Allow setting generator. svn path=/trunk/monodevelop/; revision=153605
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Extensions')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Extensions/CustomToolExtensionNode.cs47
1 files changed, 47 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Extensions/CustomToolExtensionNode.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Extensions/CustomToolExtensionNode.cs
new file mode 100644
index 0000000000..b676c4fed3
--- /dev/null
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Extensions/CustomToolExtensionNode.cs
@@ -0,0 +1,47 @@
+//
+// CustomToolExtensionNode.cs
+//
+// Author:
+// Michael Hutchinson <mhutchinson@novell.com>
+//
+// Copyright (c) 2010 Novell, Inc.
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+using System;
+using Mono.Addins;
+using MonoDevelop.Ide.CustomTools;
+
+namespace MonoDevelop.Ide.Extensions
+{
+ public class CustomToolExtensionNode : TypeExtensionNode
+ {
+ [NodeAttribute (Description="Custom tool name.", Required=true)]
+ string name;
+
+ public string Name {
+ get { return name; }
+ }
+
+ public CustomTool Tool {
+ get { return (CustomTool)base.GetInstance (); }
+ }
+ }
+}
+