|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface XtextElementLinks.ILinkHandler
A handler is asked to handle links to targets.
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 |
---|
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 display
true
if the handler could open the link
false
if the browser should follow the linkvoid handleTextSet()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |