protected override IList <MenuCommand> GetMenuCommands() { IList <MenuCommand> commands = base.GetMenuCommands(); commandSetUtility = new DslCommandSetUtility <ServiceContractDiagram>( this.ServiceProvider, Properties.Resources.AddNewServiceContractTitle, "Web Service Software Factory 2010 SC Model"); return(commandSetUtility.GetMenuCommands(commands, new Guid(Constants.ServiceContractDslCommandSetId))); }
protected override IList<MenuCommand> GetMenuCommands() { IList<MenuCommand> commands = base.GetMenuCommands(); commandSetUtility = new DslCommandSetUtility<ServiceContractDiagram>( this.ServiceProvider, Properties.Resources.AddNewServiceContractTitle, "Web Service Software Factory 2010 SC Model"); return commandSetUtility.GetMenuCommands(commands, new Guid(Constants.ServiceContractDslCommandSetId)); }
protected override IList<MenuCommand> GetMenuCommands() { IList<MenuCommand> commands = base.GetMenuCommands(); Guid guidCmdSet = new Guid(Constants.HostDesignerCommandSetId); DynamicStatusMenuCommand cmdAddServiceReference = new DynamicStatusMenuCommand( new EventHandler(OnStatusChangeAddServiceReference), new EventHandler(OnMenuChangeAddServiceReference), new CommandID(guidCmdSet, cmdAddServiceReferenceId)); commands.Add(cmdAddServiceReference); commandSetUtility = new DslCommandSetUtility<HostDesignerDiagram>( this.ServiceProvider, Resources.AddNewHostDesignerTitle, "Web Service Software Factory 2010 Host Model"); return commandSetUtility.GetMenuCommands(commands, guidCmdSet); }
protected override IList <MenuCommand> GetMenuCommands() { IList <MenuCommand> commands = base.GetMenuCommands(); Guid guidCmdSet = new Guid(Constants.HostDesignerCommandSetId); DynamicStatusMenuCommand cmdAddServiceReference = new DynamicStatusMenuCommand( new EventHandler(OnStatusChangeAddServiceReference), new EventHandler(OnMenuChangeAddServiceReference), new CommandID(guidCmdSet, cmdAddServiceReferenceId)); commands.Add(cmdAddServiceReference); commandSetUtility = new DslCommandSetUtility <HostDesignerDiagram>( this.ServiceProvider, Resources.AddNewHostDesignerTitle, "Web Service Software Factory 2010 Host Model"); return(commandSetUtility.GetMenuCommands(commands, guidCmdSet)); }
protected override IList <MenuCommand> GetMenuCommands() { IList <MenuCommand> commands = base.GetMenuCommands(); Guid guidCmdSet = new Guid(Constants.DataContractDslCommandSetId); DynamicStatusMenuCommand cmdOrderAllDataMembers = new DynamicStatusMenuCommand( new EventHandler(OnStatusChangeOrderAllDataMembers), new EventHandler(OnMenuChangeOrderAllDataMembers), new CommandID(guidCmdSet, cmdOrderAllDataMembersId)); commands.Add(cmdOrderAllDataMembers); commandSetUtility = new DslCommandSetUtility <DataContractDiagram>( this.ServiceProvider, Properties.Resources.AddNewDataContractTitle, "Web Service Software Factory 2010 DC Model"); return(commandSetUtility.GetMenuCommands(commands, guidCmdSet)); }
protected override IList<MenuCommand> GetMenuCommands() { IList<MenuCommand> commands = base.GetMenuCommands(); Guid guidCmdSet = new Guid(Constants.DataContractDslCommandSetId); DynamicStatusMenuCommand cmdOrderAllDataMembers = new DynamicStatusMenuCommand( new EventHandler(OnStatusChangeOrderAllDataMembers), new EventHandler(OnMenuChangeOrderAllDataMembers), new CommandID(guidCmdSet, cmdOrderAllDataMembersId)); commands.Add(cmdOrderAllDataMembers); commandSetUtility = new DslCommandSetUtility<DataContractDiagram>( this.ServiceProvider, Properties.Resources.AddNewDataContractTitle, "Web Service Software Factory 2010 DC Model"); return commandSetUtility.GetMenuCommands(commands, guidCmdSet); }