public interface IHyperlinkPresenter
Clients may implement this interface. A default implementation is provided
through DefaultHyperlinkPresenter.
| Modifier and Type | Method and Description |
|---|---|
boolean |
canShowMultipleHyperlinks()
Tells whether this presenter is able to handle
more than one hyperlink.
|
void |
hideHyperlinks()
Tells this hyperlink presenter to hide the hyperlinks
requested to be shown by
showHyperlinks(IHyperlink[]). |
void |
install(ITextViewer textViewer)
Installs this hyperlink presenter on the given text viewer.
|
void |
showHyperlinks(IHyperlink[] hyperlinks)
Tells this hyperlink presenter to show the given
hyperlinks on the installed text viewer.
|
void |
uninstall()
Uninstalls this hyperlink presenter.
|
boolean canShowMultipleHyperlinks()
true if this presenter can handle more than one hyperlinkvoid showHyperlinks(IHyperlink[] hyperlinks) throws IllegalArgumentException
hyperlinks - the hyperlinks to showIllegalArgumentException - if
hyperlinks is emptycanShowMultipleHyperlinks() returns false and hyperlinks contains more than one elementvoid hideHyperlinks()
showHyperlinks(IHyperlink[]).void install(ITextViewer textViewer)
textViewer - the text viewervoid uninstall()
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.