public class RelatedItemLineMarkerInfo<T extends PsiElement> extends MergeableLineMarkerInfo<T>
LineMarkerInfo.LineMarkerGutterIconRenderer<T extends PsiElement>
endOffset, highlighter, myIcon, separatorColor, separatorPlacement, startOffset, updatePass
Constructor and Description |
---|
RelatedItemLineMarkerInfo(T element,
TextRange range,
javax.swing.Icon icon,
Function<? super T,java.lang.String> tooltipProvider,
GutterIconNavigationHandler<T> navHandler,
GutterIconRenderer.Alignment alignment,
NotNullFactory<? extends java.util.Collection<? extends GotoRelatedItem>> targets) |
RelatedItemLineMarkerInfo(T element,
TextRange range,
javax.swing.Icon icon,
int updatePass,
Function<? super T,java.lang.String> tooltipProvider,
GutterIconNavigationHandler<T> navHandler,
GutterIconRenderer.Alignment alignment,
java.util.Collection<? extends GotoRelatedItem> targets)
|
RelatedItemLineMarkerInfo(T element,
TextRange range,
javax.swing.Icon icon,
int updatePass,
Function<? super T,java.lang.String> tooltipProvider,
GutterIconNavigationHandler<T> navHandler,
GutterIconRenderer.Alignment alignment,
NotNullLazyValue<? extends java.util.Collection<? extends GotoRelatedItem>> targets)
|
Modifier and Type | Method and Description |
---|---|
boolean |
canMergeWith(MergeableLineMarkerInfo<?> info) |
java.util.Collection<? extends GotoRelatedItem> |
createGotoRelatedItems() |
GutterIconRenderer |
createGutterRenderer() |
javax.swing.Icon |
getCommonIcon(java.util.List<? extends MergeableLineMarkerInfo<?>> infos) |
getCommonIconAlignment, getCommonTooltip, getElementPresentation, merge
getEditorFilter, getElement, getIcon, getLineMarkerTooltip, getNavigationHandler, toString
@Deprecated public RelatedItemLineMarkerInfo(T element, TextRange range, javax.swing.Icon icon, int updatePass, Function<? super T,java.lang.String> tooltipProvider, GutterIconNavigationHandler<T> navHandler, GutterIconRenderer.Alignment alignment, NotNullLazyValue<? extends java.util.Collection<? extends GotoRelatedItem>> targets)
@Deprecated public RelatedItemLineMarkerInfo(T element, TextRange range, javax.swing.Icon icon, int updatePass, Function<? super T,java.lang.String> tooltipProvider, GutterIconNavigationHandler<T> navHandler, GutterIconRenderer.Alignment alignment, java.util.Collection<? extends GotoRelatedItem> targets)
public RelatedItemLineMarkerInfo(T element, TextRange range, javax.swing.Icon icon, Function<? super T,java.lang.String> tooltipProvider, GutterIconNavigationHandler<T> navHandler, GutterIconRenderer.Alignment alignment, NotNullFactory<? extends java.util.Collection<? extends GotoRelatedItem>> targets)
public java.util.Collection<? extends GotoRelatedItem> createGotoRelatedItems()
public GutterIconRenderer createGutterRenderer()
createGutterRenderer
in class LineMarkerInfo<T extends PsiElement>
public boolean canMergeWith(MergeableLineMarkerInfo<?> info)
canMergeWith
in class MergeableLineMarkerInfo<T extends PsiElement>
public javax.swing.Icon getCommonIcon(java.util.List<? extends MergeableLineMarkerInfo<?>> infos)
getCommonIcon
in class MergeableLineMarkerInfo<T extends PsiElement>