Package com._1c.g5.v8.dt.bsl.ui.view
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 aBrowserInput
using anString
as input.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getActualTypeSetInformation()
Gets actualTypeSet
names and their including types.Version
getActualVersion()
ActualVersion
of project corresponding to content oforg.eclipse.jface.internal.text.html.BrowserInpu
Object
getInputElement()
String
getInputName()
String
getMethodicalLink()
Gets url to methodical information
-
-
-
Constructor Detail
-
TextBrowserInput
public TextBrowserInput(org.eclipse.jface.internal.text.html.BrowserInput previous, String html, Version version, Map<String,String> typeSetNames, String methodicalLink)
Constructor- Parameters:
previous
- lastBrowserInput
, can benull
html
- actual html text, can't benull
version
- actualVersion
of project, can benull
if version wasn't determinatetypeSetNames
- 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 benull
methodicalLink
- url to methodical information, can't benull
, if there is no methodical information using empty string
-
-
Method Detail
-
getInputElement
public Object getInputElement()
- Specified by:
getInputElement
in classorg.eclipse.jface.internal.text.html.BrowserInput
-
getInputName
public String getInputName()
- Specified by:
getInputName
in classorg.eclipse.jface.internal.text.html.BrowserInput
-
getActualVersion
public Version getActualVersion()
Description copied from interface:BslInfoView.IVersionedBrowserInput
ActualVersion
of project corresponding to content oforg.eclipse.jface.internal.text.html.BrowserInpu
- Specified by:
getActualVersion
in interfaceBslInfoView.IVersionedBrowserInput
- Returns:
- Actual
Version
of project, can benull
if version wasn't determinate
-
getActualTypeSetInformation
public Map<String,String> getActualTypeSetInformation()
Description copied from interface:BslInfoView.ITypeSetBrowserInput
Gets actualTypeSet
names and their including types.- Specified by:
getActualTypeSetInformation
in interfaceBslInfoView.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.
Nevernull
-
getMethodicalLink
public String getMethodicalLink()
Description copied from interface:BslInfoView.IMethodicalBrowserInput
Gets url to methodical information- Specified by:
getMethodicalLink
in interfaceBslInfoView.IMethodicalBrowserInput
- Returns:
- url to methodical information, never
null
. Can be empty string if there is no link to methodical information
-
-