Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Interaction between editor and tool window

$
0
0

I want to create a personalized error list as a tool window (no, the standard one built in VS does not suffice). The scenario is:

  • User requests explicitly verification of data in editor;
  • Editor performs the verification and creates a report
  • The report is being transfered to a tool window (which should be earlier displayed)
  • Tool window presents the report in a nice way
  • When user doubleclicks a report item, the focus is transferred to the editor again to display the specific faulty part of my data.

The only way I currently can think of is to take advantage of the chain:

ToolWindow -> Package -> Factory -> Pane -> Editor/Document (and the other way).

This does not seem a good solution, because a lot classes on the way doesn't care about internal cooperation between editor and a toolwindow.

What is the proper way of solving this problem?


Viewing all articles
Browse latest Browse all 4410

Trending Articles