Class BslEObjectHoverProvider

  • All Implemented Interfaces:
    org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider

    public class BslEObjectHoverProvider
    extends org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
    Hover for objects in BSL
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      class  BslEObjectHoverProvider.BslBrowserInput
      Special XtextBrowserInformationControlInput
      class  BslEObjectHoverProvider.BslHoverLocationListener
      Special LocationListener for hover in BSL
      class  BslEObjectHoverProvider.BslPresenterControlCreator
      Special DefaultEObjectHoverProvider.PresenterControlCreator for BSL
      • Nested classes/interfaces inherited from class org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider

        org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider.BackAction, org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider.ForwardAction, org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider.HoverControlCreator, org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider.OpenDeclarationAction, org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider.PresenterControlCreator
      • Nested classes/interfaces inherited from interface org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider

        org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider.IInformationControlCreatorProvider, org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider.IInformationControlCreatorProvider2
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addLinkListener​(org.eclipse.xtext.ui.editor.hover.html.IXtextBrowserInformationControl control)
      add special LocationListener for hover in BSL
      protected org.eclipse.xtext.ui.editor.hover.html.XtextBrowserInformationControlInput getHoverInfo​(org.eclipse.emf.ecore.EObject element, org.eclipse.jface.text.IRegion hoverRegion, org.eclipse.xtext.ui.editor.hover.html.XtextBrowserInformationControlInput previous)
      org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider.IInformationControlCreatorProvider getHoverInfo​(org.eclipse.emf.ecore.EObject object, org.eclipse.jface.text.ITextViewer viewer, org.eclipse.jface.text.IRegion region)  
      protected String getHoverInfoAsHtml​(org.eclipse.emf.ecore.EObject object)
      Hover for environments in BSL language object
      org.eclipse.jface.text.IInformationControlCreator getInformationPresenterControlCreator()
      protected boolean hasHover​(org.eclipse.emf.ecore.EObject object)  
      protected String loadStyleSheet()  
      • Methods inherited from class org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider

        addLinkListener, createURI, getDocumentation, getElementLinks, getFirstLine, getHoverControlCreator, getLabel, getLabelProvider, getStyleSheet
    • Constructor Detail

      • BslEObjectHoverProvider

        public BslEObjectHoverProvider()
    • Method Detail

      • getInformationPresenterControlCreator

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

        protected String getHoverInfoAsHtml​(org.eclipse.emf.ecore.EObject object)
        Hover for environments in BSL language object
        Overrides:
        getHoverInfoAsHtml in class org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
      • getHoverInfo

        protected org.eclipse.xtext.ui.editor.hover.html.XtextBrowserInformationControlInput getHoverInfo​(org.eclipse.emf.ecore.EObject element,
                                                                                                          org.eclipse.jface.text.IRegion hoverRegion,
                                                                                                          org.eclipse.xtext.ui.editor.hover.html.XtextBrowserInformationControlInput previous)
        Overrides:
        getHoverInfo in class org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
      • addLinkListener

        protected void addLinkListener​(org.eclipse.xtext.ui.editor.hover.html.IXtextBrowserInformationControl control)
        add special LocationListener for hover in BSL
        Overrides:
        addLinkListener in class org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
      • hasHover

        protected boolean hasHover​(org.eclipse.emf.ecore.EObject object)
        Overrides:
        hasHover in class org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
      • loadStyleSheet

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

        public org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider.IInformationControlCreatorProvider getHoverInfo​(org.eclipse.emf.ecore.EObject object,
                                                                                                                       org.eclipse.jface.text.ITextViewer viewer,
                                                                                                                       org.eclipse.jface.text.IRegion region)
        Specified by:
        getHoverInfo in interface org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider
        Overrides:
        getHoverInfo in class org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider