org.eclipse.xtext.ui.editor.hover.html
Interface XtextElementLinks.ILinkHandler

All Known Subinterfaces:
XbaseElementLinks.IXbaseLinkHandler
Enclosing class:
XtextElementLinks

public static interface XtextElementLinks.ILinkHandler

A handler is asked to handle links to targets.

See Also:
XtextElementLinks.createLocationListener(XtextElementLinks.ILinkHandler)

Method Summary
 void handleDeclarationLink(org.eclipse.emf.common.util.URI uri)
          Handle link to given target to open its declaration
 boolean handleExternalLink(java.net.URL url, org.eclipse.swt.widgets.Display display)
          Handle link to given link to open in external browser
 void handleInlineXtextdocLink(org.eclipse.emf.common.util.URI uri)
          Handle normal kind of link to given target.
 void handleTextSet()
          Informs the handler that the text of the browser was set.
 void handleXtextdocViewLink(org.eclipse.emf.common.util.URI uri)
          Handle link to given target to open in Xtextdoc view.
 

Method Detail

handleInlineXtextdocLink

void handleInlineXtextdocLink(org.eclipse.emf.common.util.URI uri)
Handle normal kind of link to given target.

Parameters:
uri - the target to show

handleXtextdocViewLink

void handleXtextdocViewLink(org.eclipse.emf.common.util.URI uri)
Handle link to given target to open in Xtextdoc view.

Parameters:
uri - the target to show

handleDeclarationLink

void handleDeclarationLink(org.eclipse.emf.common.util.URI uri)
Handle link to given target to open its declaration

Parameters:
uri - the target to show

handleExternalLink

boolean handleExternalLink(java.net.URL url,
                           org.eclipse.swt.widgets.Display display)
Handle link to given link to open in external browser

Parameters:
url - the url to show
display - the current display
Returns:
true if the handler could open the link false if the browser should follow the link

handleTextSet

void handleTextSet()
Informs the handler that the text of the browser was set.