public class StaticallyImportedMemberAwareHyperlinkHelper extends TypeAwareHyperlinkHelper
HyperlinkHelper.HyperlinkAcceptor
Constructor and Description |
---|
StaticallyImportedMemberAwareHyperlinkHelper() |
Modifier and Type | Method and Description |
---|---|
void |
createHyperlinksByOffset(XtextResource resource,
int offset,
IHyperlinkAcceptor acceptor) |
protected void |
createHyperlinksTo(XtextResource resource,
INode node,
org.eclipse.emf.ecore.EObject target,
IHyperlinkAcceptor acceptor)
Produces hyperlinks for the given
node which is associated with a cross reference
that points to the referenced target . |
ITextRegion |
getTextRegion(XImportDeclaration it,
int offset) |
createHyperlinksTo, getJdtHyperlinkFactory, setJdtHyperlinkFactory
createHyperlinksByOffset, getEObjectAtOffsetHelper, getHyperlinkProvider, getLabelProvider, getParentNodeWithCrossReference
public StaticallyImportedMemberAwareHyperlinkHelper()
public void createHyperlinksByOffset(XtextResource resource, int offset, IHyperlinkAcceptor acceptor)
createHyperlinksByOffset
in class HyperlinkHelper
public ITextRegion getTextRegion(XImportDeclaration it, int offset)
protected void createHyperlinksTo(XtextResource resource, INode node, org.eclipse.emf.ecore.EObject target, IHyperlinkAcceptor acceptor)
HyperlinkHelper
node
which is associated with a cross reference
that points to the referenced target
.createHyperlinksTo
in class HyperlinkHelper
HyperlinkHelper.createHyperlinksTo(XtextResource, Region, EObject, IHyperlinkAcceptor)