Class CrossRefObjectTextHover
java.lang.Object
org.eclipse.xtext.ui.editor.hover.AbstractHover
org.eclipse.xtext.ui.editor.hover.AbstractEObjectHover
org.eclipse.xtext.ui.editor.hover.DispatchingEObjectTextHover
org.yakindu.base.utils.jface.help.CrossRefObjectTextHover
- All Implemented Interfaces:
ITextHover
,ITextHoverExtension
,ITextHoverExtension2
,org.eclipse.xtext.ui.editor.hover.IEObjectHover
,org.eclipse.xtext.ui.editor.ISourceViewerAware
public class CrossRefObjectTextHover
extends org.eclipse.xtext.ui.editor.hover.DispatchingEObjectTextHover
implements org.eclipse.xtext.ui.editor.hover.IEObjectHover
Initially copied from
DispatchingEObjectTextHover
. This
implementation bypasses the IGlobalServiceProvider
because there is a
check to the resource file extensions for cross references.-
Field Summary
Fields inherited from class org.eclipse.xtext.ui.editor.hover.AbstractHover
sourceViewer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetHoverInfo
(EObject first, ITextViewer textViewer, IRegion hoverRegion) getHoverInfo
(ITextViewer textViewer, IRegion hoverRegion) Deprecated.Methods inherited from class org.eclipse.xtext.ui.editor.hover.AbstractEObjectHover
getHoverInfo2, getHoverRegion, getXtextElementAt, getXtextElementAt
Methods inherited from class org.eclipse.xtext.ui.editor.hover.AbstractHover
getDocument, getLineNumber, setSourceViewer
-
Constructor Details
-
CrossRefObjectTextHover
public CrossRefObjectTextHover()
-
-
Method Details
-
getHoverInfo
- Specified by:
getHoverInfo
in interfaceorg.eclipse.xtext.ui.editor.hover.IEObjectHover
- Overrides:
getHoverInfo
in classorg.eclipse.xtext.ui.editor.hover.DispatchingEObjectTextHover
-
getHoverControlCreator
- Specified by:
getHoverControlCreator
in interfaceITextHoverExtension
- Overrides:
getHoverControlCreator
in classorg.eclipse.xtext.ui.editor.hover.DispatchingEObjectTextHover
-
getHoverInfo
Deprecated.- Specified by:
getHoverInfo
in interfaceITextHover
- Overrides:
getHoverInfo
in classorg.eclipse.xtext.ui.editor.hover.DispatchingEObjectTextHover
-