public class OpenProjectFileChooserDescriptor extends FileChooserDescriptor
Constructor and Description |
---|
OpenProjectFileChooserDescriptor(boolean chooseFiles) |
OpenProjectFileChooserDescriptor(boolean chooseFiles,
boolean chooseJars) |
Modifier and Type | Method and Description |
---|---|
javax.swing.Icon |
getIcon(VirtualFile file) |
boolean |
isFileSelectable(VirtualFile file)
Defines whether a file can be chosen.
|
boolean |
isFileVisible(VirtualFile file,
boolean showHiddenFiles)
Defines whether a file is visible in the tree.
|
static boolean |
isProjectFile(VirtualFile file) |
clone, dressIcon, getComment, getDescription, getFileToSelect, getName, getRoots, getTitle, getUserData, getUserData, isChooseFiles, isChooseFolders, isChooseJarContents, isChooseJars, isChooseJarsAsFiles, isChooseMultiple, isForcedToUseIdeaFileChooser, isHideIgnored, isShowFileSystemRoots, isShowHiddenFiles, isTreeRootVisible, putUserData, setDescription, setForcedToUseIdeaFileChooser, setHideIgnored, setRoots, setRoots, setShowFileSystemRoots, setTitle, toString, validateSelectedFiles, withDescription, withFileFilter, withHideIgnored, withRoots, withRoots, withShowFileSystemRoots, withShowHiddenFiles, withTitle, withTreeRootVisible
public OpenProjectFileChooserDescriptor(boolean chooseFiles)
public OpenProjectFileChooserDescriptor(boolean chooseFiles, boolean chooseJars)
public boolean isFileVisible(VirtualFile file, boolean showHiddenFiles)
FileChooserDescriptor
isFileVisible
in class FileChooserDescriptor
public boolean isFileSelectable(VirtualFile file)
FileChooserDescriptor
isFileSelectable
in class FileChooserDescriptor
public javax.swing.Icon getIcon(VirtualFile file)
getIcon
in class FileChooserDescriptor
public static boolean isProjectFile(VirtualFile file)