public final class EmptyIntentionAction extends AbstractEmptyIntentionAction implements LowPriorityAction, Iconable
PriorityAction.PriorityIconable.IconFlags, Iconable.LastComputedIconICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITYEMPTY_ARRAY| Constructor and Description |
|---|
EmptyIntentionAction(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getFamilyName()
Returns the name of the family of intentions.
|
javax.swing.Icon |
getIcon(int flags) |
java.lang.String |
getText()
Returns text to be shown in the list of available actions, if this action
is available.
|
int |
hashCode() |
boolean |
isAvailable(Project project,
Editor editor,
PsiFile file)
Checks whether this intention is available at a caret offset in the file.
|
invoke, startInWriteActionclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetPrioritygetElementToMakeWritablepublic java.lang.String getText()
IntentionActiongetText in interface IntentionActionIntentionAction.isAvailable(Project, Editor, PsiFile)public java.lang.String getFamilyName()
IntentionActiongetFamilyName in interface IntentionActionIntentionManager.registerIntentionAndMetaData(IntentionAction, String...)public boolean isAvailable(Project project, Editor editor, PsiFile file)
IntentionActionisAvailable in interface IntentionActionproject - the project in which the availability is checked.editor - the editor in which the intention will be invoked.file - the file open in the editor.true if the intention is available, false otherwise.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object