Package com._1c.g5.v8.dt.bsl.ui.hover
Class BslEObjectHoverProvider
- java.lang.Object
-
- org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
-
- com._1c.g5.v8.dt.bsl.ui.hover.BslEObjectHoverProvider
-
- All Implemented Interfaces:
org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider
public class BslEObjectHoverProvider extends org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
Hover for objects in BSL
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
BslEObjectHoverProvider.BslBrowserInput
SpecialXtextBrowserInformationControlInput
class
BslEObjectHoverProvider.BslHoverLocationListener
SpecialLocationListener
for hover in BSLclass
BslEObjectHoverProvider.BslPresenterControlCreator
SpecialDefaultEObjectHoverProvider.PresenterControlCreator
for BSL-
Nested classes/interfaces inherited from class org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider.BackAction, org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider.ForwardAction, org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider.HoverControlCreator, org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider.OpenDeclarationAction, org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider.PresenterControlCreator
-
-
Constructor Summary
Constructors Constructor Description BslEObjectHoverProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addLinkListener(org.eclipse.xtext.ui.editor.hover.html.IXtextBrowserInformationControl control)
add specialLocationListener
for hover in BSLprotected org.eclipse.xtext.ui.editor.hover.html.XtextBrowserInformationControlInput
getHoverInfo(org.eclipse.emf.ecore.EObject element, org.eclipse.jface.text.IRegion hoverRegion, org.eclipse.xtext.ui.editor.hover.html.XtextBrowserInformationControlInput previous)
org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider.IInformationControlCreatorProvider
getHoverInfo(org.eclipse.emf.ecore.EObject object, org.eclipse.jface.text.ITextViewer viewer, org.eclipse.jface.text.IRegion region)
protected String
getHoverInfoAsHtml(org.eclipse.emf.ecore.EObject object)
Hover for environments in BSL language objectorg.eclipse.jface.text.IInformationControlCreator
getInformationPresenterControlCreator()
protected boolean
hasHover(org.eclipse.emf.ecore.EObject object)
protected String
loadStyleSheet()
-
-
-
Method Detail
-
getInformationPresenterControlCreator
public org.eclipse.jface.text.IInformationControlCreator getInformationPresenterControlCreator()
- Overrides:
getInformationPresenterControlCreator
in classorg.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
-
getHoverInfoAsHtml
protected String getHoverInfoAsHtml(org.eclipse.emf.ecore.EObject object)
Hover for environments in BSL language object- Overrides:
getHoverInfoAsHtml
in classorg.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
-
getHoverInfo
protected org.eclipse.xtext.ui.editor.hover.html.XtextBrowserInformationControlInput getHoverInfo(org.eclipse.emf.ecore.EObject element, org.eclipse.jface.text.IRegion hoverRegion, org.eclipse.xtext.ui.editor.hover.html.XtextBrowserInformationControlInput previous)
- Overrides:
getHoverInfo
in classorg.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
-
addLinkListener
protected void addLinkListener(org.eclipse.xtext.ui.editor.hover.html.IXtextBrowserInformationControl control)
add specialLocationListener
for hover in BSL- Overrides:
addLinkListener
in classorg.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
-
hasHover
protected boolean hasHover(org.eclipse.emf.ecore.EObject object)
- Overrides:
hasHover
in classorg.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
-
loadStyleSheet
protected String loadStyleSheet()
- Overrides:
loadStyleSheet
in classorg.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
-
getHoverInfo
public org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider.IInformationControlCreatorProvider getHoverInfo(org.eclipse.emf.ecore.EObject object, org.eclipse.jface.text.ITextViewer viewer, org.eclipse.jface.text.IRegion region)
- Specified by:
getHoverInfo
in interfaceorg.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider
- Overrides:
getHoverInfo
in classorg.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
-
-