public abstract class AbstractEObjectHover extends AbstractHover implements IEObjectHover
sourceViewer
Constructor and Description |
---|
AbstractEObjectHover() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Object |
getHoverInfo(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.jface.text.ITextViewer textViewer,
org.eclipse.jface.text.IRegion hoverRegion) |
java.lang.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 Pair<org.eclipse.emf.ecore.EObject,org.eclipse.jface.text.IRegion> |
getXtextElementAt(XtextResource resource,
int offset)
Call this method only from within an IUnitOfWork
|
protected Pair<org.eclipse.emf.ecore.EObject,org.eclipse.jface.text.IRegion> |
getXtextElementAt(XtextResource resource,
org.eclipse.jface.text.IRegion hoverRegion)
Call this method only from within an IUnitOfWork
|
getDocument, getHoverControlCreator, getHoverInfo, getLineNumber, setSourceViewer
public org.eclipse.jface.text.IRegion getHoverRegion(org.eclipse.jface.text.ITextViewer textViewer, int offset)
getHoverRegion
in interface org.eclipse.jface.text.ITextHover
getHoverRegion
in class AbstractHover
public java.lang.Object getHoverInfo2(org.eclipse.jface.text.ITextViewer textViewer, org.eclipse.jface.text.IRegion hoverRegion)
getHoverInfo2
in interface org.eclipse.jface.text.ITextHoverExtension2
public abstract java.lang.Object getHoverInfo(org.eclipse.emf.ecore.EObject eObject, org.eclipse.jface.text.ITextViewer textViewer, org.eclipse.jface.text.IRegion hoverRegion)
getHoverInfo
in interface IEObjectHover
protected Pair<org.eclipse.emf.ecore.EObject,org.eclipse.jface.text.IRegion> getXtextElementAt(XtextResource resource, org.eclipse.jface.text.IRegion hoverRegion)
protected Pair<org.eclipse.emf.ecore.EObject,org.eclipse.jface.text.IRegion> getXtextElementAt(XtextResource resource, int offset)