public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new JavaScriptUpdateContentIncludeReferencesPublishInConnectionGroupWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeJavaScriptUpdateContentIncludeReferencesPublishInConnectionGroupCommandId
                , sourceCode
                );

            InstanceFile = new JavaScriptUpdateContentIncludeReferencesPublishInConnectionGroupWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileJavaScriptUpdateContentIncludeReferencesPublishInConnectionGroupCommandId
                , sourceFile
                );

            InstanceFolder = new JavaScriptUpdateContentIncludeReferencesPublishInConnectionGroupWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FolderJavaScriptUpdateContentIncludeReferencesPublishInConnectionGroupCommandId
                , sourceFolder
                );
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new JavaScriptUpdateContentIncludeReferencesPublishCommand(
                commandService
                , PackageIds.guidCommandSet.CodeJavaScriptUpdateContentIncludeReferencesPublishCommandId
                , sourceCode
                , Properties.CommandNames.CodeJavaScriptUpdateContentIncludeReferencesPublishCommand
                );

            InstanceFile = new JavaScriptUpdateContentIncludeReferencesPublishCommand(
                commandService
                , PackageIds.guidCommandSet.FileJavaScriptUpdateContentIncludeReferencesPublishCommandId
                , sourceFile
                , Properties.CommandNames.FileJavaScriptUpdateContentIncludeReferencesPublishCommand
                );

            InstanceFolder = new JavaScriptUpdateContentIncludeReferencesPublishCommand(
                commandService
                , PackageIds.guidCommandSet.FolderJavaScriptUpdateContentIncludeReferencesPublishCommandId
                , sourceFolder
                , Properties.CommandNames.FolderJavaScriptUpdateContentIncludeReferencesPublishCommand
                );
        }
예제 #3
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            InstanceCommon = new OpenWebResourcesInSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.CommonOpenWebResourcesInSolutionLastSelectedCommandId, null, false);

            InstanceCommonInTextEditor = new OpenWebResourcesInSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.CommonOpenWebResourcesInSolutionLastSelectedInTextEditorCommandId, null, true);


            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new OpenWebResourcesInSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.CodeWebResourceOpenWebResourcesInSolutionLastSelectedCommandId, sourceCode, false);

            InstanceDocuments = new OpenWebResourcesInSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.DocumentsWebResourceOpenWebResourcesInSolutionLastSelectedCommandId, sourceDocuments, false);

            InstanceFile = new OpenWebResourcesInSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.FileWebResourceOpenWebResourcesInSolutionLastSelectedCommandId, sourceFile, false);

            InstanceFolder = new OpenWebResourcesInSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.FolderWebResourceOpenWebResourcesInSolutionLastSelectedCommandId, sourceFolder, false);



            InstanceCodeInTextEditor = new OpenWebResourcesInSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.CodeWebResourceOpenWebResourcesInSolutionLastSelectedInTextEditorCommandId, sourceCode, true);

            InstanceDocumentsInTextEditor = new OpenWebResourcesInSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.DocumentsWebResourceOpenWebResourcesInSolutionLastSelectedInTextEditorCommandId, sourceDocuments, true);

            InstanceFileInTextEditor = new OpenWebResourcesInSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.FileWebResourceOpenWebResourcesInSolutionLastSelectedInTextEditorCommandId, sourceFile, true);

            InstanceFolderInTextEditor = new OpenWebResourcesInSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.FolderWebResourceOpenWebResourcesInSolutionLastSelectedInTextEditorCommandId, sourceFolder, true);
        }
예제 #4
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new WebResourceCreateEntityDescriptionInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeWebResourceCreateEntityDescriptionInConnectionCommandId
                , sourceCode
                );

            InstanceDocuments = new WebResourceCreateEntityDescriptionInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.DocumentsWebResourceCreateEntityDescriptionInConnectionCommandId
                , sourceDocuments
                );

            InstanceFile = new WebResourceCreateEntityDescriptionInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileWebResourceCreateEntityDescriptionInConnectionCommandId
                , sourceFile
                );

            InstanceFolder = new WebResourceCreateEntityDescriptionInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FolderWebResourceCreateEntityDescriptionInConnectionCommandId
                , sourceFolder
                );
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new WebResourceUpdateContentPublishCommand(
                commandService
                , PackageIds.guidCommandSet.CodeWebResourceUpdateContentPublishCommandId
                , sourceCode
                , Properties.CommandNames.CodeWebResourceUpdateContentPublishCommand
                );

            InstanceFile = new WebResourceUpdateContentPublishCommand(
                commandService
                , PackageIds.guidCommandSet.FileWebResourceUpdateContentPublishCommandId
                , sourceFile
                , Properties.CommandNames.FileWebResourceUpdateContentPublishCommand
                );

            InstanceFolder = new WebResourceUpdateContentPublishCommand(
                commandService
                , PackageIds.guidCommandSet.FolderWebResourceUpdateContentPublishCommandId
                , sourceFolder
                , Properties.CommandNames.FolderWebResourceUpdateContentPublishCommand
                );
        }
예제 #6
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFileSingle.CreateSource();

            InstanceCodeCustomRules = new JavaScriptCopyToClipboardRibbonObjectsInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeJavaScriptCopyToClipboardRibbonCustomRulesInConnectionCommandId
                , sourceCode
                , RibbonPlacement.CustomRules
                );

            InstanceCodeJavaScriptFunctions = new JavaScriptCopyToClipboardRibbonObjectsInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeJavaScriptCopyToClipboardRibbonJavaScriptFunctionsInConnectionCommandId
                , sourceCode
                , RibbonPlacement.JavaScriptFunctions
                );

            InstanceFileCustomRules = new JavaScriptCopyToClipboardRibbonObjectsInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileJavaScriptCopyToClipboardRibbonCustomRulesInConnectionCommandId
                , sourceFile
                , RibbonPlacement.CustomRules
                );

            InstanceFileJavaScriptFunctions = new JavaScriptCopyToClipboardRibbonObjectsInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileJavaScriptCopyToClipboardRibbonJavaScriptFunctionsInConnectionCommandId
                , sourceFile
                , RibbonPlacement.JavaScriptFunctions
                );
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFileSingle.CreateSource();

            InstanceCodeOpenDependentComponentsInExplorerInConnection = new WebResourceOpenInExplorerInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeWebResourceOpenDependentInExplorerInConnectionCommandId
                , sourceCode
                , ActionOnComponent.OpenDependentComponentsInExplorer
                );

            InstanceCodeOpenSolutionsContainingComponentInExplorerInConnection = new WebResourceOpenInExplorerInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeWebResourceOpenSolutionsListWithComponentInExplorerInConnectionCommandId
                , sourceCode
                , ActionOnComponent.OpenSolutionsListWithComponentInExplorer
                );

            InstanceFileOpenDependentComponentsInExplorerInConnection = new WebResourceOpenInExplorerInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileWebResourceOpenDependentInExplorerInConnectionCommandId
                , sourceFile
                , ActionOnComponent.OpenDependentComponentsInExplorer
                );

            InstanceFileOpenSolutionsContainingComponentInExplorerInConnection = new WebResourceOpenInExplorerInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileWebResourceOpenSolutionsListWithComponentInExplorerInConnectionCommandId
                , sourceFile
                , ActionOnComponent.OpenSolutionsListWithComponentInExplorer
                );
        }
예제 #8
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFileSingle.CreateSource();

            InstanceCode = new CSharpAddPluginStepInConnectionCommand(commandService, PackageIds.guidDynamicCommandSet.CodeCSharpAddPluginStepInConnectionCommandId, sourceCode);

            InstanceFile = new CSharpAddPluginStepInConnectionCommand(commandService, PackageIds.guidDynamicCommandSet.FileCSharpAddPluginStepInConnectionCommandId, sourceFile);
        }
예제 #9
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFileSingle.CreateSource();

            InstanceCodeOneByOne = new WebResourceShowDifferenceThreeFileCommand(
                commandService
                , PackageIds.guidDynamicConnectionPairCommandSet.CodeWebResourceShowDifferenceOneByOneCommandId
                , Properties.CommandNames.ShowDifferenceOneByOneCommandFormat2
                , sourceCode
                , ShowDifferenceThreeFileType.OneByOne
                );

            InstanceCodeTwoConnections = new WebResourceShowDifferenceThreeFileCommand(
                commandService
                , PackageIds.guidDynamicConnectionPairCommandSet.CodeWebResourceShowDifferenceTwoConnectionsCommandId
                , Properties.CommandNames.ShowDifferenceTwoConnectionsCommandFormat2
                , sourceCode
                , ShowDifferenceThreeFileType.TwoConnections
                );

            InstanceCodeThreeWay = new WebResourceShowDifferenceThreeFileCommand(
                commandService
                , PackageIds.guidDynamicConnectionPairCommandSet.CodeWebResourceShowDifferenceThreeWayCommandId
                , Properties.CommandNames.ShowDifferenceThreeWayCommandFormat2
                , sourceCode
                , ShowDifferenceThreeFileType.ThreeWay
                );

            InstanceFileOneByOne = new WebResourceShowDifferenceThreeFileCommand(
                commandService
                , PackageIds.guidDynamicConnectionPairCommandSet.FileWebResourceShowDifferenceOneByOneCommandId
                , Properties.CommandNames.ShowDifferenceOneByOneCommandFormat2
                , sourceFile
                , ShowDifferenceThreeFileType.OneByOne
                );

            InstanceFileTwoConnections = new WebResourceShowDifferenceThreeFileCommand(
                commandService
                , PackageIds.guidDynamicConnectionPairCommandSet.FileWebResourceShowDifferenceTwoConnectionsCommandId
                , Properties.CommandNames.ShowDifferenceTwoConnectionsCommandFormat2
                , sourceFile
                , ShowDifferenceThreeFileType.TwoConnections
                );

            InstanceFileThreeWay = new WebResourceShowDifferenceThreeFileCommand(
                commandService
                , PackageIds.guidDynamicConnectionPairCommandSet.FileWebResourceShowDifferenceThreeWayCommandId
                , Properties.CommandNames.ShowDifferenceThreeWayCommandFormat2
                , sourceFile
                , ShowDifferenceThreeFileType.ThreeWay
                );
        }
예제 #10
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            InstanceCode = new ReportLinkClearCommand(commandService, PackageIds.guidCommandSet.CodeReportLinkClearCommandId, sourceCode);

            InstanceDocuments = new ReportLinkClearCommand(commandService, PackageIds.guidCommandSet.DocumentsReportLinkClearCommandId, sourceDocuments);

            InstanceFile = new ReportLinkClearCommand(commandService, PackageIds.guidCommandSet.FileReportLinkClearCommandId, sourceFile);
        }
예제 #11
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            InstanceCode = new ReportAddToSolutionInConnectionCommand(commandService, PackageIds.guidDynamicCommandSet.CodeReportAddToSolutionInConnectionCommandId, sourceCode);

            InstanceDocuments = new ReportAddToSolutionInConnectionCommand(commandService, PackageIds.guidDynamicCommandSet.DocumentsReportAddToSolutionInConnectionCommandId, sourceDocuments);

            InstanceFile = new ReportAddToSolutionInConnectionCommand(commandService, PackageIds.guidDynamicCommandSet.FileReportAddToSolutionInConnectionCommandId, sourceFile);
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new JavaScriptUpdateGlobalOptionSetSingleFileCommand(commandService, PackageIds.guidDynamicCommandSet.CodeJavaScriptUpdateGlobalOptionSetSingleFileCommandId, sourceCode);

            InstanceDocuments = new JavaScriptUpdateGlobalOptionSetSingleFileCommand(commandService, PackageIds.guidDynamicCommandSet.DocumentsJavaScriptUpdateGlobalOptionSetSingleFileCommandId, sourceDocuments);

            InstanceFile = new JavaScriptUpdateGlobalOptionSetSingleFileCommand(commandService, PackageIds.guidDynamicCommandSet.FileJavaScriptUpdateGlobalOptionSetSingleFileCommandId, sourceFile);

            InstanceFolder = new JavaScriptUpdateGlobalOptionSetSingleFileCommand(commandService, PackageIds.guidDynamicCommandSet.FolderJavaScriptUpdateGlobalOptionSetSingleFileCommandId, sourceFolder);
        }
예제 #13
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFileSingle.CreateSource();

            InstanceCode = new WebResourceShowDifferenceInConnectionGroupCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeWebResourceShowDifferenceInConnectionGroupCommandId
                , sourceCode
                );

            InstanceFile = new WebResourceShowDifferenceInConnectionGroupCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileWebResourceShowDifferenceInConnectionGroupCommandId
                , sourceFile
                );
        }
예제 #14
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new CSharpGlobalOptionSetsMetadataFileGenerationOptionsCommand(commandService, PackageIds.guidCommandSet.CodeCSharpGlobalOptionSetsMetadataFileGenerationOptionsCommandId, sourceCode);

            InstanceDocuments = new CSharpGlobalOptionSetsMetadataFileGenerationOptionsCommand(commandService, PackageIds.guidCommandSet.DocumentsCSharpGlobalOptionSetsMetadataFileGenerationOptionsCommandId, sourceDocuments);

            InstanceFile = new CSharpGlobalOptionSetsMetadataFileGenerationOptionsCommand(commandService, PackageIds.guidCommandSet.FileCSharpGlobalOptionSetsMetadataFileGenerationOptionsCommandId, sourceFile);

            InstanceFolder = new CSharpGlobalOptionSetsMetadataFileGenerationOptionsCommand(commandService, PackageIds.guidCommandSet.FolderCSharpGlobalOptionSetsMetadataFileGenerationOptionsCommandId, sourceFolder);
        }
예제 #15
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new CSharpCheckEncodingCommand(commandService, PackageIds.guidCommandSet.CodeCSharpCheckEncodingCommandId, sourceCode);

            InstanceDocuments = new CSharpCheckEncodingCommand(commandService, PackageIds.guidCommandSet.DocumentsCSharpCheckEncodingCommandId, sourceDocuments);

            InstanceFile = new CSharpCheckEncodingCommand(commandService, PackageIds.guidCommandSet.FileCSharpCheckEncodingCommandId, sourceFile);

            InstanceFolder = new CSharpCheckEncodingCommand(commandService, PackageIds.guidCommandSet.FolderCSharpCheckEncodingCommandId, sourceFolder);
        }
예제 #16
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new JavaScriptIncludeReferencesToDependencyXmlInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.CodeJavaScriptIncludeReferencesToDependencyXmlInConnectionGroupCommandId, sourceCode);

            InstanceDocuments = new JavaScriptIncludeReferencesToDependencyXmlInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.DocumentsJavaScriptIncludeReferencesToDependencyXmlInConnectionGroupCommandId, sourceDocuments);

            InstanceFile = new JavaScriptIncludeReferencesToDependencyXmlInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.FileJavaScriptIncludeReferencesToDependencyXmlInConnectionGroupCommandId, sourceFile);

            InstanceFolder = new JavaScriptIncludeReferencesToDependencyXmlInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.FolderJavaScriptIncludeReferencesToDependencyXmlInConnectionGroupCommandId, sourceFolder);
        }
예제 #17
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new CSharpUpdateEntityMetadataFileSchemaCommand(commandService, PackageIds.guidDynamicCommandSet.CodeCSharpUpdateEntityMetadataFileSchemaCommandId, sourceCode);

            InstanceDocuments = new CSharpUpdateEntityMetadataFileSchemaCommand(commandService, PackageIds.guidDynamicCommandSet.DocumentsCSharpUpdateEntityMetadataFileSchemaCommandId, sourceDocuments);

            InstanceFile = new CSharpUpdateEntityMetadataFileSchemaCommand(commandService, PackageIds.guidDynamicCommandSet.FileCSharpUpdateEntityMetadataFileSchemaCommandId, sourceFile);

            InstanceFolder = new CSharpUpdateEntityMetadataFileSchemaCommand(commandService, PackageIds.guidDynamicCommandSet.FolderCSharpUpdateEntityMetadataFileSchemaCommandId, sourceFolder);
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new XmlCommonXsdSchemaRemoveCommand(commandService, PackageIds.guidCommandSet.CodeXmlCommonXsdSchemaRemoveCommandId, sourceCode);

            InstanceDocuments = new XmlCommonXsdSchemaRemoveCommand(commandService, PackageIds.guidCommandSet.DocumentsXmlCommonXsdSchemaRemoveCommandId, sourceDocuments);

            InstanceFile = new XmlCommonXsdSchemaRemoveCommand(commandService, PackageIds.guidCommandSet.FileXmlCommonXsdSchemaRemoveCommandId, sourceFile);

            InstanceFolder = new XmlCommonXsdSchemaRemoveCommand(commandService, PackageIds.guidCommandSet.FolderXmlCommonXsdSchemaRemoveCommandId, sourceFolder);
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new CSharpProjectPluginTypeStepsAddToSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.CodeCSharpProjectPluginTypeStepsAddToSolutionLastSelectedCommandId, sourceCode);

            InstanceDocuments = new CSharpProjectPluginTypeStepsAddToSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.DocumentsCSharpProjectPluginTypeStepsAddToSolutionLastSelectedCommandId, sourceDocuments);

            InstanceFile = new CSharpProjectPluginTypeStepsAddToSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.FileCSharpProjectPluginTypeStepsAddToSolutionLastSelectedCommandId, sourceFile);

            InstanceFolder = new CSharpProjectPluginTypeStepsAddToSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.FolderCSharpProjectPluginTypeStepsAddToSolutionLastSelectedCommandId, sourceFolder);
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFileSingle.CreateSource();

            InstanceCode = new JavaScriptShowDifferenceReferencesAndDependencyXmlInConnectionGroupCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeJavaScriptShowDifferenceReferencesAndDependencyXmlInConnectionGroupCommandId
                , sourceCode
                );

            InstanceFile = new JavaScriptShowDifferenceReferencesAndDependencyXmlInConnectionGroupCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileJavaScriptShowDifferenceReferencesAndDependencyXmlInConnectionGroupCommandId
                , sourceFile
                );
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFileSingle.CreateSource();

            InstanceCode = new ReportCreateCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeReportCreateCommandId
                , sourceCode
                );

            InstanceFile = new ReportCreateCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileReportCreateCommandId
                , sourceFile
                );
        }
예제 #22
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFileSingle.CreateSource();

            InstanceCode = new JavaScriptShowDifferenceReferencesAndDependencyXmlCommand(
                commandService
                , PackageIds.guidCommandSet.CodeJavaScriptShowDifferenceReferencesAndDependencyXmlCommandId
                , sourceCode
                , Properties.CommandNames.CodeJavaScriptShowDifferenceReferencesAndDependencyXmlCommand
                );

            InstanceFile = new JavaScriptShowDifferenceReferencesAndDependencyXmlCommand(
                commandService
                , PackageIds.guidCommandSet.FileJavaScriptShowDifferenceReferencesAndDependencyXmlCommandId
                , sourceFile
                , Properties.CommandNames.FileJavaScriptShowDifferenceReferencesAndDependencyXmlCommand
                );
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFileSingle.CreateSource();

            InstanceCode = new JavaScriptUpdateEntityMetadataFileWithSelectCommand(
                commandService
                , PackageIds.guidCommandSet.CodeJavaScriptUpdateEntityMetadataFileWithSelectCommandId
                , sourceCode
                , Properties.CommandNames.CodeJavaScriptUpdateEntityMetadataFileWithSelectCommand
                );

            InstanceFile = new JavaScriptUpdateEntityMetadataFileWithSelectCommand(
                commandService
                , PackageIds.guidCommandSet.FileJavaScriptUpdateEntityMetadataFileWithSelectCommandId
                , sourceFile
                , Properties.CommandNames.FileJavaScriptUpdateEntityMetadataFileWithSelectCommand
                );
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFileSingle.CreateSource();

            InstanceCode = new CSharpAddPluginStepCommand(
                commandService
                , PackageIds.guidCommandSet.CodeCSharpAddPluginStepCommandId
                , sourceCode
                , Properties.CommandNames.CodeCSharpAddPluginStepCommand
                );

            InstanceFile = new CSharpAddPluginStepCommand(
                commandService
                , PackageIds.guidCommandSet.FileCSharpAddPluginStepCommandId
                , sourceFile
                , Properties.CommandNames.FileCSharpAddPluginStepCommand
                );
        }
예제 #25
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFileSingle.CreateSource();

            InstanceCode = new WebResourceExplorerCommand(
                commandService
                , PackageIds.guidCommandSet.CodeWebResourceExplorerCommandId
                , sourceCode
                , Properties.CommandNames.CodeWebResourceExplorerCommand
                );

            InstanceFile = new WebResourceExplorerCommand(
                commandService
                , PackageIds.guidCommandSet.FileWebResourceExplorerCommandId
                , sourceFile
                , Properties.CommandNames.FileWebResourceExplorerCommand
                );
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFileSingle.CreateSource();

            InstanceCode = new WebResourceOrganizationComparerCommand(
                commandService
                , PackageIds.guidDynamicConnectionPairCommandSet.CodeWebResourceOrganizationComparerCommandId
                , Properties.CommandNames.ShowDifferenceTwoConnectionsCommandFormat2
                , sourceCode
                );

            InstanceFile = new WebResourceOrganizationComparerCommand(
                commandService
                , PackageIds.guidDynamicConnectionPairCommandSet.FileWebResourceOrganizationComparerCommandId
                , Properties.CommandNames.ShowDifferenceTwoConnectionsCommandFormat2
                , sourceFile
                );
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new JavaScriptIncludeReferencesToLinkedSystemFormCommand(
                commandService
                , PackageIds.guidCommandSet.CodeJavaScriptIncludeReferencesToLinkedSystemFormCommandId
                , sourceCode
                , Properties.CommandNames.CodeJavaScriptIncludeReferencesToLinkedSystemFormCommand
                );

            InstanceDocuments = new JavaScriptIncludeReferencesToLinkedSystemFormCommand(
                commandService
                , PackageIds.guidCommandSet.DocumentsJavaScriptIncludeReferencesToLinkedSystemFormCommandId
                , sourceDocuments
                , Properties.CommandNames.DocumentsJavaScriptIncludeReferencesToLinkedSystemFormCommand
                );

            InstanceFile = new JavaScriptIncludeReferencesToLinkedSystemFormCommand(
                commandService
                , PackageIds.guidCommandSet.FileJavaScriptIncludeReferencesToLinkedSystemFormCommandId
                , sourceFile
                , Properties.CommandNames.FileJavaScriptIncludeReferencesToLinkedSystemFormCommand
                );

            InstanceFolder = new JavaScriptIncludeReferencesToLinkedSystemFormCommand(
                commandService
                , PackageIds.guidCommandSet.FolderJavaScriptIncludeReferencesToLinkedSystemFormCommandId
                , sourceFolder
                , Properties.CommandNames.FolderJavaScriptIncludeReferencesToLinkedSystemFormCommand
                );
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceDocuments = new WebResourceCompareInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.DocumentsWebResourceCompareInConnectionGroupCommandId, sourceDocuments, false);

            InstanceFile = new WebResourceCompareInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.FileWebResourceCompareInConnectionGroupCommandId, sourceFile, false);

            InstanceFolder = new WebResourceCompareInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.FolderWebResourceCompareInConnectionGroupCommandId, sourceFolder, false);

            InstanceWithDetailsCode = new WebResourceCompareInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.CodeWebResourceCompareWithDetailsInConnectionGroupCommandId, sourceCode, true);

            InstanceWithDetailsDocuments = new WebResourceCompareInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.DocumentsWebResourceCompareWithDetailsInConnectionGroupCommandId, sourceDocuments, true);

            InstanceWithDetailsFile = new WebResourceCompareInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.FileWebResourceCompareWithDetailsInConnectionGroupCommandId, sourceFile, true);

            InstanceWithDetailsFolder = new WebResourceCompareInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.FolderWebResourceCompareWithDetailsInConnectionGroupCommandId, sourceFolder, true);
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCodeOpenDependentComponentsInWebInConnection = new CSharpProjectPluginTypeActionOnComponentInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeCSharpProjectPluginTypeOpenDependentInWebInConnectionCommandId
                , sourceCode
                , ActionOnComponent.OpenDependentComponentsInWeb
                );

            InstanceCodeOpenDependentComponentsInExplorerInConnection = new CSharpProjectPluginTypeActionOnComponentInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeCSharpProjectPluginTypeOpenDependentInExplorerInConnectionCommandId
                , sourceCode
                , ActionOnComponent.OpenDependentComponentsInExplorer
                );

            InstanceCodeOpenSolutionsListWithComponentInExplorerInConnection = new CSharpProjectPluginTypeActionOnComponentInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeCSharpProjectPluginTypeOpenSolutionsListWithComponentInExplorerInConnectionCommandId
                , sourceCode
                , ActionOnComponent.OpenSolutionsListWithComponentInExplorer
                );



            InstanceDocumentsOpenDependentComponentsInWebInConnection = new CSharpProjectPluginTypeActionOnComponentInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.DocumentsCSharpProjectPluginTypeOpenDependentInWebInConnectionCommandId
                , sourceDocuments
                , ActionOnComponent.OpenDependentComponentsInWeb
                );

            InstanceDocumentsOpenDependentComponentsInExplorerInConnection = new CSharpProjectPluginTypeActionOnComponentInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.DocumentsCSharpProjectPluginTypeOpenDependentInExplorerInConnectionCommandId
                , sourceDocuments
                , ActionOnComponent.OpenDependentComponentsInExplorer
                );

            InstanceDocumentsOpenSolutionsListWithComponentInExplorerInConnection = new CSharpProjectPluginTypeActionOnComponentInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.DocumentsCSharpProjectPluginTypeOpenSolutionsListWithComponentInExplorerInConnectionCommandId
                , sourceDocuments
                , ActionOnComponent.OpenSolutionsListWithComponentInExplorer
                );



            InstanceFileOpenDependentComponentsInWebInConnection = new CSharpProjectPluginTypeActionOnComponentInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileCSharpProjectPluginTypeOpenDependentInWebInConnectionCommandId
                , sourceFile
                , ActionOnComponent.OpenDependentComponentsInWeb
                );

            InstanceFileOpenDependentComponentsInExplorerInConnection = new CSharpProjectPluginTypeActionOnComponentInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileCSharpProjectPluginTypeOpenDependentInExplorerInConnectionCommandId
                , sourceFile
                , ActionOnComponent.OpenDependentComponentsInExplorer
                );

            InstanceFileOpenSolutionsListWithComponentInExplorerInConnection = new CSharpProjectPluginTypeActionOnComponentInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileCSharpProjectPluginTypeOpenSolutionsListWithComponentInExplorerInConnectionCommandId
                , sourceFile
                , ActionOnComponent.OpenSolutionsListWithComponentInExplorer
                );



            InstanceOpenDependentComponentsInWebInConnection = new CSharpProjectPluginTypeActionOnComponentInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FolderCSharpProjectPluginTypeOpenDependentInWebInConnectionCommandId
                , sourceFolder
                , ActionOnComponent.OpenDependentComponentsInWeb
                );

            InstanceOpenDependentComponentsInExplorerInConnection = new CSharpProjectPluginTypeActionOnComponentInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FolderCSharpProjectPluginTypeOpenDependentInExplorerInConnectionCommandId
                , sourceFolder
                , ActionOnComponent.OpenDependentComponentsInExplorer
                );

            InstanceOpenSolutionsListWithComponentInExplorerInConnection = new CSharpProjectPluginTypeActionOnComponentInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FolderCSharpProjectPluginTypeOpenSolutionsListWithComponentInExplorerInConnectionCommandId
                , sourceFolder
                , ActionOnComponent.OpenSolutionsListWithComponentInExplorer
                );
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCodeEntityDescription = new CSharpProjectPluginTypeActionOnComponentInConnectionWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeCSharpProjectPluginTypeCreateEntityDescriptionInConnectionCommandId
                , sourceCode
                , ActionOnComponent.EntityDescription
                );

            InstanceCodeGetCustomWorkflowActivityInfo = new CSharpProjectPluginTypeActionOnComponentInConnectionWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeCSharpProjectPluginTypeGetCustomWorkflowActivityInfoInConnectionCommandId
                , sourceCode
                , ActionOnComponent.SingleXmlField
                , PluginType.Schema.Attributes.customworkflowactivityinfo
                , PluginType.Schema.Headers.customworkflowactivityinfo
                );

            InstanceCodeDescription = new CSharpProjectPluginTypeActionOnComponentInConnectionWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeCSharpProjectPluginTypeCreateDescriptionInConnectionCommandId
                , sourceCode
                , ActionOnComponent.Description
                );



            InstanceDocumentsEntityDescription = new CSharpProjectPluginTypeActionOnComponentInConnectionWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.DocumentsCSharpProjectPluginTypeCreateEntityDescriptionInConnectionCommandId
                , sourceDocuments
                , ActionOnComponent.EntityDescription
                );

            InstanceDocumentsGetCustomWorkflowActivityInfo = new CSharpProjectPluginTypeActionOnComponentInConnectionWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.DocumentsCSharpProjectPluginTypeGetCustomWorkflowActivityInfoInConnectionCommandId
                , sourceDocuments
                , ActionOnComponent.SingleXmlField
                , PluginType.Schema.Attributes.customworkflowactivityinfo
                , PluginType.Schema.Headers.customworkflowactivityinfo
                );

            InstanceDocumentsDescription = new CSharpProjectPluginTypeActionOnComponentInConnectionWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.DocumentsCSharpProjectPluginTypeCreateDescriptionInConnectionCommandId
                , sourceDocuments
                , ActionOnComponent.Description
                );



            InstanceFileEntityDescription = new CSharpProjectPluginTypeActionOnComponentInConnectionWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileCSharpProjectPluginTypeCreateEntityDescriptionInConnectionCommandId
                , sourceFile
                , ActionOnComponent.EntityDescription
                );

            InstanceFileGetCustomWorkflowActivityInfo = new CSharpProjectPluginTypeActionOnComponentInConnectionWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileCSharpProjectPluginTypeGetCustomWorkflowActivityInfoInConnectionCommandId
                , sourceFile
                , ActionOnComponent.SingleXmlField
                , PluginType.Schema.Attributes.customworkflowactivityinfo
                , PluginType.Schema.Headers.customworkflowactivityinfo
                );

            InstanceFileDescription = new CSharpProjectPluginTypeActionOnComponentInConnectionWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileCSharpProjectPluginTypeCreateDescriptionInConnectionCommandId
                , sourceFile
                , ActionOnComponent.Description
                );



            InstanceFolderEntityDescription = new CSharpProjectPluginTypeActionOnComponentInConnectionWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FolderCSharpProjectPluginTypeCreateEntityDescriptionInConnectionCommandId
                , sourceFolder
                , ActionOnComponent.EntityDescription
                );

            InstanceFolderGetCustomWorkflowActivityInfo = new CSharpProjectPluginTypeActionOnComponentInConnectionWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FolderCSharpProjectPluginTypeGetCustomWorkflowActivityInfoInConnectionCommandId
                , sourceFolder
                , ActionOnComponent.SingleXmlField
                , PluginType.Schema.Attributes.customworkflowactivityinfo
                , PluginType.Schema.Headers.customworkflowactivityinfo
                );

            InstanceFolderDescription = new CSharpProjectPluginTypeActionOnComponentInConnectionWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FolderCSharpProjectPluginTypeCreateDescriptionInConnectionCommandId
                , sourceFolder
                , ActionOnComponent.Description
                );
        }