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

ProjectPadContextMenu.addin.xml « MonoDevelop.Ide.Gui.Pads.ProjectPad « MonoDevelop.Ide « core « src « main - github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 358aed5c60831c20df88fa743f572f2c00b8fcac (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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<ExtensionModel>

<ExtensionPoint path = "/MonoDevelop/Ide/ContextMenu/ProjectPad" name = "Project pad context menu">
	<Description>Context menu for nodes in the solution pad.</Description>
	<ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
	<ConditionType id="ItemType" type="MonoDevelop.Projects.Extensions.ItemTypeCondition">
		<Description>Type of the item. If no namespace is provided, MonoDevelop.Projects is assumed.</Description>
	</ConditionType>
	<ConditionType id="FileType" type="MonoDevelop.Ide.Extensions.FileTypeCondition">
		<Description>Type of the file.</Description>
	</ConditionType>
</ExtensionPoint>

<Extension path = "/MonoDevelop/Ide/ContextMenu/ProjectPad">

	<!-- Build section -->
	
	<SeparatorItem id = "BuildSectionStart" />
	<Condition id="ItemType" value="IBuildTarget">
		<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.Build" />
		<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.Rebuild" />
		<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.Clean" />
		<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.Reload" />
		<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.Unload" />
		<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.CustomCommandList" />
	</Condition>
	<SeparatorItem id = "BuildSectionEnd" />
	
	<!-- Actions Section -->
	
	<SeparatorItem id = "ActionsSectionStart" />
	<Condition id="ItemType" value="ProjectReference|ProjectFile|SystemFile|MonoDevelop.Ide.Gui.Pads.ProjectPad.SolutionFolderFileNode">
		<ItemSet id = "OpenWith" _label = "Open _With" autohide="true">
			<CommandItem id = "MonoDevelop.Ide.Commands.ViewCommands.OpenWithList" />
		</ItemSet>
		<SeparatorItem id = "OpenSeparator" />
	</Condition>
	<Condition id="ItemType" value="SystemFile|ProjectFolder">
		<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.IncludeToProject" />
	</Condition>
	<SeparatorItem id = "ActionsSectionEnd" />
	
	<!-- Run section -->
	
	<SeparatorItem id = "RunSectionStart" />
	<Condition id="ItemType" value="IBuildTarget">
		<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.RunEntry" />
		<ItemSet id = "RunWith" _label = "Run With" autohide="True">
			<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.RunEntryWithList" />
		</ItemSet>
	</Condition>
	<Condition id="ItemType" value="Project">
		<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.SetAsStartupProject" />
	</Condition>
	<Condition id="ItemType" value="Solution">
		<CommandItem id="MonoDevelop.Ide.Commands.ProjectCommands.SetStartupProjects" />
	</Condition>
	<SeparatorItem id = "RunSectionEnd" />
	
	<!-- Publish section -->
		
	<ItemSet id = "Publish" _label = "Publish" autohide="True" />
		
	<!-- Add section -->
					
	<SeparatorItem id = "AddSectionStart" />
	<ItemSet id = "Add" _label = "_Add" autohide="True">
		<Condition id="ItemType" value="Workspace">
			<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.AddNewSolution" _label = "New Solution..."/>
			<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.AddNewWorkspace" _label = "New Workspace..."/>
			<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.AddItem" _label = "Existing _Item..."/>
		</Condition>
		<Condition id="ItemType" value="Solution|SolutionFolder">
			<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.AddNewProject"  _label = "New Project..."/>
			<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.AddProject" _label = "Existing _Project..."/>
			<SeparatorItem id = "Separator1" />
			<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.AddSolutionFolder" _label ="Solution _Folder"/>
		</Condition>
		<Condition id="ItemType" value="Project|ProjectFolder|Solution|SolutionFolder">
			<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.AddNewFiles" />
				<Condition id="ItemType" value="Project|ProjectFolder">
					<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.AddEmptyClass" />
				</Condition>
			<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.AddFiles" _label = "Existing Files..."/>
		</Condition>
		<Condition id="ItemType" value="Project">
				<SeparatorItem/>
				<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.AddReference"
						 _label = "Reference..."/>
		</Condition>
		<Condition id="ItemType" value="Project|ProjectFolder">
			<SeparatorItem/>
			<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.AddFilesFromFolder" _label = "Files from Folder..."/>
			<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.AddExistingFolder" _label = "Existing Folder..."/>
			<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.NewFolder"/>
		</Condition>
	</ItemSet>
	<Condition id="ItemType" value="ProjectReferenceCollection">
		<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.AddReference" />
	</Condition>
	<SeparatorItem id = "AddSectionEnd" />
	
	<!-- Tools section -->
	
	<SeparatorItem id = "ToolsSectionStart" />
	<ItemSet id = "Tools" _label = "_Tools" autohide="True">
		<Condition id="ItemType" value="Solution|Project">
			<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.ExportSolution" />
			<SeparatorItem id = "ExportSeparator" />
		</Condition>
		<Condition id="ItemType" value="Solution|Project|SolutionFolder">
			<SeparatorItem id = "PolicyToolsStart" />
			<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.ApplyPolicy" />
			<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.ExportPolicy" />
			<SeparatorItem id = "PolicyToolsEnd" />
		</Condition>
		<Condition id="ItemType" value="IFolderItem">
			<CommandItem id = "MonoDevelop.Ide.Commands.FileCommands.OpenInTerminal" />
		</Condition>
		<Condition id="ItemType" value="Solution|Project|UnknownSolutionItem">
			<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.EditSolutionItem" />
		</Condition>
	</ItemSet>
	<Condition id="ItemType" value="IFolderItem">
		<CommandItem id = "MonoDevelop.Ide.Commands.SearchCommands.FindInFiles" />
	</Condition>
	<Condition id="ItemType" value="IFolderItem|IFileItem">
		<CommandItem id = "MonoDevelop.Ide.Commands.FileCommands.OpenContainingFolder" />
	</Condition>
	<SeparatorItem id = "ToolsSectionEnd" />
	
    <Condition id="ItemType" value="ProjectFile|ProjectFolder">
        <CommandItem id=  "MonoDevelop.Ide.Commands.ProjectCommands.ExcludeFromProject" />
    </Condition>

	<!-- Edit section -->
	
	<SeparatorItem id = "EditSectionStart" />
	<CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Copy" disabledVisible="False" />
	<CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Cut" disabledVisible="False" />
	<CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Paste" disabledVisible="False" />
	<CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Delete" disabledVisible="False" />
	<CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Rename" disabledVisible="False" />
	<SeparatorItem id = "EditSectionEnd" />
		
	<Condition id="ItemType" value="WorkspaceItem">
		<CommandItem id = "MonoDevelop.Ide.Commands.FileCommands.CloseWorkspaceItem" />
	</Condition>
	
	<SeparatorItem id = "CombineOptionsSeparator" />
	
	<!-- Properties Section -->
	
	<SeparatorItem id = "PropertiesSectionStart" />
	<Condition id="ItemType" value="ProjectFile">
		<ItemSet id = "BuildActions" _label = "Build Action">
			<CommandItem id = "MonoDevelop.Ide.Commands.FileCommands.SetBuildAction" />
		</ItemSet>
		<ItemSet id = "QuickProperties" _label = "_Quick Properties">
			<CommandItem id = "MonoDevelop.Ide.Commands.FileCommands.CopyToOutputDirectory" />
		</ItemSet>
	</Condition>
	<Condition id="ItemType" value="ProjectReference">
		<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.LocalCopyReference" />
		<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.SpecificAssemblyVersion" />
	</Condition>
	<Condition id="ItemType" value="IBuildTarget">
		<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.Options" />
	</Condition>	
	<Condition id="ItemType" value="ProjectItem">
		<CommandItem id = "MonoDevelop.Ide.Commands.FileCommands.ShowProperties" />
	</Condition>
	<SeparatorItem id = "PropertiesSectionEnd" />
	
</Extension>

</ExtensionModel>