Exemplo n.º 1
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
                );
        }
Exemplo n.º 3
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);
        }
Exemplo n.º 4
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
                );
        }
Exemplo n.º 5
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFileSingle.CreateSource();

            InstanceCode = new ReportLinkCreateCommand(
                commandService
                , PackageIds.guidCommandSet.CodeReportLinkCreateCommandId
                , sourceCode
                );

            InstanceFile = new ReportLinkCreateCommand(
                commandService
                , PackageIds.guidCommandSet.FileReportLinkCreateCommandId
                , sourceFile
                );
        }
        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
                );
        }
Exemplo n.º 7
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
                );
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFileSingle.CreateSource();

            InstanceCode = new JavaScriptUpdateGlobalOptionSetAllFileCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeJavaScriptUpdateGlobalOptionSetAllFileCommandId
                , sourceCode
                );

            InstanceFile = new JavaScriptUpdateGlobalOptionSetAllFileCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileJavaScriptUpdateGlobalOptionSetAllFileCommandId
                , sourceFile
                );
        }
        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
                );
        }
Exemplo n.º 10
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 JavaScriptUpdateEntityMetadataFileWithSelectCommand(
                commandService
                , PackageIds.guidCommandSet.CodeJavaScriptUpdateEntityMetadataFileWithSelectCommandId
                , sourceCode
                , Properties.CommandNames.CodeJavaScriptUpdateEntityMetadataFileWithSelectCommand
                );

            InstanceFile = new JavaScriptUpdateEntityMetadataFileWithSelectCommand(
                commandService
                , PackageIds.guidCommandSet.FileJavaScriptUpdateEntityMetadataFileWithSelectCommandId
                , sourceFile
                , Properties.CommandNames.FileJavaScriptUpdateEntityMetadataFileWithSelectCommand
                );
        }
Exemplo n.º 12
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 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 sourceFileSingle = FileSourceSelectedFileSingle.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new JavaScriptFileGenerationOptionsCommand(commandService, PackageIds.guidCommandSet.CodeJavaScriptFileGenerationOptionsCommandId, sourceCode);

            InstanceDocuments = new JavaScriptFileGenerationOptionsCommand(commandService, PackageIds.guidCommandSet.DocumentsJavaScriptFileGenerationOptionsCommandId, sourceDocuments);

            InstanceFile = new JavaScriptFileGenerationOptionsCommand(commandService, PackageIds.guidCommandSet.FileJavaScriptFileGenerationOptionsCommandId, sourceFile);

            InstanceFileSingle = new JavaScriptFileGenerationOptionsCommand(commandService, PackageIds.guidCommandSet.FileJavaScriptFileGenerationOptionsSingleCommandId, sourceFileSingle);

            InstanceFolder = new JavaScriptFileGenerationOptionsCommand(commandService, PackageIds.guidCommandSet.FolderJavaScriptFileGenerationOptionsCommandId, sourceFolder);
        }