public abstract class HyperlinkInfoFactory
extends java.lang.Object
Constructor and Description |
---|
HyperlinkInfoFactory() |
Modifier and Type | Method and Description |
---|---|
abstract HyperlinkInfo |
createMultipleFilesHyperlinkInfo(java.util.List<? extends VirtualFile> files,
int line,
Project project) |
abstract HyperlinkInfo |
createMultipleFilesHyperlinkInfo(java.util.List<? extends VirtualFile> files,
int line,
Project project,
java.util.function.ToIntFunction<? super PsiFile> columnFinder)
Creates a hyperlink which points to several files with ability to calculate a position inside line
|
static HyperlinkInfoFactory |
getInstance() |
public static HyperlinkInfoFactory getInstance()
public abstract HyperlinkInfo createMultipleFilesHyperlinkInfo(java.util.List<? extends VirtualFile> files, int line, Project project)
public abstract HyperlinkInfo createMultipleFilesHyperlinkInfo(java.util.List<? extends VirtualFile> files, int line, Project project, java.util.function.ToIntFunction<? super PsiFile> columnFinder)
files
- list of files to navigate to (will be suggested to user)line
- line number to navigate toproject
- a projectcolumnFinder
- a function which accepts a selected file and returns a column within the specified line to navigate to