public abstract class SelectInTargetPsiWrapper extends java.lang.Object implements SelectInTarget
| Modifier and Type | Field and Description |
|---|---|
protected Project |
myProject |
EP_NAME| Modifier | Constructor and Description |
|---|---|
protected |
SelectInTargetPsiWrapper(Project project) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
canSelect(PsiFileSystemItem file) |
boolean |
canSelect(SelectInContext context)
This should be called in an read action
|
protected boolean |
canSelectInner(SelectInContext context) |
protected boolean |
canWorkWithCustomObjects()
Deprecated.
unused, implement canSelectInner(context) instead
|
protected static PsiElement |
findElementToSelect(PsiElement element,
PsiElement candidate) |
protected PsiFileSystemItem |
getContextPsiFile(SelectInContext context) |
protected abstract void |
select(java.lang.Object selector,
VirtualFile virtualFile,
boolean requestFocus) |
protected abstract void |
select(PsiElement element,
boolean requestFocus) |
void |
selectIn(SelectInContext context,
boolean requestFocus) |
abstract java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMinorViewId, getToolWindowId, getWeightprotected final Project myProject
protected SelectInTargetPsiWrapper(Project project)
public abstract java.lang.String toString()
toString in interface SelectInTargettoString in class java.lang.Objectprotected abstract boolean canSelect(PsiFileSystemItem file)
public final boolean canSelect(SelectInContext context)
SelectInTargetcanSelect in interface SelectInTargetprotected boolean canSelectInner(SelectInContext context)
protected PsiFileSystemItem getContextPsiFile(SelectInContext context)
public final void selectIn(SelectInContext context, boolean requestFocus)
selectIn in interface SelectInTargetprotected abstract void select(java.lang.Object selector,
VirtualFile virtualFile,
boolean requestFocus)
@Deprecated protected boolean canWorkWithCustomObjects()
protected abstract void select(PsiElement element, boolean requestFocus)
protected static PsiElement findElementToSelect(PsiElement element, PsiElement candidate)