public class DefaultLibraryRootsComponentDescriptor extends LibraryRootsComponentDescriptor
LibraryRootsComponentDescriptor.RootRemovalHandler
Modifier and Type | Field and Description |
---|---|
static Condition<VirtualFile> |
LIBRARY_ROOT_CONDITION |
Constructor and Description |
---|
DefaultLibraryRootsComponentDescriptor() |
Modifier and Type | Method and Description |
---|---|
static DescendentBasedRootFilter |
createAnnotationsRootDetector() |
java.util.List<? extends AttachRootButtonDescriptor> |
createAttachButtons() |
FileChooserDescriptor |
createAttachFilesChooserDescriptor(java.lang.String libraryName) |
static OrderRootTypePresentation |
getDefaultPresentation(OrderRootType type) |
java.util.List<? extends RootDetector> |
getRootDetectors()
Provides separate detectors for root types supported by the library type.
|
OrderRootTypePresentation |
getRootTypePresentation(OrderRootType type)
Defines presentation for root type nodes in the library roots editor
|
createRootRemovalHandler, getAttachFilesActionName, getRootsDetector, getRootTypes
public static final Condition<VirtualFile> LIBRARY_ROOT_CONDITION
public DefaultLibraryRootsComponentDescriptor()
public OrderRootTypePresentation getRootTypePresentation(OrderRootType type)
LibraryRootsComponentDescriptor
getRootTypePresentation
in class LibraryRootsComponentDescriptor
null
if default presentation should be usedpublic java.util.List<? extends AttachRootButtonDescriptor> createAttachButtons()
createAttachButtons
in class LibraryRootsComponentDescriptor
public java.util.List<? extends RootDetector> getRootDetectors()
LibraryRootsComponentDescriptor
getRootDetectors
in class LibraryRootsComponentDescriptor
RootDetector
's implementationspublic static DescendentBasedRootFilter createAnnotationsRootDetector()
public FileChooserDescriptor createAttachFilesChooserDescriptor(java.lang.String libraryName)
createAttachFilesChooserDescriptor
in class LibraryRootsComponentDescriptor
public static OrderRootTypePresentation getDefaultPresentation(OrderRootType type)