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