|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.text.hyperlink.DefaultHyperlinkPresenter
org.eclipse.jface.text.hyperlink.MultipleHyperlinkPresenter
public class MultipleHyperlinkPresenter
A hyperlink presenter capable of showing multiple hyperlinks in a hover.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jface.text.hyperlink.DefaultHyperlinkPresenter |
|---|
HYPERLINK_COLOR, HYPERLINK_COLOR_SYSTEM_DEFAULT |
| Constructor Summary | |
|---|---|
MultipleHyperlinkPresenter(IPreferenceStore store)
Creates a new multiple hyperlink presenter which uses DefaultHyperlinkPresenter.HYPERLINK_COLOR to read the color from the given preference store. |
|
MultipleHyperlinkPresenter(RGB color)
Creates a new multiple hyperlink presenter. |
|
| Method Summary | |
|---|---|
boolean |
canHideHyperlinks()
Tells whether the currently shown hyperlinks can be hidden. |
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 IHyperlinkPresenter.showHyperlinks(IHyperlink[]). |
void |
install(ITextViewer viewer)
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. |
| Methods inherited from class org.eclipse.jface.text.hyperlink.DefaultHyperlinkPresenter |
|---|
applyTextPresentation, documentAboutToBeChanged, documentChanged, inputDocumentAboutToBeChanged, inputDocumentChanged, propertyChange, setColor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultipleHyperlinkPresenter(IPreferenceStore store)
DefaultHyperlinkPresenter.HYPERLINK_COLOR to read the color from the given preference store.
store - the preference storepublic MultipleHyperlinkPresenter(RGB color)
color - the hyperlink color, to be disposed by the caller| Method Detail |
|---|
public void install(ITextViewer viewer)
IHyperlinkPresenter
install in interface IHyperlinkPresenterinstall in class DefaultHyperlinkPresenterviewer - the text viewerpublic void uninstall()
IHyperlinkPresenter
uninstall in interface IHyperlinkPresenteruninstall in class DefaultHyperlinkPresenterpublic boolean canShowMultipleHyperlinks()
IHyperlinkPresenter
canShowMultipleHyperlinks in interface IHyperlinkPresentercanShowMultipleHyperlinks in class DefaultHyperlinkPresentertrue if this presenter can handle more than one hyperlinkpublic boolean canHideHyperlinks()
DefaultHyperlinkPresenter
canHideHyperlinks in interface IHyperlinkPresenterExtensioncanHideHyperlinks in class DefaultHyperlinkPresentertrue if the hyperlink manager can hide the current hyperlinkspublic void hideHyperlinks()
IHyperlinkPresenterIHyperlinkPresenter.showHyperlinks(IHyperlink[]).
hideHyperlinks in interface IHyperlinkPresenterhideHyperlinks in class DefaultHyperlinkPresenterpublic void showHyperlinks(IHyperlink[] hyperlinks)
IHyperlinkPresenter
showHyperlinks in interface IHyperlinkPresentershowHyperlinks in class DefaultHyperlinkPresenterhyperlinks - the hyperlinks to show
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.