{"action":"created","issue":{"url":"https://api.github.com/repos/tgjones/gemini/issues/131","labels_url":"https://api.github.com/repos/tgjones/gemini/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/tgjones/gemini/issues/131/comments","events_url":"https://api.github.com/repos/tgjones/gemini/issues/131/events","html_url":"https://github.com/tgjones/gemini/pull/131","id":63589552,"number":131,"title":"Addresses issue #129 , Default Menu Customization","user":{"login":"jkornblum","id":5368903,"avatar_url":"https://avatars.githubusercontent.com/u/5368903?v=3","gravatar_id":"","url":"https://api.github.com/users/jkornblum","html_url":"https://github.com/jkornblum","followers_url":"https://api.github.com/users/jkornblum/followers","following_url":"https://api.github.com/users/jkornblum/following{/other_user}","gists_url":"https://api.github.com/users/jkornblum/gists{/gist_id}","starred_url":"https://api.github.com/users/jkornblum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkornblum/subscriptions","organizations_url":"https://api.github.com/users/jkornblum/orgs","repos_url":"https://api.github.com/users/jkornblum/repos","events_url":"https://api.github.com/users/jkornblum/events{/privacy}","received_events_url":"https://api.github.com/users/jkornblum/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-22T23:20:32Z","updated_at":"2015-04-04T14:14:45Z","closed_at":"2015-03-23T13:35:42Z","pull_request":{"url":"https://api.github.com/repos/tgjones/gemini/pulls/131","html_url":"https://github.com/tgjones/gemini/pull/131","diff_url":"https://github.com/tgjones/gemini/pull/131.diff","patch_url":"https://github.com/tgjones/gemini/pull/131.patch"},"body":"Added ExcludeMenu<xx> classes to Gemini.Framework.Menus and made edits to the Gemini.Modules.MainMenu MenuBuilder class. \r\n\r\nThis means exported ExcludeMenu<xx> classes will remove those menu options from the default definitions file in the MainMenu module.\r\n\r\nExample usage with the Gemini Demo project is as follows:\r\n\r\n```c#\r\npublic static class ExcludeMenuDefinitions\r\n    {\r\n        [Export]\r\n        public static ExcludeMenuItemDefinition ExcludeOpenMenuItem = new ExcludeMenuItemDefinition(Gemini.Modules.Shell.MenuDefinitions.FileOpenMenuItem);\r\n\r\n        [Export]\r\n        public static ExcludeMenuItemGroupDefinition ExcludeWindowMenuItemGroup = new ExcludeMenuItemGroupDefinition(Gemini.Modules.MainMenu.MenuDefinitions.ViewToolsMenuGroup);\r\n\r\n        [Export]\r\n        public static ExcludeMenuDefinition ExcludeWindowMenuDefinition = new ExcludeMenuDefinition(Gemini.Modules.MainMenu.MenuDefinitions.WindowMenu);\r\n    }\r\n```"},"comment":{"url":"https://api.github.com/repos/tgjones/gemini/issues/comments/89585176","html_url":"https://github.com/tgjones/gemini/pull/131#issuecomment-89585176","issue_url":"https://api.github.com/repos/tgjones/gemini/issues/131","id":89585176,"user":{"login":"yurgen1981","id":10957867,"avatar_url":"https://avatars.githubusercontent.com/u/10957867?v=3","gravatar_id":"","url":"https://api.github.com/users/yurgen1981","html_url":"https://github.com/yurgen1981","followers_url":"https://api.github.com/users/yurgen1981/followers","following_url":"https://api.github.com/users/yurgen1981/following{/other_user}","gists_url":"https://api.github.com/users/yurgen1981/gists{/gist_id}","starred_url":"https://api.github.com/users/yurgen1981/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurgen1981/subscriptions","organizations_url":"https://api.github.com/users/yurgen1981/orgs","repos_url":"https://api.github.com/users/yurgen1981/repos","events_url":"https://api.github.com/users/yurgen1981/events{/privacy}","received_events_url":"https://api.github.com/users/yurgen1981/received_events","type":"User","site_admin":false},"created_at":"2015-04-04T14:14:45Z","updated_at":"2015-04-04T14:14:45Z","body":"As a variant, these menus, commands and toolbars can be moved from the box to the demo or to a separate module. And then we will not have any issues with excluding."}}