public abstract class CollapseBlockHandlerImpl extends java.lang.Object implements CollapseBlockHandler
EP_NAME
Constructor and Description |
---|
CollapseBlockHandlerImpl() |
Modifier and Type | Method and Description |
---|---|
protected abstract PsiElement |
findParentBlock(PsiElement element) |
protected TextRange |
getFoldingRange(PsiElement element) |
protected java.lang.String |
getPlaceholderText() |
void |
invoke(Project project,
Editor editor,
PsiFile file) |
protected abstract boolean |
isEndBlockToken(PsiElement element) |
public void invoke(Project project, Editor editor, PsiFile file)
invoke
in interface CollapseBlockHandler
protected abstract PsiElement findParentBlock(PsiElement element)
protected abstract boolean isEndBlockToken(PsiElement element)
protected java.lang.String getPlaceholderText()
protected TextRange getFoldingRange(PsiElement element)