public class LibraryJavaSourceRootDetector extends RootDetector
Constructor and Description |
---|
LibraryJavaSourceRootDetector() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<VirtualFile> |
detectRoots(VirtualFile rootCandidate,
ProgressIndicator progressIndicator)
Find suitable roots in
rootCandidate or its descendants. |
getPresentableRootTypeName, getRootType, isJarDirectory
public java.util.Collection<VirtualFile> detectRoots(VirtualFile rootCandidate, ProgressIndicator progressIndicator)
RootDetector
rootCandidate
or its descendants.detectRoots
in class RootDetector
rootCandidate
- file selected in the file chooser by userprogressIndicator
- can be used to show information about the progress and to abort searching if process is cancelled