Package com._1c.g5.v8.dt.bsl.ui.hover
Class BslDispatchingEObjectTextHover
- java.lang.Object
-
- org.eclipse.xtext.ui.editor.hover.AbstractHover
-
- org.eclipse.xtext.ui.editor.hover.AbstractEObjectHover
-
- org.eclipse.xtext.ui.editor.hover.DispatchingEObjectTextHover
-
- com._1c.g5.v8.dt.bsl.ui.hover.BslDispatchingEObjectTextHover
-
- All Implemented Interfaces:
org.eclipse.jface.text.ITextHover
,org.eclipse.jface.text.ITextHoverExtension
,org.eclipse.jface.text.ITextHoverExtension2
,org.eclipse.xtext.ui.editor.hover.IEObjectHover
,org.eclipse.xtext.ui.editor.ISourceViewerAware
public class BslDispatchingEObjectTextHover extends org.eclipse.xtext.ui.editor.hover.DispatchingEObjectTextHover
Optimized EObjectTextHover. Doesn't freezes the UI.This implementation is aware of
FakeCtor
-
-
Constructor Summary
Constructors Constructor Description BslDispatchingEObjectTextHover()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.jface.text.IInformationControlCreator
getHoverControlCreator()
Object
getHoverInfo(org.eclipse.emf.ecore.EObject first, org.eclipse.jface.text.ITextViewer textViewer, org.eclipse.jface.text.IRegion hoverRegion)
Object
getHoverInfo2(org.eclipse.jface.text.ITextViewer textViewer, org.eclipse.jface.text.IRegion hoverRegion)
org.eclipse.jface.text.IRegion
getHoverRegion(org.eclipse.jface.text.ITextViewer textViewer, int offset)
protected org.eclipse.xtext.util.Pair<org.eclipse.emf.ecore.EObject,org.eclipse.jface.text.IRegion>
getXtextElementAt(org.eclipse.xtext.resource.XtextResource resource, int offset)
-
Methods inherited from class org.eclipse.xtext.ui.editor.hover.DispatchingEObjectTextHover
getHoverInfo
-
Methods inherited from class org.eclipse.xtext.ui.editor.hover.AbstractEObjectHover
getXtextElementAt
-
-
-
-
Method Detail
-
getHoverRegion
public org.eclipse.jface.text.IRegion getHoverRegion(org.eclipse.jface.text.ITextViewer textViewer, int offset)
- Specified by:
getHoverRegion
in interfaceorg.eclipse.jface.text.ITextHover
- Overrides:
getHoverRegion
in classorg.eclipse.xtext.ui.editor.hover.AbstractEObjectHover
-
getHoverInfo2
public Object getHoverInfo2(org.eclipse.jface.text.ITextViewer textViewer, org.eclipse.jface.text.IRegion hoverRegion)
- Specified by:
getHoverInfo2
in interfaceorg.eclipse.jface.text.ITextHoverExtension2
- Overrides:
getHoverInfo2
in classorg.eclipse.xtext.ui.editor.hover.AbstractEObjectHover
-
getHoverInfo
public Object getHoverInfo(org.eclipse.emf.ecore.EObject first, org.eclipse.jface.text.ITextViewer textViewer, org.eclipse.jface.text.IRegion hoverRegion)
- Specified by:
getHoverInfo
in interfaceorg.eclipse.xtext.ui.editor.hover.IEObjectHover
- Overrides:
getHoverInfo
in classorg.eclipse.xtext.ui.editor.hover.DispatchingEObjectTextHover
-
getHoverControlCreator
public org.eclipse.jface.text.IInformationControlCreator getHoverControlCreator()
- Specified by:
getHoverControlCreator
in interfaceorg.eclipse.jface.text.ITextHoverExtension
- Overrides:
getHoverControlCreator
in classorg.eclipse.xtext.ui.editor.hover.DispatchingEObjectTextHover
-
getXtextElementAt
protected org.eclipse.xtext.util.Pair<org.eclipse.emf.ecore.EObject,org.eclipse.jface.text.IRegion> getXtextElementAt(org.eclipse.xtext.resource.XtextResource resource, int offset)
- Overrides:
getXtextElementAt
in classorg.eclipse.xtext.ui.editor.hover.AbstractEObjectHover
-
-