M - public interface OverviewTipProvider<M extends OverviewMark>
Implementors should register the provider with the Overview
| Modifier and Type | Interface and Description |
|---|---|
static class |
OverviewTipProvider.Orientation |
| Modifier and Type | Method and Description |
|---|---|
OverviewTipProvider.Orientation |
getOrientation() |
javax.swing.JComponent |
getTipContent(java.util.Collection<M> marks,
oracle.ide.hover.Hover hover)
Create the content of a tip to be displayed when the mouse hovers over
one or more marks in an Overview.
|
javax.swing.JComponent getTipContent(java.util.Collection<M> marks, oracle.ide.hover.Hover hover)
The content will be added to the tip automatically. The Hover parameter is provided as a convenience for the provider to hold onto should it wish to control the life cycle of the tip later: e.g. force it to hide is a certain situation.
marks - the marks present at the hover locationhover - the hover containing the tipOverviewTipProvider.Orientation getOrientation()