com.intellij.ide.util
Interface TreeFileChooser


public interface TreeFileChooser

Shows dialog with two tabs: Project View-like tree and Goto symbol-like list with quick search capability Allows to quickly locate and choose PsiFile among all files inside project (optionally filtered based on file type or general file filter(see PsiFileFilter))

See Also:
TreeClassChooserFactory#createFileChooser(String, PsiFile, FileType, PsiFileFilter), TreeFileChooser.PsiFileFilter

Nested Class Summary
static interface TreeFileChooser.PsiFileFilter
           
 
Method Summary
 PsiFile getSelectedFile()
           
 void selectFile(PsiFile file)
           
 void showDialog()
           
 

Method Detail

getSelectedFile

@Nullable
PsiFile getSelectedFile()
Returns:
null when no files were selected or dialog has been canceled

selectFile

void selectFile(@NotNull
                PsiFile file)
Parameters:
file - to be selected in tree view tab of this dialog

showDialog

void showDialog()