Class BslEObjectHoverProvider.BslBrowserInput

java.lang.Object
org.eclipse.jface.internal.text.html.BrowserInput
org.eclipse.jface.internal.text.html.BrowserInformationControlInput
org.eclipse.xtext.ui.editor.hover.html.XtextBrowserInformationControlInput
com._1c.g5.v8.dt.bsl.ui.hover.BslEObjectHoverProvider.BslBrowserInput
All Implemented Interfaces:
BslInfoView.ITypeSetBrowserInput, BslInfoView.IVersionedBrowserInput
Enclosing class:
BslEObjectHoverProvider

public class BslEObjectHoverProvider.BslBrowserInput extends org.eclipse.xtext.ui.editor.hover.html.XtextBrowserInformationControlInput implements BslInfoView.IVersionedBrowserInput, BslInfoView.ITypeSetBrowserInput
Special XtextBrowserInformationControlInput
  • Constructor Summary

    Constructors
    Constructor
    Description
    BslBrowserInput(org.eclipse.xtext.ui.editor.hover.html.XtextBrowserInformationControlInput input, String fullDoc, Version version, Map<String,String> typeSetNames)
    Initialize by full documentation
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets actual TypeSet names and their including types.
    Actual Version of project corresponding to content of org.eclipse.jface.internal.text.html.BrowserInpu
     

    Methods inherited from class org.eclipse.xtext.ui.editor.hover.html.XtextBrowserInformationControlInput

    getElement, getHtml, getInputElement, getInputName, getLeadingImageWidth

    Methods inherited from class org.eclipse.jface.internal.text.html.BrowserInformationControlInput

    toString

    Methods inherited from class org.eclipse.jface.internal.text.html.BrowserInput

    getNext, getPrevious

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • BslBrowserInput

      public BslBrowserInput(org.eclipse.xtext.ui.editor.hover.html.XtextBrowserInformationControlInput input, String fullDoc, Version version, Map<String,String> typeSetNames)
      Initialize by full documentation
      Parameters:
      input - XtextBrowserInformationControlInput, can't be null
      fullDoc - full documentation content, can't be null
      version - actual version of documentation, can't be null
      typeSetNames - 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.
      Can't be null
  • Method Details

    • getFullDoc

      public String getFullDoc()
    • getActualVersion

      public Version getActualVersion()
      Description copied from interface: BslInfoView.IVersionedBrowserInput
      Actual Version of project corresponding to content of org.eclipse.jface.internal.text.html.BrowserInpu
      Specified by:
      getActualVersion in interface BslInfoView.IVersionedBrowserInput
      Returns:
      Actual Version of project, can be null if version wasn't determinate
    • getActualTypeSetInformation

      public Map<String,String> getActualTypeSetInformation()
      Description copied from interface: BslInfoView.ITypeSetBrowserInput
      Gets actual TypeSet names and their including types.
      Specified by:
      getActualTypeSetInformation in interface BslInfoView.ITypeSetBrowserInput
      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