public abstract class InlineActionHandler
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<InlineActionHandler> |
EP_NAME |
Constructor and Description |
---|
InlineActionHandler() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
canInlineElement(PsiElement element) |
boolean |
canInlineElementInEditor(PsiElement element,
Editor editor) |
java.lang.String |
getActionName(PsiElement element) |
abstract void |
inlineElement(Project project,
Editor editor,
PsiElement element) |
abstract boolean |
isEnabledForLanguage(Language l) |
boolean |
isEnabledOnElement(PsiElement element)
Fast check to see if the handler can possibly inline the element.
|
boolean |
isEnabledOnElement(PsiElement element,
Editor editor) |
public static final ExtensionPointName<InlineActionHandler> EP_NAME
public boolean isEnabledOnElement(PsiElement element)
element
- the element under caretpublic boolean isEnabledOnElement(PsiElement element, Editor editor)
public abstract boolean isEnabledForLanguage(Language l)
public abstract boolean canInlineElement(PsiElement element)
public boolean canInlineElementInEditor(PsiElement element, Editor editor)
public abstract void inlineElement(Project project, Editor editor, PsiElement element)
public java.lang.String getActionName(PsiElement element)