public interface LibrariesContainer
Modifier and Type | Interface and Description |
---|---|
static class |
LibrariesContainer.LibraryLevel |
Modifier and Type | Method and Description |
---|---|
boolean |
canCreateLibrary(LibrariesContainer.LibraryLevel level) |
Library |
createLibrary(NewLibraryEditor libraryEditor,
LibrariesContainer.LibraryLevel level) |
Library |
createLibrary(java.lang.String name,
LibrariesContainer.LibraryLevel level,
java.util.Collection<? extends OrderRoot> roots) |
Library |
createLibrary(java.lang.String name,
LibrariesContainer.LibraryLevel level,
VirtualFile [] classRoots,
VirtualFile [] sourceRoots) |
Library [] |
getAllLibraries() |
java.util.List<LibrariesContainer.LibraryLevel> |
getAvailableLevels() |
Library [] |
getLibraries(LibrariesContainer.LibraryLevel libraryLevel) |
ExistingLibraryEditor |
getLibraryEditor(Library library) |
VirtualFile [] |
getLibraryFiles(Library library,
OrderRootType rootType) |
Project |
getProject() |
java.lang.String |
suggestUniqueLibraryName(java.lang.String baseName) |
Project getProject()
Library [] getLibraries(LibrariesContainer.LibraryLevel libraryLevel)
Library [] getAllLibraries()
VirtualFile [] getLibraryFiles(Library library, OrderRootType rootType)
boolean canCreateLibrary(LibrariesContainer.LibraryLevel level)
java.util.List<LibrariesContainer.LibraryLevel> getAvailableLevels()
Library createLibrary(java.lang.String name, LibrariesContainer.LibraryLevel level, VirtualFile [] classRoots, VirtualFile [] sourceRoots)
Library createLibrary(java.lang.String name, LibrariesContainer.LibraryLevel level, java.util.Collection<? extends OrderRoot> roots)
Library createLibrary(NewLibraryEditor libraryEditor, LibrariesContainer.LibraryLevel level)
java.lang.String suggestUniqueLibraryName(java.lang.String baseName)
ExistingLibraryEditor getLibraryEditor(Library library)