public abstract class BaseColorIntentionAction extends PsiElementBaseIntentionAction implements HighPriorityAction
PriorityAction.Priority
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
COLOR_UI_RESOURCE |
protected static java.lang.String |
JAVA_AWT_COLOR |
EMPTY_ARRAY
Constructor and Description |
---|
BaseColorIntentionAction() |
Modifier and Type | Method and Description |
---|---|
protected static java.lang.String |
getFqn(PsiJavaCodeReferenceElement ref) |
boolean |
isAvailable(Project project,
Editor editor,
PsiElement element)
Checks whether this intention is available at a caret offset in file.
|
checkFile, invoke, invoke, isAvailable
canModify, getText, setText, startInWriteAction, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPriority
getFamilyName
getElementToMakeWritable
protected static final java.lang.String JAVA_AWT_COLOR
protected static final java.lang.String COLOR_UI_RESOURCE
public boolean isAvailable(Project project, Editor editor, PsiElement element)
PsiElementBaseIntentionAction
isAvailable
in class PsiElementBaseIntentionAction
project
- the project in which the availability is checked.editor
- the editor in which the intention will be invoked.element
- the element under caret.protected static java.lang.String getFqn(PsiJavaCodeReferenceElement ref)