public class XtextInformationProvider
extends java.lang.Object
implements org.eclipse.jface.text.information.IInformationProvider, org.eclipse.jface.text.information.IInformationProviderExtension, org.eclipse.jface.text.information.IInformationProviderExtension2
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.emf.ecore.EObject |
contextObject |
protected org.eclipse.jface.text.IRegion |
contextRegion |
protected EObjectAtOffsetHelper |
eObjectAtOffsetHelper |
protected IEObjectHover |
hover |
protected IEObjectHoverProvider |
hoverProvider |
protected IGlobalServiceProvider |
serviceProvider |
protected org.eclipse.jface.text.ITextViewer |
textViewer |
Constructor and Description |
---|
XtextInformationProvider() |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.jface.text.IRegion |
computeRegion(org.eclipse.jface.text.ITextViewer textViewer,
int offset) |
java.lang.String |
getInformation(org.eclipse.jface.text.ITextViewer textViewer,
org.eclipse.jface.text.IRegion subject)
Deprecated.
|
java.lang.Object |
getInformation2(org.eclipse.jface.text.ITextViewer textViewer,
org.eclipse.jface.text.IRegion subject) |
org.eclipse.jface.text.IInformationControlCreator |
getInformationPresenterControlCreator() |
org.eclipse.jface.text.IRegion |
getSubject(org.eclipse.jface.text.ITextViewer textViewer,
int offset) |
@Inject protected IEObjectHover hover
@Inject protected IEObjectHoverProvider hoverProvider
@Inject protected IGlobalServiceProvider serviceProvider
@Inject protected EObjectAtOffsetHelper eObjectAtOffsetHelper
protected org.eclipse.emf.ecore.EObject contextObject
protected org.eclipse.jface.text.ITextViewer textViewer
protected org.eclipse.jface.text.IRegion contextRegion
public org.eclipse.jface.text.IInformationControlCreator getInformationPresenterControlCreator()
getInformationPresenterControlCreator
in interface org.eclipse.jface.text.information.IInformationProviderExtension2
public java.lang.Object getInformation2(org.eclipse.jface.text.ITextViewer textViewer, org.eclipse.jface.text.IRegion subject)
getInformation2
in interface org.eclipse.jface.text.information.IInformationProviderExtension
public org.eclipse.jface.text.IRegion getSubject(org.eclipse.jface.text.ITextViewer textViewer, int offset)
getSubject
in interface org.eclipse.jface.text.information.IInformationProvider
protected org.eclipse.jface.text.IRegion computeRegion(org.eclipse.jface.text.ITextViewer textViewer, int offset)
@Deprecated public java.lang.String getInformation(org.eclipse.jface.text.ITextViewer textViewer, org.eclipse.jface.text.IRegion subject)
IInformationProvider.getInformation(ITextViewer, IRegion)
getInformation
in interface org.eclipse.jface.text.information.IInformationProvider