Package com._1c.g5.v8.dt.bsl.ui.hover
Class BslHoverBrowserInput
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.internal.bsl.ui.browserscommon.BslBrowserInformationControlInput
com._1c.g5.v8.dt.bsl.ui.hover.BslHoverBrowserInput
A browser input for Built-in language editor hover browser.
-
Constructor Summary
ConstructorsConstructorDescriptionBslHoverBrowserInput(BslHoverBrowserInput previous, BslDocumentationPageGroup<? extends IBslDocumentationHoverPage> pageGroup, int index) Constructor. -
Method Summary
Methods inherited from class com._1c.g5.v8.dt.internal.bsl.ui.browserscommon.BslBrowserInformationControlInput
addStyleToHtml, getHtml, getIndex, getNext, hideNext, restoreNext, setIndexMethods inherited from class org.eclipse.xtext.ui.editor.hover.html.XtextBrowserInformationControlInput
getElement, getInputElement, getLeadingImageWidthMethods inherited from class org.eclipse.jface.internal.text.html.BrowserInformationControlInput
toStringMethods inherited from class org.eclipse.jface.internal.text.html.BrowserInput
getPrevious
-
Constructor Details
-
BslHoverBrowserInput
public BslHoverBrowserInput(BslHoverBrowserInput previous, BslDocumentationPageGroup<? extends IBslDocumentationHoverPage> pageGroup, int index) Constructor.- Parameters:
previous- history previous input, can't benullpageGroup- hover page group, can't benullindex- initial index of displayed hover page in index. Should be >= 0 and <pageGroupsize.
-
-
Method Details
-
getActualVersion
Gets actual page version.- Returns:
- version. Never
null
-
getInputName
- Overrides:
getInputNamein classorg.eclipse.xtext.ui.editor.hover.html.XtextBrowserInformationControlInput
-
getViewPage
Gets page.- Specified by:
getViewPagein classBslBrowserInformationControlInput- Returns:
- page. May be
nullif no pages
-
getSearchQuery
Gets search query.- Returns:
- search query. May be
null
-
getHoverPage
Gets hover page.- Returns:
- hover page. Never
null
-
getVersion
Description copied from class:BslBrowserInformationControlInputGets current page platform version.- Specified by:
getVersionin classBslBrowserInformationControlInput- Returns:
- platform version. May be
nullif no subpage opened
-
getSize
protected int getSize()Description copied from class:BslBrowserInformationControlInputGets pages size.- Specified by:
getSizein classBslBrowserInformationControlInput- Returns:
- size of the page group. Always >= 0
-
getHeadingContentHtml
Description copied from class:BslBrowserInformationControlInputGets heading content html. This content will be in the top of the page directly ifBslBrowserInformationControlInput.getSize()<= 1 and wiil be in right of subpage counter ifBslBrowserInformationControlInput.getSize()> 1. Should be contains only string html nodes.- Specified by:
getHeadingContentHtmlin classBslBrowserInformationControlInput- Returns:
- heading content html text. Never
null
-
getContentHtml
Description copied from class:BslBrowserInformationControlInputGets content html. This content will be immedately after heading line.- Specified by:
getContentHtmlin classBslBrowserInformationControlInput- Returns:
- content html text. Never
null
-