title: Writing Visual Studio 2010 Plugin, would like to show a toolbox like Resharper in code editor
body: <p>I would like to write a plugin for Visual Studio 2010 but in fact I face some problems. What I want to do seems easy, I would like that a little toolbox appears when selecting the text in code editor like in Resharper (little pen with menu that helps in refactoring) or like here:</p>
  
  <p><a href="http://www.axtools.com/products-vs2010-extensions.php?tab=selection-popup" rel="noreferrer">http://www.axtools.com/products-vs2010-extensions.php?tab=selection-popup</a></p>
  
  <p>I would like to know : </p>
  
  <ol>
  <li><p>Is there anu Visual Studio template that helps to start ? I try with "Editor Viewport Adornment" but I'm not sure of that.</p></li>
  <li><p>Should I desing from start the toolbox or I can show some buttons from system toolbox ? In axtools plugin from the link it's a custom made toolbox or system one ?</p></li>
  <li><p>How to detect that a text was selected?</p></li>
  </ol>
  
  <p>I have no more questions for the moment. I'm rather web developer so writing a visual studio plugin it's a new thing for me.</p>
  
  <p>Thanks in advance.</p>