Example #1
0
		public IToolWindowGroupService Create(ToolWindowGroupServiceOptions options) {
			var newOptions = Convert(options);
			var ctxMenuHelper = new InitializeContextMenuHelper(newOptions.TabGroupGuid);
			if (newOptions.TabGroupGuid != Guid.Empty)
				newOptions.InitializeContextMenu = ctxMenuHelper.InitializeContextMenu;
			var mgr = new ToolWindowGroupService(tabService.Create(newOptions));
			ctxMenuHelper.ToolWindowGroupService = mgr;
			return mgr;
		}
Example #2
0
        public IToolWindowGroupService Create(ToolWindowGroupServiceOptions options)
        {
            var newOptions    = Convert(options);
            var ctxMenuHelper = new InitializeContextMenuHelper(newOptions.TabGroupGuid);

            if (newOptions.TabGroupGuid != Guid.Empty)
            {
                newOptions.InitializeContextMenu = ctxMenuHelper.InitializeContextMenu;
            }
            var mgr = new ToolWindowGroupService(tabService.Create(newOptions));

            ctxMenuHelper.ToolWindowGroupService = mgr;
            return(mgr);
        }
Example #3
0
 public GuidObjectsProvider(InitializeContextMenuHelper owner, ITabGroup tabGroup)
 {
     this.owner    = owner;
     this.tabGroup = tabGroup;
 }
Example #4
0
				public GuidObjectsProvider(InitializeContextMenuHelper owner, ITabGroup tabGroup) {
					this.owner = owner;
					this.tabGroup = tabGroup;
				}