public static interface XtextElementLinks.ILinkHandler
Modifier and Type | Method and Description |
---|---|
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.
|
void handleInlineXtextdocLink(org.eclipse.emf.common.util.URI uri)
uri
- the target to showvoid handleXtextdocViewLink(org.eclipse.emf.common.util.URI uri)
uri
- the target to showvoid handleDeclarationLink(org.eclipse.emf.common.util.URI uri)
uri
- the target to showboolean handleExternalLink(java.net.URL url, org.eclipse.swt.widgets.Display display)
url
- the url to showdisplay
- the current displaytrue
if the handler could open the link
false
if the browser should follow the linkvoid handleTextSet()