public class UnknownLibraryType extends LibraryType<UnknownLibraryKind.UnknownLibraryProperties>
DEFAULT_EXTERNAL_ROOT_TYPES, EP_NAME
Constructor and Description |
---|
UnknownLibraryType(UnknownLibraryKind kind) |
Modifier and Type | Method and Description |
---|---|
NewLibraryConfiguration |
createNewLibrary(javax.swing.JComponent parentComponent,
VirtualFile contextDirectory,
Project project)
Called when a new library of this type is created in Project Structure dialog
|
LibraryPropertiesEditor |
createPropertiesEditor(LibraryEditorComponent<UnknownLibraryKind.UnknownLibraryProperties> editorComponent) |
java.lang.String |
getCreateActionName() |
javax.swing.Icon |
getIcon(UnknownLibraryKind.UnknownLibraryProperties properties) |
createLibraryRootsComponentDescriptor, detect, findByKind, getExternalRootTypes, getKind, isSuitableModule
getDescription, getIcon
public UnknownLibraryType(UnknownLibraryKind kind)
public java.lang.String getCreateActionName()
getCreateActionName
in class LibraryType<UnknownLibraryKind.UnknownLibraryProperties>
null
if the type should not be shown in the 'New Library' popuppublic NewLibraryConfiguration createNewLibrary(javax.swing.JComponent parentComponent, VirtualFile contextDirectory, Project project)
LibraryType
createNewLibrary
in class LibraryType<UnknownLibraryKind.UnknownLibraryProperties>
public LibraryPropertiesEditor createPropertiesEditor(LibraryEditorComponent<UnknownLibraryKind.UnknownLibraryProperties> editorComponent)
createPropertiesEditor
in class LibraryType<UnknownLibraryKind.UnknownLibraryProperties>
public javax.swing.Icon getIcon(UnknownLibraryKind.UnknownLibraryProperties properties)
getIcon
in class LibraryPresentationProvider<UnknownLibraryKind.UnknownLibraryProperties>