public GoToQueryFinalEventActionsExecutor GetFinalGoToQueryActionsExecutor(StatusBarIntegration statusBar, ToolWindowPane toolWindowPane, bool useNamespace)
 {
     return(GoToQueryFinalEventActionsExecutor
            .Create()
            .WithLogicHandler(typeof(Statement), new GoToXmlLogicHandler(statusBar, toolWindowPane))
            .WithQueryDataService(typeof(Statement), new XmlQueryDataService())
            .WithUseNamespace(useNamespace));
 }
 public RenameFinalActionsExecutor GetFinalRenameQueryActionsExecutor(StatusBarIntegration statusBar, ToolWindowPane toolWindowPane, DTE2 dte, VisualStudioWorkspace workspace)
 {
     return(RenameFinalActionsExecutor
            .Create()
            .WithQueryDataService(typeof(CSharpQuery), new CodeQueryDataService())
            .WithQueryDataService(typeof(Statement), new XmlQueryDataService())
            .WithCodeLogicHandler(new RenameCodeLogicHandler())
            .WithXmlLogicHandler(new RenameXmlLogicHandler())
            .WithEnvDte(dte)
            .WithWorkspace(workspace));
 }
Ejemplo n.º 3
0
 protected GoToBaseLogicHandler(StatusBarIntegration statusBar, ToolWindowPane toolWindowPane)
 {
     StatusBar      = statusBar;
     ToolWindowPane = toolWindowPane;
 }
 public GoToXmlLogicHandler(StatusBarIntegration statusBar, ToolWindowPane toolWindowPane) : base(statusBar, toolWindowPane)
 {
 }
 public RenameFinalActionsExecutor GetFinalRenameQueryActionsExecutor(StatusBarIntegration statusBar, ToolWindowPane toolWindowPane, DTE2 dte, VisualStudioWorkspace workspace)
 {
     return(null);
 }
Ejemplo n.º 6
0
 protected BaseActions(IVsTextManager textManager, IVsEditorAdaptersFactoryService editorAdapersFactory, StatusBarIntegration statusBar)
 {
     _textManager           = textManager;
     _editorAdaptersFactory = editorAdapersFactory;
     StatusBar = statusBar;
 }
Ejemplo n.º 7
0
 protected BaseActions(IVsTextManager textManager, IVsEditorAdaptersFactoryService editorAdapersFactory, StatusBarIntegration statusBar, Lazy <ToolWindowPane> commandWindowLazy)
     : this(textManager, editorAdapersFactory, statusBar)
 {
     _commandWindowLazy = commandWindowLazy;
 }