Class HelpHoverProvider

java.lang.Object
org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
org.yakindu.base.utils.jface.help.HelpHoverProvider
All Implemented Interfaces:
org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider

public class HelpHoverProvider extends org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
Removes the first line, since the documentation already contains a header. It also removes the open declaration action
  • Field Details

    • fontSymbolicName

      @Inject(optional=true) protected String fontSymbolicName
    • hoverControlCreator

      protected HelpHoverProvider.CustomHoverControlCreator hoverControlCreator
    • presenterControlCreator

      protected org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider.PresenterControlCreator presenterControlCreator
    • openExternalDocumentationAction

      @Inject protected HelpHoverProvider.OpenInHelpAction openExternalDocumentationAction
    • styleSheetProvider

      @Inject(optional=true) protected IStylesheetProvider styleSheetProvider
  • Constructor Details

    • HelpHoverProvider

      public HelpHoverProvider()
  • Method Details

    • loadStyleSheet

      protected String loadStyleSheet()
      Overrides:
      loadStyleSheet in class org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
    • hasHover

      protected boolean hasHover(EObject o)
      Overrides:
      hasHover in class org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
    • getHoverInfoAsHtml

      protected String getHoverInfoAsHtml(EObject o)
      Overrides:
      getHoverInfoAsHtml in class org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
    • getInformationPresenterControlCreator

      public IInformationControlCreator getInformationPresenterControlCreator()
      Overrides:
      getInformationPresenterControlCreator in class org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
    • getHoverControlCreator

      public IInformationControlCreator getHoverControlCreator()
      Overrides:
      getHoverControlCreator in class org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider