public class IntentionListStep extends java.lang.Object implements ListPopupStep<IntentionActionWithTextCaching>
| Constructor and Description |
|---|
IntentionListStep(IntentionHintComponent intentionHintComponent,
Editor editor,
PsiFile file,
Project project,
CachedIntentions intentions) |
| Modifier and Type | Method and Description |
|---|---|
void |
canceled() |
java.util.Map<IntentionAction,java.util.List<IntentionAction>> |
getActionsWithSubActions() |
int |
getDefaultOptionIndex()
Returns the index of the item to be initially selected in the list.
|
java.lang.Runnable |
getFinalRunnable() |
javax.swing.Icon |
getIconFor(IntentionActionWithTextCaching value)
Returns the icon to display for the specified list item.
|
java.lang.String |
getIndexedString(IntentionActionWithTextCaching value) |
<any> |
getMnemonicNavigationFilter() |
ListSeparator |
getSeparatorAbove(IntentionActionWithTextCaching value)
Returns the separator to display above the specified list item.
|
<any> |
getSpeedSearchFilter() |
java.lang.String |
getTextFor(IntentionActionWithTextCaching action)
Returns the text to display for the specified list item.
|
java.lang.String |
getTitle() |
java.util.List<IntentionActionWithTextCaching> |
getValues()
Returns the values to be displayed in the list popup.
|
boolean |
hasSubstep(IntentionActionWithTextCaching action) |
boolean |
isAutoSelectionEnabled() |
boolean |
isMnemonicsNavigationEnabled() |
boolean |
isSelectable(IntentionActionWithTextCaching action)
Checks if the specified value in the list can be selected.
|
boolean |
isSpeedSearchEnabled() |
<any> |
onChosen(IntentionActionWithTextCaching action,
boolean finalChoice) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSelectedIconForpublic IntentionListStep(IntentionHintComponent intentionHintComponent, Editor editor, PsiFile file, Project project, CachedIntentions intentions)
public java.lang.String getTitle()
public boolean isSelectable(IntentionActionWithTextCaching action)
ListPopupStepisSelectable in interface ListPopupStep<IntentionActionWithTextCaching>action - the value to check.public <any> onChosen(IntentionActionWithTextCaching action, boolean finalChoice)
public java.lang.Runnable getFinalRunnable()
public java.util.Map<IntentionAction,java.util.List<IntentionAction>> getActionsWithSubActions()
public boolean hasSubstep(IntentionActionWithTextCaching action)
public java.util.List<IntentionActionWithTextCaching> getValues()
ListPopupStepgetValues in interface ListPopupStep<IntentionActionWithTextCaching>public java.lang.String getTextFor(IntentionActionWithTextCaching action)
ListPopupStepgetTextFor in interface ListPopupStep<IntentionActionWithTextCaching>action - the value for which the text is requested.public javax.swing.Icon getIconFor(IntentionActionWithTextCaching value)
ListPopupStepgetIconFor in interface ListPopupStep<IntentionActionWithTextCaching>value - the value for which the icon is requested.public void canceled()
public int getDefaultOptionIndex()
ListPopupStepgetDefaultOptionIndex in interface ListPopupStep<IntentionActionWithTextCaching>public ListSeparator getSeparatorAbove(IntentionActionWithTextCaching value)
ListPopupStepgetSeparatorAbove in interface ListPopupStep<IntentionActionWithTextCaching>value - the value for which the separator is requested.public boolean isMnemonicsNavigationEnabled()
public <any> getMnemonicNavigationFilter()
public boolean isSpeedSearchEnabled()
public boolean isAutoSelectionEnabled()
public <any> getSpeedSearchFilter()
public java.lang.String getIndexedString(IntentionActionWithTextCaching value)