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 fromDispatchingEObjectTextHover
. This implementation bypasses theIGlobalServiceProvider
because there is a check to the resource file extensions for cross references.
-
-
Constructor Summary
Constructors Constructor Description CrossRefObjectTextHover()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IInformationControlCreator
getHoverControlCreator()
Object
getHoverInfo(EObject first, ITextViewer textViewer, IRegion hoverRegion)
String
getHoverInfo(ITextViewer textViewer, IRegion hoverRegion)
Deprecated.-
Methods inherited from class org.eclipse.xtext.ui.editor.hover.AbstractEObjectHover
getHoverInfo2, getHoverRegion, getXtextElementAt, getXtextElementAt
-
-
-
-
Method Detail
-
getHoverInfo
public Object getHoverInfo(EObject first, ITextViewer textViewer, 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 IInformationControlCreator getHoverControlCreator()
- Specified by:
getHoverControlCreator
in interfaceITextHoverExtension
- Overrides:
getHoverControlCreator
in classorg.eclipse.xtext.ui.editor.hover.DispatchingEObjectTextHover
-
getHoverInfo
@Deprecated public String getHoverInfo(ITextViewer textViewer, IRegion hoverRegion)
Deprecated.- Specified by:
getHoverInfo
in interfaceITextHover
- Overrides:
getHoverInfo
in classorg.eclipse.xtext.ui.editor.hover.DispatchingEObjectTextHover
-
-