public abstract class DiffGutterRenderer extends GutterIconRenderer implements NonHideableIconGutterMark
GutterIconRenderer.Alignment
Constructor and Description |
---|
DiffGutterRenderer(javax.swing.Icon icon,
java.lang.String tooltip) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
GutterIconRenderer.Alignment |
getAlignment()
Defines positioning of the icon inside gutter's icon area.
|
AnAction |
getClickAction()
Returns the action executed when the icon is left-clicked.
|
javax.swing.Icon |
getIcon()
Returns the icon drawn in the gutter.
|
java.lang.String |
getTooltipText()
Returns the text of the tooltip displayed when the mouse is over the icon.
|
protected abstract void |
handleMouseClick() |
int |
hashCode() |
boolean |
isDumbAware() |
boolean |
isNavigateAction()
Returns the value indicating whether the hand cursor should be displayed when the mouse
is hovering over the icon.
|
protected void |
performAction(AnActionEvent e) |
getAccessibleName, getAccessibleTooltipText, getDraggableObject, getFeatureId, getMiddleButtonClickAction, getPopupMenuActions, getRightButtonClickAction
public DiffGutterRenderer(javax.swing.Icon icon, java.lang.String tooltip)
public javax.swing.Icon getIcon()
GutterMark
getIcon
in interface GutterMark
public java.lang.String getTooltipText()
GutterIconRenderer
getTooltipText
in interface GutterMark
getTooltipText
in class GutterIconRenderer
public boolean isNavigateAction()
GutterIconRenderer
isNavigateAction
in class GutterIconRenderer
public boolean isDumbAware()
isDumbAware
in interface PossiblyDumbAware
public GutterIconRenderer.Alignment getAlignment()
GutterIconRenderer
GutterMarkPreprocessor
).getAlignment
in class GutterIconRenderer
public AnAction getClickAction()
GutterIconRenderer
getClickAction
in class GutterIconRenderer
public boolean equals(java.lang.Object obj)
equals
in class GutterIconRenderer
public int hashCode()
hashCode
in class GutterIconRenderer
protected void performAction(AnActionEvent e)
protected abstract void handleMouseClick()