Class BslInfoView.TextBrowserInput

java.lang.Object
org.eclipse.jface.internal.text.html.BrowserInput
com._1c.g5.v8.dt.bsl.ui.view.BslInfoView.TextBrowserInput
All Implemented Interfaces:
BslInfoView.IMethodicalBrowserInput, BslInfoView.ITypeSetBrowserInput, BslInfoView.IVersionedBrowserInput
Enclosing class:
BslInfoView

public static class BslInfoView.TextBrowserInput extends org.eclipse.jface.internal.text.html.BrowserInput implements BslInfoView.IVersionedBrowserInput, BslInfoView.ITypeSetBrowserInput, BslInfoView.IMethodicalBrowserInput
Implementation of a BrowserInput using an String as input.
  • Constructor Details

    • TextBrowserInput

      public TextBrowserInput(org.eclipse.jface.internal.text.html.BrowserInput previous, String html, Version version, Map<String,String> typeSetNames, String methodicalLink)
      Constructor
      Parameters:
      previous - last BrowserInput, can be null
      html - actual html text, can't be null
      version - actual Version of project, can be null if version wasn't determinate
      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
      methodicalLink - url to methodical information, can't be null, if there is no methodical information using empty string
  • Method Details

    • getInputElement

      public Object getInputElement()
      Specified by:
      getInputElement in class org.eclipse.jface.internal.text.html.BrowserInput
    • getInputName

      public String getInputName()
      Specified by:
      getInputName in class org.eclipse.jface.internal.text.html.BrowserInput
    • 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
    • getMethodicalLink

      public String getMethodicalLink()
      Description copied from interface: BslInfoView.IMethodicalBrowserInput
      Gets url to methodical information
      Specified by:
      getMethodicalLink in interface BslInfoView.IMethodicalBrowserInput
      Returns:
      url to methodical information, never null. Can be empty string if there is no link to methodical information