Interface IHoverContentProvider


public interface IHoverContentProvider
  • Method Summary

    Modifier and Type Method Description
    Object getContent​(Object origin, Object detail)  
    void populateToolbar​(org.eclipse.jface.internal.text.html.BrowserInformationControl control, org.eclipse.jface.action.ToolBarManager toolBarManager)
    Callback allowing to populate the popup toolbar
  • Method Details

    • getContent

      Object getContent​(Object origin, Object detail)
      Parameters:
      origin - element that triggered the hover action
      detail - detail on the hover action. The content of this parameter depends on the type of the origin object. May be null.
      Returns:
      html content as string or a BrowserInformationControlInput
    • populateToolbar

      void populateToolbar​(org.eclipse.jface.internal.text.html.BrowserInformationControl control, org.eclipse.jface.action.ToolBarManager toolBarManager)
      Callback allowing to populate the popup toolbar
      Parameters:
      control - browser control
      toolBarManager - toolbar being populated