public abstract class UnwrapDescriptorBase extends java.lang.Object implements UnwrapDescriptor
Constructor and Description |
---|
UnwrapDescriptorBase() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Pair<PsiElement,Unwrapper>> |
collectUnwrappers(Project project,
Editor editor,
PsiFile file) |
protected abstract Unwrapper[] |
createUnwrappers() |
protected PsiElement |
findTargetElement(Editor editor,
PsiFile file) |
Unwrapper [] |
getUnwrappers() |
boolean |
shouldTryToRestoreCaretPosition() |
boolean |
showOptionsDialog() |
public final Unwrapper [] getUnwrappers()
public java.util.List<Pair<PsiElement,Unwrapper>> collectUnwrappers(Project project, Editor editor, PsiFile file)
collectUnwrappers
in interface UnwrapDescriptor
protected abstract Unwrapper[] createUnwrappers()
protected PsiElement findTargetElement(Editor editor, PsiFile file)
public boolean showOptionsDialog()
showOptionsDialog
in interface UnwrapDescriptor
public boolean shouldTryToRestoreCaretPosition()
shouldTryToRestoreCaretPosition
in interface UnwrapDescriptor