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

MonoDevelop.AspNet.Mvc.addin.xml « MonoDevelop.AspNet.Mvc « AspNet « addins « src « main - github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b6c821c51b00b34a85724b5c43fb74833305e4e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<Addin id          = "AspNet.Mvc"
       namespace   = "MonoDevelop"
       name        = "ASP.NET MVC Support"
       author      = "Michael Hutchinson"
       copyright   = "MIT X11"
       url         = "http://monodevelop.com/"
       description = "Support for ASP.NET MVC projects."
       category    = "Web Development"
       version     = "2.9.0">
	
	<Runtime>
		<Import file = "Templates/Controller.xft.xml"/>
		<Import file = "Templates/ViewPage.xft.xml"/>
		<Import file = "Templates/ViewContentPage.xft.xml"/>
		<Import file = "Templates/UserControl.xft.xml"/>
		<Import file = "Templates/ViewMasterPage.xft.xml" />
		<Import file = "Templates/Project.xpt.xml" />
		<Import file = "Templates/EmptyProject.xpt.xml"/>
		<Import file = "Templates/GlobalAsax.xft.xml"/>
		<Import file = "Templates/WebConfigApp.xft.xml"/>
		<Import file = "Templates/WebConfigViews.xft.xml"/>
		<Import file = "CodeTemplates/AddView/Empty.tt" />
	</Runtime>
	
	<Dependencies>
		<Addin id="Core" version="2.9.0"/>
		<Addin id="Ide" version="2.9.0"/>
		<Addin id="XmlEditor" version="2.9.0" />
		<Addin id="AspNet" version="2.9.0" />
		<Addin id="SourceEditor2" version="2.9.0" />
		<Addin id="TextTemplating" version="2.9.0" />
	</Dependencies>
	
	<Extension path = "/MonoDevelop/ProjectModel/MSBuildItemTypes">
		<DotNetProjectSubtype
			guid="{603c0e0b-db56-11dc-be95-000d561079b0}"
			type="MonoDevelop.AspNet.Mvc.AspMvcProject"
			/>
	</Extension>

	<Extension path = "/MonoDevelop/Ide/FileTemplates">
		<FileTemplate id       = "AspMvcController"
		              file     = "Templates/Controller.xft.xml"/>
		<FileTemplate id       = "AspMvcViewPage"
		              file     = "Templates/ViewPage.xft.xml"/>
		<FileTemplate id       = "AspMvcViewContentPage"
		              file     = "Templates/ViewContentPage.xft.xml"/>
		<FileTemplate id       = "AspMvcUserControl"
		              file     = "Templates/UserControl.xft.xml"/>
		<FileTemplate id       = "AspMvcViewMasterPage"
		              file     = "Templates/ViewMasterPage.xft.xml" />
		<FileTemplate id       = "AspMvcGlobalAsax"
		              file     = "Templates/GlobalAsax.xft.xml" />
		<FileTemplate id       = "AspMvcWebConfigApp"
		              file     = "Templates/WebConfigApp.xft.xml" />
		<FileTemplate id       = "AspMvcWebConfigViews"
		              file     = "Templates/WebConfigViews.xft.xml" />
	</Extension>

	<Extension path = "/MonoDevelop/Ide/ProjectTemplates">
		<ProjectTemplate id = "AspMvcProject" file = "Templates/Project.xpt.xml" />
		<ProjectTemplate id = "AspMvcProject-Empty" file = "Templates/EmptyProject.xpt.xml"/>
	</Extension>
	
	<Extension path = "/MonoDevelop/ProjectModel/ProjectBindings">
		<ProjectBinding id = "AspNetMvc" class = "MonoDevelop.AspNet.Mvc.AspMvcProjectBinding" />
	</Extension>
	
	<Extension path = "/MonoDevelop/ProjectModel/SerializableClasses">
		<DataType class = "MonoDevelop.AspNet.Mvc.AspMvcProject" />
		<DataType class = "MonoDevelop.AspNet.Mvc.AspMvcProjectConfiguration" />
	</Extension>
	
	<Extension path = "/MonoDevelop/Ide/Commands">
		<Category _name = "ASP.NET" id = "AspNet">
		<Command id = "MonoDevelop.AspNet.Mvc.AspMvcCommands.AddController"
		         _label = "Controller..."
		         _description = "Add an ASP.NET MVC controller" />
		<Command id = "MonoDevelop.AspNet.Mvc.AspMvcCommands.AddView"
		         _label = "View..."
		         _description = "Add an ASP.NET MVC view" />
		</Category>
	</Extension>
	
	<Extension path = "/MonoDevelop/Ide/ContextMenu/ProjectPad/Add">
		<Condition id="activeproject" value="AspNetMvc">
			<CommandItem id = "MonoDevelop.AspNet.Mvc.AspMvcCommands.AddController" insertbefore="MonoDevelop.Ide.Commands.ProjectCommands.AddNewFiles"  disabledVisible="false"/>
			<CommandItem id = "MonoDevelop.AspNet.Mvc.AspMvcCommands.AddView" disabledVisible="false" />
			<SeparatorItem id = "MvcAddSeparator" />
		</Condition>
	</Extension>
	
	<Extension path = "/MonoDevelop/Ide/Pads/ProjectPad">
		<NodeBuilder id="AspMvcFolderNodeBuilderExtension" class = "MonoDevelop.AspNet.Mvc.Gui.FolderNodeBuilderExtension"/>
	</Extension>
</Addin>