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:
authorLluis Sanchez Gual <lluis@novell.com>2011-04-01 21:55:09 +0400
committerLluis Sanchez Gual <lluis@novell.com>2011-04-01 21:56:08 +0400
commit9a4c9e4695c15edb1ce16f183bff486b4ab52967 (patch)
tree35b7a4d8dec497a482dec987a9790e9f53f36429 /main/src/core/MonoDevelop.Ide/ExtensionModel
parent652c37952f857feb3bfcebca214379bbe48a91f0 (diff)
Add support for importing/exporting policy sets
The Custom Policies dialog now has options for importing/exporting policies from/to projects and files. I also added commands for importing/exporting project policies.
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/ExtensionModel')
-rw-r--r--main/src/core/MonoDevelop.Ide/ExtensionModel/Commands.addin.xml6
-rw-r--r--main/src/core/MonoDevelop.Ide/ExtensionModel/MainMenu.addin.xml4
2 files changed, 10 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Ide/ExtensionModel/Commands.addin.xml b/main/src/core/MonoDevelop.Ide/ExtensionModel/Commands.addin.xml
index be2ac62265..b2a6b5cb84 100644
--- a/main/src/core/MonoDevelop.Ide/ExtensionModel/Commands.addin.xml
+++ b/main/src/core/MonoDevelop.Ide/ExtensionModel/Commands.addin.xml
@@ -324,6 +324,12 @@
type = "radio|array"
defaultHandler="MonoDevelop.Ide.Commands.SelectActiveRuntimeHandler"
_label = "Active Runtime" />
+ <Command id = "MonoDevelop.Ide.Commands.ProjectCommands.ApplyPolicy"
+ defaultHandler="MonoDevelop.Ide.Commands.ApplyPolicyHandler"
+ _label = "Apply Policy..." />
+ <Command id = "MonoDevelop.Ide.Commands.ProjectCommands.ExportPolicy"
+ defaultHandler="MonoDevelop.Ide.Commands.ExportPolicyHandler"
+ _label = "Export Policy..." />
</Category>
diff --git a/main/src/core/MonoDevelop.Ide/ExtensionModel/MainMenu.addin.xml b/main/src/core/MonoDevelop.Ide/ExtensionModel/MainMenu.addin.xml
index 6b934b0d40..a937604833 100644
--- a/main/src/core/MonoDevelop.Ide/ExtensionModel/MainMenu.addin.xml
+++ b/main/src/core/MonoDevelop.Ide/ExtensionModel/MainMenu.addin.xml
@@ -167,6 +167,10 @@
<ItemSet id = "SelectActiveRuntime" _label = "Active Runtime" autohide = "true">
<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.SelectActiveRuntime" />
</ItemSet>
+ <SeparatorItem id = "PolicyToolsStart" />
+ <CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.ApplyPolicy" />
+ <CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.ExportPolicy" />
+ <SeparatorItem id = "PolicyToolsEnd" />
<SeparatorItem id = "OptionsSeparator" />
<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.SolutionOptions" />
<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.ProjectOptions" />