public abstract class IndentStatusBarUIContributor extends java.lang.Object implements CodeStyleStatusBarUIContributor
Constructor and Description |
---|
IndentStatusBarUIContributor(CommonCodeStyleSettings.IndentOptions options) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
createTooltip(java.lang.String indentInfo,
java.lang.String hint) |
abstract java.lang.String |
getHint()
Returns a short, usually one-word, string to indicate the source of the given indent options.
|
static java.lang.String |
getIndentInfo(CommonCodeStyleSettings.IndentOptions indentOptions) |
CommonCodeStyleSettings.IndentOptions |
getIndentOptions() |
java.lang.String |
getStatusText(PsiFile psiFile) |
java.lang.String |
getTooltip() |
boolean |
isShowFileIndentOptionsEnabled() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
areActionsAvailable, createDisableAction, createShowAllAction, getActionGroupTitle, getActions, getAdvertisementText, getIcon
public IndentStatusBarUIContributor(CommonCodeStyleSettings.IndentOptions options)
public CommonCodeStyleSettings.IndentOptions getIndentOptions()
public abstract java.lang.String getHint()
null
if not available.public java.lang.String getTooltip()
getTooltip
in interface CodeStyleStatusBarUIContributor
public static java.lang.String getIndentInfo(CommonCodeStyleSettings.IndentOptions indentOptions)
public boolean isShowFileIndentOptionsEnabled()
public static java.lang.String createTooltip(java.lang.String indentInfo, java.lang.String hint)
public java.lang.String getStatusText(PsiFile psiFile)
getStatusText
in interface CodeStyleStatusBarUIContributor
psiFile
- The currently open PsiFile
.PsiFile