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, getRightButtonClickActionpublic DiffGutterRenderer(javax.swing.Icon icon,
java.lang.String tooltip)
public javax.swing.Icon getIcon()
GutterMarkgetIcon in interface GutterMarkpublic java.lang.String getTooltipText()
GutterIconRenderergetTooltipText in interface GutterMarkgetTooltipText in class GutterIconRendererpublic boolean isNavigateAction()
GutterIconRendererisNavigateAction in class GutterIconRendererpublic boolean isDumbAware()
isDumbAware in interface PossiblyDumbAwarepublic GutterIconRenderer.Alignment getAlignment()
GutterIconRendererGutterMarkPreprocessor).getAlignment in class GutterIconRendererpublic AnAction getClickAction()
GutterIconRenderergetClickAction in class GutterIconRendererpublic boolean equals(java.lang.Object obj)
equals in class GutterIconRendererpublic int hashCode()
hashCode in class GutterIconRendererprotected void performAction(AnActionEvent e)
protected abstract void handleMouseClick()