public class LibrarySourceRootDetectorUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<RootDetector> |
JAVA_SOURCE_ROOT_DETECTOR |
Modifier | Constructor and Description |
---|---|
protected |
LibrarySourceRootDetectorUtil() |
Modifier and Type | Method and Description |
---|---|
static VirtualFile[] |
scanAndSelectDetectedJavaSourceRoots(java.awt.Component parentComponent,
VirtualFile[] rootCandidates)
This method takes a candidates for the project root, then scans the candidates and
if multiple candidates or non root source directories are found within some
directories, it shows a dialog that allows selecting or deselecting them.
|
public static final ExtensionPointName<RootDetector> JAVA_SOURCE_ROOT_DETECTOR
public static VirtualFile[] scanAndSelectDetectedJavaSourceRoots(java.awt.Component parentComponent, VirtualFile[] rootCandidates)
rootCandidates
- a candidates for roots