Class BslEObjectHoverProvider.BslHoverLocationListener

  • All Implemented Interfaces:
    EventListener, org.eclipse.swt.browser.LocationListener, org.eclipse.swt.internal.SWTEventListener
    Enclosing class:
    BslEObjectHoverProvider

    public class BslEObjectHoverProvider.BslHoverLocationListener
    extends BslLocationListener
    Special LocationListener for hover in BSL
    • Constructor Detail

      • BslHoverLocationListener

        public BslHoverLocationListener​(org.eclipse.xtext.ui.editor.hover.html.IXtextBrowserInformationControl control,
                                        BslDocumentationProvider documentation)
        Initialize by IXtextBrowserInformationControl
        Parameters:
        control -
        documentation - needs for getting documentation from {2link URL}
    • Method Detail

      • getActualTypeSetInformationFromBrowserInput

        public Map<String,​String> getActualTypeSetInformationFromBrowserInput()
        Description copied from class: BslLocationListener
        Gets actual TypeSet names and their including types.
        Overrides:
        getActualTypeSetInformationFromBrowserInput in class BslLocationListener
        Returns:
        the map, where key - name of the type category name (TypeSet name equals to category type name), value - names of the object which has type corresponding to the category type name in key of the map through the comma. At the end of the value you can find special symbol '#' and name of the base type after it.
        Attention for category "AnyRef" - the value is names of the type corresponding to the it through the comma. Also there is no special symbol '#' at the end.
        Never null
      • changing

        public void changing​(org.eclipse.swt.browser.LocationEvent event)
        Specified by:
        changing in interface org.eclipse.swt.browser.LocationListener
        Overrides:
        changing in class BslLocationListener
      • changed

        public void changed​(org.eclipse.swt.browser.LocationEvent event)
        Specified by:
        changed in interface org.eclipse.swt.browser.LocationListener
        Overrides:
        changed in class BslLocationListener