public interface SelectInContext
Modifier and Type | Field and Description |
---|---|
static DataKey<SelectInContext> |
DATA_KEY |
Modifier and Type | Method and Description |
---|---|
FileEditorProvider |
getFileEditorProvider() |
Project |
getProject() |
java.lang.Object |
getSelectorInFile() |
VirtualFile |
getVirtualFile() |
default boolean |
selectIn(SelectInTarget target,
boolean requestFocus) |
static final DataKey<SelectInContext> DATA_KEY
Project getProject()
VirtualFile getVirtualFile()
java.lang.Object getSelectorInFile()
FileEditorProvider getFileEditorProvider()
default boolean selectIn(SelectInTarget target, boolean requestFocus)
target
- an object that supports a context selectionrequestFocus
- specifies whether a focus request is needed or nottrue
if a selection request is approved and executed by the given target