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, isAvailablecanModify, getText, setText, startInWriteAction, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPrioritygetFamilyNamegetElementToMakeWritableprotected 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)
PsiElementBaseIntentionActionisAvailable in class PsiElementBaseIntentionActionproject - 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)