public class NewLibraryEditor extends LibraryEditorBase
Constructor and Description |
---|
NewLibraryEditor() |
NewLibraryEditor(LibraryType type,
LibraryProperties properties) |
Modifier and Type | Method and Description |
---|---|
void |
addExcludedRoot(java.lang.String url) |
void |
addJarDirectory(java.lang.String url,
boolean recursive,
OrderRootType rootType) |
void |
addJarDirectory(VirtualFile file,
boolean recursive,
OrderRootType rootType) |
void |
addRoot(java.lang.String url,
OrderRootType rootType) |
void |
addRoot(VirtualFile file,
OrderRootType rootType) |
void |
applyTo(LibraryEditorBase editor) |
void |
applyTo(LibraryEx.ModifiableModelEx model) |
java.lang.String [] |
getExcludedRootUrls() |
VirtualFile [] |
getFiles(OrderRootType rootType) |
java.lang.String |
getName() |
java.util.Collection<OrderRootType> |
getOrderRootTypes() |
LibraryProperties |
getProperties() |
LibraryType<?> |
getType() |
java.lang.String [] |
getUrls(OrderRootType rootType) |
boolean |
hasChanges() |
boolean |
isJarDirectory(java.lang.String url,
OrderRootType rootType) |
boolean |
isValid(java.lang.String url,
OrderRootType orderRootType) |
void |
removeExcludedRoot(java.lang.String url) |
void |
removeRoot(java.lang.String url,
OrderRootType rootType) |
void |
setKeepInvalidUrls(boolean keepInvalidUrls) |
void |
setName(java.lang.String name) |
void |
setProperties(LibraryProperties properties) |
void |
setType(LibraryType<?> type) |
addRoots, getExternalSource, removeAllRoots
public NewLibraryEditor()
public NewLibraryEditor(LibraryType type, LibraryProperties properties)
public void setKeepInvalidUrls(boolean keepInvalidUrls)
public java.util.Collection<OrderRootType> getOrderRootTypes()
getOrderRootTypes
in class LibraryEditorBase
public LibraryType<?> getType()
public void setType(LibraryType<?> type)
setType
in class LibraryEditorBase
public LibraryProperties getProperties()
public void setProperties(LibraryProperties properties)
setProperties
in class LibraryEditorBase
public java.lang.String getName()
public java.lang.String [] getUrls(OrderRootType rootType)
public VirtualFile [] getFiles(OrderRootType rootType)
public java.lang.String [] getExcludedRootUrls()
public void setName(java.lang.String name)
public void addRoot(VirtualFile file, OrderRootType rootType)
public void addRoot(java.lang.String url, OrderRootType rootType)
public void addJarDirectory(VirtualFile file, boolean recursive, OrderRootType rootType)
public void addExcludedRoot(java.lang.String url)
public void removeExcludedRoot(java.lang.String url)
public void addJarDirectory(java.lang.String url, boolean recursive, OrderRootType rootType)
public void removeRoot(java.lang.String url, OrderRootType rootType)
public boolean hasChanges()
public boolean isJarDirectory(java.lang.String url, OrderRootType rootType)
public boolean isValid(java.lang.String url, OrderRootType orderRootType)
public void applyTo(LibraryEx.ModifiableModelEx model)
public void applyTo(LibraryEditorBase editor)