public static class TextDiffViewerUtil.HighlightPolicySettingAction extends TextDiffViewerUtil.ComboBoxSettingAction<T>
ComboBoxAction.ComboBoxButton
AnAction.TransparentUpdate
Modifier and Type | Field and Description |
---|---|
protected TextDiffSettings |
mySettings |
ACTIONS_KEY, EMPTY_ARRAY
ACTION_KEY, COMPONENT_KEY
Constructor and Description |
---|
HighlightPolicySettingAction(TextDiffSettings settings,
HighlightPolicy... policies) |
Modifier and Type | Method and Description |
---|---|
protected HighlightPolicy |
getStoredValue() |
protected java.lang.String |
getText(HighlightPolicy option) |
protected java.util.List<HighlightPolicy> |
getValueSubstitutes(HighlightPolicy value) |
protected void |
setValue(HighlightPolicy option) |
createPopupActionGroup, getActions
actionPerformed, createComboBoxButton, createCustomComponent, createCustomComponent, createPopupActionGroup, getArrowIcon, getMaxRows, getMinHeight, getMinWidth, getPreselectCondition, isSmallVariant, setPopupTitle, setSmallVariant, shouldShowDisabledActions
addTextOverride, applyTextOverride, beforeActionPerformedUpdate, copyFrom, copyShortcutFrom, displayTextInToolbar, getEventProject, getShortcutSet, getTemplatePresentation, getTemplateText, isDefaultIcon, isEnabledInModalContext, isInInjectedContext, isTransparentUpdate, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, setDefaultIcon, setEnabledInModalContext, setInjectedContext, setShortcutSet, startInTransaction, toString, unregisterCustomShortcutSet, useSmallerFontForTextInToolbar
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isDumbAware
public HighlightPolicySettingAction(TextDiffSettings settings, HighlightPolicy... policies)
protected void setValue(HighlightPolicy option)
setValue
in class TextDiffViewerUtil.ComboBoxSettingAction<HighlightPolicy>
protected HighlightPolicy getStoredValue()
protected java.util.List<HighlightPolicy> getValueSubstitutes(HighlightPolicy value)
protected java.lang.String getText(HighlightPolicy option)
getText
in class TextDiffViewerUtil.ComboBoxSettingAction<HighlightPolicy>